For agents: an index of every documentation page is at
llms.txt
, and this page is available as
Markdown
.
Docs
Pricing
Blog
About
Sign In
Get Started
Docs
Pricing
Blog
About
Sign In
Get Started
Getting started
Learn about Materialize
Concepts
Reaction time, freshness, and query latency
Namespaces
Sources
Snapshotting
Views
Indexes
Clusters
Hydration
Sinks
Arrangements
Reference architectures
Live context graph
Ingest data
PostgreSQL
AlloyDB
Amazon Aurora
Amazon RDS
Azure DB
Google Cloud SQL
Neon
Self-hosted PostgreSQL
Ingest from a dedicated replica
Ingest from partitioned tables
Handle upstream schema changes
Troubleshoot
Slot overcompacted
Replication slot is active
Connection closed
Stuck snapshot
FAQ: PostgreSQL sources
Upgrade the major version
MySQL
Amazon Aurora
Amazon RDS
Azure DB
Google Cloud SQL
Self-hosted
Handle upstream schema changes
Snapshot parallelism
Troubleshoot
Received out of order GTIDs
SQL Server
Azure SQL Database
Self-hosted SQL Server
Handle upstream schema changes
Kafka
Amazon MSK
Confluent Cloud
Self-hosted Kafka
WarpStream
Guide: Handle upstream schema changes with zero downtime
MongoDB
CockroachDB
Use Kafka and changefeeds
Redpanda
Self-hosted Redpanda
Redpanda Cloud
Webhooks
Quickstart
Change included headers
Amazon EventBridge
HubSpot
RudderStack
Segment
SnowcatCloud
Stripe
Network configuration
Static IP addresses (Cloud-only)
AWS PrivateLink connections (Cloud-only)
SSH tunnel connections
Patterns
Absorb upstream schema changes
Understand the lifecycle of a source
Performance and scaling
Monitor data ingestion
Troubleshoot ingestion
Build data products
Idiomatic Materialize SQL
ANY()
equi-join condition
NOT IN
subquery
First value in group
Lag over
Last value in group
Lead over
mz_now() expressions
Top-K in group
Appendix
Idiomatic Materialize SQL chart
Window function to idiomatic Materialize
Example data: items and orders
Update materialized views
Replace materialized views
Dictionary compression
Patterns
Use an ontology table
Partitioning and filter pushdown
Percentile calculation
Rules execution engine
Temporal filters (time windows)
User-defined functions
Write functions with jq
Optimize performance
Freshness
Fine tune for sub-second freshness
Monitor freshness
Troubleshoot freshness
Troubleshoot dataflows
FAQ: indexes
Serve results
SELECT
and
SUBSCRIBE
Understand the query lifecycle
Execution time notice
Durable subscriptions
Isolation levels
Serve during source stalls
Use foreign data wrapper (FDW)
SQL clients
Client libraries
Go
Java
Node.js
PHP
Python
Ruby
Rust
Connection pooling
ADBC (Arrow Database Connectivity)
HTTP API
WebSocket API
Use BI/data collaboration tools
Deepnote
Hex
Metabase
Power BI
Tableau
Looker
Excel
Troubleshoot query performance
Slow queries
Unresponsive queries
Expensive queries
Export data