Rethinking read replicas for the lakebase architecture
Lakebase Postgres implements read replicas as additional read-only computes attached to the same disaggregated storage as the primary, rather than as physical clones with their own volumes.
Lakebase Postgres implements read replicas as additional read-only computes attached to the same disaggregated storage as the primary, rather than as physical clones with their own volumes.
Datadog's metrics aggregation service, which merges DDSketch distributions to reduce tag dimensions, went through three generations as volume grew roughly 10× each time.
Lakebase Postgres stores durable history in object storage but keeps it off the read path through tiered caching.
OrioleDB, an open-source Postgres storage engine plugged in via the Table Access Method, is now in public beta on all Supabase plans.
In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless.
Postgres TOAST kicks in once a row exceeds 2,032 bytes, compressing variable-length values largest-first and moving them into chunked pg_toast tables (1,996-byte chunks, 18-byte in-row pointers) when compression isn't enough.
Turso v0.8 adds group commit to its MVCC write path so that concurrent committers share a single fsync of the logical log instead of each paying for their own.
Turso 0.8 targets SQLite's single-writer bottleneck with BEGIN CONCURRENT, an MVCC mode where transactions start independently and commit in groups.
Lakebase Postgres turns point-in-time restore into a metadata operation: creating a branch at a timestamp that points at existing immutable page history, rather than provisioning an instance, hydrating a snapshot from S3 and replaying WAL.
Inverted indexes power full-text search by mapping each term to a sorted, compressed postings list of document IDs, with optional positional data for phrase/span queries and frequency statistics for BM25 scoring.
Postgres DELETE can scale for data retention if you design around MVCC churn, cache locality and dead tuples.
SQLite ships without encryption, and since SQLite 3.32.0 removed the undocumented SQLITE_HAS_CODEC hook in 2020, the options are SQLCipher (mature but painful across major versions, AES-256-CBC+HMAC only), the proprietary $2,000 SEE from the SQLite team, and SQLite3MultipleCiphers (community successor that can read SQLCipher formats).
ClickHouse has become a common storage and query layer for observability, and the main reason is its columnar architecture.
Repeated DELETE FROM + COPY snapshot reloads in Amazon Redshift left some tables with up to 90% ghost rows, about 22 billion rows on disk for 2.4 billion live ones.
Turso Cloud now offers concurrent writes in early preview: transactions opened with BEGIN CONCURRENT run optimistically in parallel on an MVCC engine modeled on Microsoft's Hekaton, with conflicts detected at commit time at row granularity.
Postgres NOTIFY takes a global exclusive lock from commit start through fsync so notifications enqueue in commit order, which serializes every notifying transaction and blocks group commit.
Turso, a from-scratch SQLite rewrite, is adding formal verification via Aretta AI's Aristo, which turns natural-language intents annotated on code into formally checked properties, to complement its deterministic simulation testing and Antithesis runs.
Neon's Lakebase Search adds two Postgres extensions, lakebase_vector (IVF partitioning plus RaBitQ quantization, pgvector-compatible) and lakebase_text (a BM25-native index with Block-Max WAND top-K pushdown), designed for Neon's separated compute and object-storage tiers.
LogHouse, ClickHouse Cloud's internal logging platform, has grown to 431 PiB uncompressed (27 PiB on disk) and 1.59 quadrillion rows across 36 cells in 33 geoshards on three clouds, ingesting up to 80 GiB/s and 190M rows/s.
ClickHouse handles high-cardinality observability data by storing telemetry as wide events, rows of attributes plus measurements, instead of as independently maintained time series.
High cardinality hurts Prometheus because its storage unit is the individual series.
Turso 0.6 is the first release supporting all major SQLite features, adding experimental multi-process WAL access (OFD locks on Linux, fcntl elsewhere, IOCP on Windows) and VACUUM/VACUUM INTO.
Under continuous ingest, keeping data sorted for chunk-level pruning is a write-side cost that standard query benchmarks ignore.
ClickHouse's redesigned inverted-index full-text search feeds matches directly into its vectorized analytical engine, and on a reproducible OpenTelemetry log benchmark at 1B, 10B and 50B rows it ran a nine-query search-plus-aggregation suite 2-6x faster than Elasticsearch, with a much smaller storage footprint.
ClickHouse offers three index-based ways to skip data: the sparse primary index (one entry per 8,192-row granule), lightweight projections that store only a sort key plus a _part_offset pointer into the base table, and skip indexes such as minmax that keep per-granule min/max values.
ClickHouse 26.3 ships 27 features, 40 performance optimizations and 202 bug fixes.
A Postgres `INSERT ... ON CONFLICT DO UPDATE ... WHERE` upsert still locks the conflicting row even when the WHERE clause blocks the update.
ClickHouse's `CREATE TABLE ... CLONE AS` creates a full, independent copy of a table almost instantly, without copying any data.
ClickHouse's most common beginner mistakes mostly come from misunderstanding parts and merges.
A RocksDB unit test that generated thousands of SST file unique IDs across many threads exposed a hardware bug: the RDSEED instruction on a newer AMD CPU sometimes returned 0 while reporting success, but only on some cores and only under memory load.
ClickHouse 26.1 ships 25 new features, 43 performance optimizations and 176 bug fixes.
Litestream's SQLite VFS now supports an optional write mode and background hydration, built so the Sprites storage stack can serve reads and writes milliseconds after a cold boot without first downloading its JuiceFS block map from object storage.
TursoDB adds native full-text search by embedding Tantivy and implementing its Directory trait on top of Turso's B-tree, storing index "files" as 512KB chunks in an internal table.
ClickHouse lightweight projections, which store only a sorting key plus a _part_offset pointer into the base table, now act as true secondary indexes with granule-level pruning instead of only pruning whole parts.
Turso v0.4.0 overhauls its experimental MVCC mode, which lifts SQLite's single-writer limit, adding index support, checkpointing and recovery.
Litestream VFS is a SQLite VFS plugin that runs read-only queries directly against Litestream backups in S3 without downloading the whole database, and supports point-in-time queries via a `PRAGMA litestream_time` setting.
Constant Contact replaced Apache Pinot with ClickHouse for real-time marketing analytics after Pinot's upsert handling without compaction grew to ~180 GB of daily segments, forced memory increases, and made restores take weeks.
Parsing nginx access logs into typed columns in ClickHouse and tuning storage raises compression from roughly 38x (ZSTD on the raw file) to about 178x on a 66.7M-line, 20 GB dataset.
Lakehouses built on open table formats like Apache Iceberg and Delta Lake are becoming viable for observability, combining Parquet's columnar compression, encodings, page and row-group statistics, and Bloom filters with table-level schema evolution, partitioning, snapshots, and catalogs.
Turso Database, a Rust rewrite of SQLite, now supports native encryption at rest using AEAD ciphers (AEGIS-256 and AES-GCM).
Litestream v0.5.0 replaces WAL-segment backups with the LTX file format from LiteFS, enabling efficient point-in-time recovery through hierarchical compaction (30-second, 5-minute and hourly levels), so a restore typically needs only a dozen or so files.
PgDog generates globally unique primary keys across Postgres shards without extensions or external ID services.
SQLite re-parses the entire sqlite_schema table after every ALTER TABLE, so schema changes cost time proportional to total schema size even when only one table is touched.
Turso, a Rust rewrite of SQLite, hit a bug where every write after the database crossed 1GB made SQLite's integrity checks fail, even though Turso's own checks found the file intact.
Delta Lake's Change Data Feed (CDF) can drive CDC into ClickHouse by reading row-level change events reconstructed from the _delta_log transaction log and the _change_data Parquet files.
ClickHouse rebuilt its full-text search around a native inverted "text" index that replaces the earlier Bloom-filter indexes (tokenbf_v1, ngrambf_v1), which were hard to tune, returned false positives and supported few predicates.
ClickHouse 25.7's SQL-standard UPDATEs were benchmarked against PostgreSQL 17.5 on identical hardware using the 600M-row TPC-H lineitem table, with cold and hot runs.
ClickHouse 25.7 adds standard SQL UPDATE and DELETE built on lightweight "patch parts".
ClickHouse avoids slow in-place row updates in its column store by expressing updates and deletes as inserts that get resolved during the background merges MergeTree already performs.
CoalescingMergeTree, new in ClickHouse 25.6, consolidates sparse partial-row inserts during background merges by keeping, per sorting key and per column, the latest non-null value as determined by insertion order rather than a timestamp.
ClickHouse 25.6 (25 features, 32 performance optimizations, 105 bug fixes) can take a single consistent storage snapshot across all subqueries and CTEs in a SELECT, controlled by enable_shared_storage_snapshot_in_query.
ClickHouse Cloud adds a distributed cache that turns the per-node filesystem cache into a shared network service, so every compute node can read hot table data that any other node has fetched.
Turso Cloud makes every SQLite database durable on S3 and S3 Express, treating local server disk purely as a cache.
Litestream is being reworked around ideas from LiteFS. It replaces the raw-WAL "shadow WAL" with transaction-aware LTX files, sorted page changesets that can be compacted LSM-style, so point-in-time restores no longer replay every intermediate page write.
ClickHouse 25.4 adds lazy materialization, which defers reading column data until the query plan actually needs it.
Neon's point-in-time restore is instant because its storage is copy-on-write: compute nodes stream WAL to Paxos-replicated safekeepers, and pageservers reconstruct any page at any past LSN from image and delta layers kept in object storage.
JSONBench is a reproducible benchmark that loads up to one billion Bluesky event JSON documents into ClickHouse, MongoDB, Elasticsearch, DuckDB and PostgreSQL, then measures storage size and the speed of five analytical queries.
ClickHouse's rewritten JSON column type is presented as the key observability advance of the past year.
Concurrent batch upserts into an InnoDB table keyed by a sequential id can deadlock even when processes touch different rows, because the gap locks taken on unique-key collisions span neighbouring index entries that other processes also need.
libSQL implements approximate nearest neighbor search using LM-DiskANN, a low-memory variant of DiskANN.
ClickHouse 24.6 adds an optimize_row_order setting for plain MergeTree tables.
Datadog replaced its timeseries index, which auto-generated materialized indexes from a log of slow queries, with an inverted index that unconditionally indexes every metric;tag pair, much like search engines map words to documents.
Neon treats Postgres storage as a transaction journal: the write-ahead log becomes the source of truth instead of a recovery aid.
Postgres stores table rows in 8KB heap pages and writes a new row version on every update, so dead versions accumulate until vacuum reclaims them and updates the free-space and visibility maps.
Didi replaced Elasticsearch with ClickHouse for petabyte-per-day log and trace storage, cutting machine cost by 30% and speeding up queries about 4x on a 400+ node single-replica deployment peaking at 40 GB/s writes and ~200 QPS.
Neon shards its Rust-based Pageserver storage layer by dividing each Postgres relation's 8KiB block numbers into stripes (default 256MiB) and hashing each stripe to a Pageserver.
Six ways to shrink Postgres storage spend: drop unused indexes (found via pg_stat_user_indexes and pg_index), avoid full database copies for dev and staging by using Neon's copy-on-write branching, choose smaller data types like SMALLINT, order columns largest to smallest to cut alignment padding, shorten Neon's history retention window, and tune autovacuum to limit bloat.
Neon implements point-in-time recovery by treating Postgres as its WAL.
ClickHouse 23.9 ships 20 new features, 19 performance optimisations and 55 bug fixes, highlighted by JSON schema type inference, a GCD compression codec and SSH key authentication.
ClickHouse ingest performance and resource usage for large loads into MergeTree tables are governed by three factors: insert block size, insert parallelism, and hardware size.
ClickHouse 23.7 ships 31 features, 16 performance optimisations and 47 bug fixes.
SharedMergeTree is a new ClickHouse Cloud table engine that replaces ReplicatedMergeTree (and its zero-copy replication variant) by moving both data and part metadata off the servers into shared object storage and ClickHouse Keeper.
In SQLite's WAL mode, an unclosed Go database/sql rows object keeps a read transaction open, which stops checkpoints from moving changes from the WAL file into the main database file.
ClickHouse asynchronous inserts move batching from the client to the server.
Parquet files are organized into row groups, column chunks and pages, with dictionary, RLE/bit-packing and delta encodings plus footer metadata and min/max statistics that let readers push down projections and predicates.
ClickHouse offers several ways to modify mostly-immutable analytical data, each with different costs.
ClickHouse v23.1 adds experimental inverted indexes (contributed by IBM) as MergeTree secondary indexes for full-text term search.
Tightening a ClickHouse schema with strict types cuts a 1B-row NOAA weather dataset from 131.58 GiB to 71.38 GiB uncompressed.
TigerBeetle allocates all memory once at startup and never again, using fixed limits for connections, in-flight messages per client, replicas, message size and queries per message so that total memory is a simple compile-time sum.
Neon built serverless Postgres by separating storage from compute without forking Postgres.
Husky is Datadog's third-generation event store, an unbundled, schemaless, vectorized column store that separates compute from storage on top of S3 and a FoundationDB-backed metadata store.
Quicksilver's memory roughly doubled after its storage moved to RocksDB, climbing from about 15GB to 30GB over several days.