dataaaaa!
a platform to stack them all
313 Transactional resources collected and tagged on dataaaaa — 247 articles, 36 podcasts, 13 projects, 13 release notes and 4 events. The 30 most recent are listed below, newest first.
Efficient database architecture relies on choosing between structured tables and flexible documents, alongside sound schema design. While normalization eliminates data redundancy, strategic denormalization avoids costly join operations when querying data at scale.
Choosing the right database depends on access patterns and scale. While Postgres handles typical OLTP workloads, OLAP engines like DuckDB use columnar disk layouts to cut latency on heavy aggregations across millions of rows. SQLite fits single-file apps, but lacks concurrent write scaling.
Neki sustained 118 million QPS across 512 Postgres shards holding 1.22 PiB. The read-only benchmark routed single-shard point selects by primary key through 480 routers, scaling linearly to 231k QPS per shard with 15.8M read IOPS and a router p99 latency of 6.06ms.
AI coding agents create competent indexes but heavily over-index write-heavy tables. In testing, piling sixteen indexes on a hot PostgreSQL table broke Heap-Only Tuple updates, doubled WAL writes, and nearly doubled update latency because models add indexes per query without considering writes.
Neki introduces distributed, sharded Postgres without a modified storage engine. Routers parse queries and map tables to physical shards using a JSON data topology, while sidecars manage connection pooling. Built-in workflows automate resharding and schema migrations with zero downtime.
Postgres uses a process-per-connection architecture to isolate query execution and memory, maximizing code simplicity and crash resistance. While shared buffers handle base tables to ensure correctness, local session buffers manage temporary tables without locking overhead.
Snowflake announced general availability for adding and dropping hybrid table constraints online. This update allows data engineers to modify constraints without downtime. The release also includes general availability for second-generation Openflow deployments and external data lineage tracking.
ClickHouse Managed Postgres is now in Private Preview on GCP. The service pairs an NVMe-backed OLTP engine with ClickHouse OLAP, featuring native CDC replication and a unified query layer via pg_clickhouse to prevent cross-cloud egress and simplify pipelines.
The chdb Postgres extension embeds an in-process ClickHouse engine to accelerate imports and exports with cloud storage. It supports native ClickHouse data formats and loads CSV, JSON, and Parquet from S3 up to 2-3x faster than DuckDB-backed tools like pgduckdb and pglake.
PostgreSQL 19 brings major pipeline updates: JIT is now disabled by default for queries, and default TOAST compression shifts to lz4. SQL gains temporal table updates via FOR PORTION OF to automatically split ranges, plus INSERT ON CONFLICT DO SELECT to fetch conflicting rows in one step.
Per-row overhead and network round trips throttle small database writes far more than the actual insert work. Standard JDBC batching requires explicit driver flags like rewriteBatchedStatements to actually combine rows, while disabling autocommit removes per-row transaction flush barriers.
ClickHouse Managed Postgres now lets you configure a scheduled two-hour maintenance window for OS patches, minor engine updates, and CDC tooling. User-driven changes apply immediately, and critical capacity tasks like auto-scaling storage above 90% disk usage bypass the window.
PostgreSQL 19 adds WAIT FOR LSN to prevent stale reads on replicas. Standby replay lag causes reads to miss updates because recovery processes WAL sequentially. Instead of pinning reads to primary or forcing remote_apply on every commit, readers block on the replica until specific LSNs are replayed.
Teams are migrating production databases from Neon to ClickHouse Managed Postgres to solve reliability and latency issues under load. Using ClickPipes, teams completed migrations in hours, achieving consistent query performance and a unified stack for transactional and analytics workloads.
PostgreSQL 19 introduces four new monitoring system views: pgstatlock, pgstatrecovery, pgstatautovacuumscores, and pgdsmregistryallocations. Notably, pgstatlock provides cumulative, cluster-wide lock statistics across 12 lock types to help analyze lock contention history.
Mismatched timestamp and timestamptz types prevented Postgres from using composite btree indexes under Row Level Security because cross-type comparisons are not marked leakproof. Explicitly casting NOW() to timestamp fixed index filtering, speeding up query execution by up to 1000x.
ClickHouse Managed Postgres pairs NVMe-backed Postgres for OLTP with ClickHouse for real-time analytics. Its onboarding streamlines loading data, configuring CDC ClickPipes for managed replication, and querying synchronized tables across both engines.
Evaluating regex indexing in PostgreSQL shows pgtrgm built a 1.6GB GIN index in 16 minutes, querying in 1.6s. The pgtre extension took over 7 hours to build a 21GB index, executing in 2.3s. For exact patterns and LIKE queries, pg_trgm remains the faster, battle-tested indexing solution.
PostgreSQL 19 introduces the WAIT FOR SQL command to enable read-your-writes consistency across asynchronous replicas. By blocking read sessions until a specific primary WAL LSN is replayed on the standby, it avoids stale reads without incurring synchronous replication latency on writes.
Excel suits ad-hoc analysis, but relational databases like SQL Server provide schema constraints, concurrency, and scale for data pipelines. Teams should store data in SQL Server as a single source of truth while querying it into Excel for reporting.
Uber’s payments platform uses immutable money orders and double-entry bookkeeping to process transactions. It relies on Amazon DynamoDB for strongly consistent ledger balances across 1.2B+ entities and Apache Kafka as an async messaging bus between stateless microservices.
Design SQL indexes around query access patterns rather than table schemas. For composite B-tree indexes, place equality columns first and range or sort columns last. Using EXPLAIN ANALYZE ensures the plan eliminates sequential scans and explicit sorts, dropping query latency from 17ms to 0.04ms.
Co-located services like PgBouncer, Prometheus, and backup agents risk starving Postgres of CPU and memory. To isolate workloads, supporting Go processes are contained in a cgroup v2 slice with strict memory limits alongside GOMEMLIMIT configurations to keep database memory safe.
PostgreSQL scaling bottlenecks like slow ingestion and replication lag often stem from storage I/O limits rather than the engine itself. Benchmarks on 3.3 billion rows show local NVMe drives outperform baseline cloud volumes like gp3 EBS, preventing autovacuum bloat and latency spikes.
Postgres 19 improves bulk data pipelines with autoscaling async I/O workers and resilient COPY options like ONERROR and REJECTLIMIT. Parallel autovacuum and native JSON streaming export further optimize analytical data maintenance and ETL workloads.
Snowflake alters its join strategy during MERGE operations based on specified clauses: insert-only uses a left anti join, update-only uses an inner join, and full upserts use a left outer join to optimize execution costs.
PostgreSQL consolidates architectures by replacing specialized tools like search engines and document stores. Features like JSON support and GIN indexing eliminate complex multi-system syncs. Its stability and extension ecosystem simplify data pipelines without sacrificing performance.
PostgreSQL 19 boosts database observability for data engineers by enabling loglockwaits by default to detect lock contention issues. It also upgrades logminmessages to support process-specific log verbosity levels, such as granular checkpointer and autovacuum debugging.
DuckDB v2.0 introduces client-server architecture with the native Quack protocol and
Tailscale uncovered a 16-year-old SQLite bug causing recurring database corruption across their sharded architecture. Their single-writer Go control plane backs up SQLite snapshots to S3, where an integrity check first flagged corruption across 19 separate operational incidents.
See all 313 Transactional resources