Need Fresh Data?
Stop Straining Your OLTP System

Challenges with querying fresh data on your OLTP system

Downtime Risk

Downtime Risk

Missed Latency SLAs

Missed Latency SLAs

Excessive Costs

Excessive Costs

Why Materialize?

A pressure relief valve for your overtaxed OLTP database

How it works

Loan eligibility rule calculation time decreased by 98.15%, dropping from 27 seconds to half a second.

Wolf Randall
Wolf Randall Director, Data Products, Vontive

Access via standard SQL

Incrementally Maintained Views

Write complex SQL transformations as materialized views that efficiently update themselves as inputs change.

Learn More
incremental.sql
CREATE MATERIALIZED VIEW my_view AS
	SELECT userid, COUNT(api.id), COUNT(pageviews.id)
	FROM users
	JOIN pageviews on users.id = pageviews.userid
	JOIN api ON users.id = api.userId
	GROUP BY userid;
userID api_calls pageviews
VPLaKV 400 20
MN37Mt 60 9
1fT4KY 72 42
sT4QY 10 342

Built for JOINs

Multi-way, complex join support, even across databases - all in standard SQL.

Learn More
joins.sql
SELECT DISTINCT ON (auctions.id) 
   bids.amount, 
   auctions.item,
   auctions.seller
 FROM auctions, bids
 WHERE auctions.id = bids.auction_id
 ORDER BY auctions.id,
   bids.amount DESC,
   bids.buyer;
			
amount item seller

Sliding Windows

Write queries that filter to a window of time anchored to the present, Materialize will update results as time advances.

Learn More
sliding.sql
CREATE MATERIALIZED VIEW my_window AS
	SELECT date_trunc('minute', received_at),
	COUNT(*) as order_ct, SUM(amount) as revenue
	FROM orders
	WHERE mz_now() < received_at + interval '5 minutes'
	GROUP BY 1;
minute order_ct revenue

SQL Subscriptions

Write alerts as SQL queries with filters and subscribe to new rows as they appear.

Learn More
alerting.sql
SELECT userID, email, MAX(orders.id) as last_order
  FROM users
  JOIN orders ON orders.userID = users.id
  GROUP BY userId, email
  -- Use a filter to surface users with a high % of fraud
  HAVING SUM(is_fraud) / COUNT(orders.id)::FLOAT > 0.5;
userID email last_order
REOtIb 13/12/2022
Y5KBE8 9/12/2022
Wj7JQ0 13/12/2022
tPCQ0 13/11/2022
Checkmark
Checkmark
Checkmark
Checkmark

Deliver fresh, fast changing data with the
ease of a data warehouse

“My warehouse is too slow - but real-time is too expensive”

“Our analytics are too join-heavy to move to real-time”

“We don't want to take on the operational burden of Kafka”

“This is high-stakes data, we can't show incorrect results.”

“We’d like to keep our existing visualization tools”

“We already move Kafka data into our data warehouse”

Try Materialize Free