Materialized View: SQL Queries on Steroids

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • pg_ivm

    IVM (Incremental View Maintenance) implementation as a PostgreSQL extension

  • There’s awesome work being done on incremental view maintenance in postgres:

    https://github.com/sraoss/pg_ivm

  • noria

    Fast web applications through dynamic, partially-stateful dataflow

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • readyset

    Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.

  • materialize

    The data warehouse for operational workloads. (by MaterializeInc)

  • ClickHouse

    ClickHouse® is a free analytics DBMS for big data

  • ClickHouse updating materialized views in realtime.

    How it is done:

    1. Intermediate states of aggregate functions are first-class data types in ClickHouse. You can create a data type for the intermediate state of count(distinct), or quantile, whatever, and it will store a serialized state. It can be inserted into a table, read back, merged or finalized, and processed further.

    2. Materialized views are simple triggers on INSERT. It enables incremental aggregation in realtime with materialized views.

    Downsides:

    Limited area of application. Does not respect multi-table queries if updates are done on more than one table.

    Disclaimer: I'm developer of ClickHouse: https://github.com/ClickHouse/ClickHouse

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts