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
    • Kafka and Redpanda
    • Apache Iceberg
      • AWS S3 Tables
      • GCP BigLake
      • Databricks Unity Catalog
      • Snowflake on AWS S3 Tables
      • S3-compatible storage and REST catalogs
      • Troubleshooting
    • Amazon S3
    • S3-compatible object storage
    • Elasticsearch
    • OpenSearch
    • turbopuffer
    • Census
    • Snowflake
    • Patterns
      • Build SCD Type 2 history
      • Transactional downstream updates using Kafka
    • Understand the lifecycle of a sink
    • Troubleshoot sinks
  • Developer tools
    • Agent Skills
    • MCP servers
      • MCP server for agents
        • Available tools
        • Agent endpoint configuration
      • MCP server for developers and operators
        • Available tools
        • Endpoint configuration
      • Troubleshoot MCP server
    • mz-deploy
      • Getting started
      • Project structure
      • Infrastructure
      • Local development
      • Editor setup
      • AI agent setup
      • Deployments
      • Stable APIs
      • Profiles
    • dbt
      • Getting started
      • Development workflows
      • Blue-green deployment
      • Slim deployments
    • Terraform
      • Getting started
      • Manage Materialize resources
      • Manage cloud resources
      • Manage privileges
      • Appendix: External secret stores
    • Develop locally with the Materialize Emulator
    • mz-debug debug tool
      • mz-debug Self-Managed
      • mz-debug Emulator
    • Console
      • Create new
      • SQL Shell
      • Database object explorer
      • Clusters
      • Integrations
      • Monitor
      • Admin (Cloud-only)
      • Connect (Cloud-only)
      • User profile
  • Clusters
    • Operational guidelines
      • Appendix: Alternative cluster architectures
    • Autoscaling
    • Optimize cluster size
    • Optimize hydration requirements
    • Query policies
    • System clusters
    • Troubleshoot clusters
      • Memory spikes
      • CPU spikes
      • Hydration failures
  • Observability
    • Cloud
      • Datadog
      • Grafana
      • Set alerts
    • Self-Managed
      • How logs and metrics are stored and delivered
      • Grafana
      • Observability tools
      • Datadog
      • Honeycomb
      • OpenTelemetry
      • Google Cloud Monitoring
      • Prometheus remote write
      • Set alerts
      • Customize alerting
    • Replica resource usage
    • Essential metrics
    • Appendix: metrics
  • Security
    • Cloud
      • User and service accounts
        • Invite users
        • Create service accounts
        • Configure single sign-on (SSO)
        • Sync identity provider groups to database roles
      • Access control (role-based)