Latest Articles: page 17

750 posts from Alex's blogs and newsletters, newest first. Thoughts on tech, data, policy, and philosophy.

Alex Merced's Blog

Partitioning, Sharding, and Data Distribution Strategies

Hash partitioning distributes data evenly. Range partitioning enables fast range scans. Both create tradeoffs....

Alex Merced's Blog

Buffer Pools, Caches, and the Memory Hierarchy

Databases use buffer pools, column caches, and result caches to keep hot data in RAM. Here is how each caching strategy works and what happens when da...

Alex Merced's Blog

Volcano, Vectorized, Compiled: How Engines Execute Your Query

The Volcano model processes one row at a time. Vectorized execution processes batches with SIMD. Code generation fuses operators into compiled code....

Alex Merced's Blog

Inside the Query Optimizer: How Engines Pick a Plan

Query optimizers transform SQL into execution plans using rule-based rewrites, cost-based search, and adaptive runtime adjustments....

Alex Merced's Blog

B-Trees, LSM Trees, and the Indexing Tradeoff Spectrum

B-trees balance reads and writes for OLTP. LSM trees maximize write throughput. Bitmap indexes accelerate OLAP filtering. Here is when to use each....

Alex Merced's Blog

How Databases Organize Data on Disk: Pages, Blocks, and File Formats

Databases structure data on disk as heap files, sorted files, or LSM trees, then wrap it in formats like Parquet with metadata that lets engines skip....

Alex Merced's Blog

Row vs. Column: How Storage Layout Shapes Everything

Row stores keep records together for fast transactions. Column stores keep field values together for fast analytics....

Alex Merced's Blog

How Query Engines Think: The Tradeoffs Behind Every Data System

Every database is a collection of engineering tradeoffs. Learn the 9 design decisions that shape how query engines store, index, and process your data...

Alex Merced's Blog

Migrating to Apache Iceberg: Strategies for Every Source System

Migrate to Iceberg from Hive, data warehouses, or raw files using in-place migration, full rewrite, or the zero-downtime view swap pattern....

Alex Merced's Blog

Hands-On with Apache Iceberg Using Dremio Cloud

A practical walkthrough of creating, querying, and optimizing Iceberg tables on Dremio Cloud, from account setup to AI-powered analytics....

Alex Merced's Blog

Approaches to Streaming Data into Apache Iceberg Tables

Stream data into Iceberg with Spark Structured Streaming, Flink, or Kafka Connect. Here is how each works and the trade-offs between latency and maint...

Alex Merced's Blog

Using Apache Iceberg with Python and MPP Query Engines

Access Iceberg tables from Python with PyIceberg, DuckDB, and Polars, or through MPP engines like Dremio, Spark, and Trino. Here is how each approach ...

Alex Merced's Blog

Apache Iceberg Metadata Tables: Querying the Internals

Iceberg metadata tables let you query snapshots, files, manifests, and partitions using SQL. Here is every metadata table and how to use them....

Alex Merced's Blog

Maintaining Apache Iceberg Tables: Compaction, Expiry, and Cleanup

Keep Iceberg tables fast with compaction, snapshot expiry, orphan cleanup, and manifest rewriting. Here is when and how to run each operation....

Alex Merced's Blog

How Data Lake Table Storage Degrades Over Time

Iceberg tables degrade through small files, orphan files, metadata bloat, sort order decay, and partition skew. Here is how to diagnose each problem....

Alex Merced's Blog

When Catalogs Are Embedded in Storage

S3 Tables and MinIO AI Stor embed the Iceberg catalog directly in the storage layer. Here is when embedded catalogs make sense and when they do not....

Alex Merced's Blog

What Are Lakehouse Catalogs? The Role of Catalogs in Apache Iceberg

Lakehouse catalogs store metadata pointers, manage namespaces, and enforce access control. Here is the complete catalog landscape from Polaris to Glue...

Alex Merced's Blog

Writing to an Apache Iceberg Table: How Commits and ACID Actually Work

Here is exactly how an engine writes to an Iceberg table, step by step, from data files through the atomic commit that makes ACID guarantees possible....

Alex Merced's Blog

Hidden Partitioning: How Iceberg Eliminates Accidental Full Table Scans

Iceberg's hidden partitioning separates physical layout from user queries using transform functions....

Alex Merced's Blog

Partition Evolution: Change Your Partitioning Without Rewriting Data

Iceberg lets you change partition schemes without rewriting data. Here is how partition evolution works internally and why Hive-style partitioning cou...

Alex Merced's Blog

Performance and Apache Iceberg's Metadata

Iceberg's three-layer metadata tree eliminates directory listing and enables multi-level data skipping. Here is how scan planning actually works....

Alex Merced's Blog

The Metadata Structure of Modern Table Formats

Iceberg uses a metadata tree, Delta Lake uses a transaction log, Hudi uses a timeline. Here is exactly how each format organizes metadata and why it m...

Alex Merced's Blog

What Are Table Formats and Why Were They Needed?

Table formats like Apache Iceberg solved the ACID, schema, and performance problems that turned data lakes into data swamps. Here is how each one work...

Alex Merced's Blog

2025 Year in Review Apache Iceberg, Polaris, Parquet, and Arrow

A look back at key developments in Apache Iceberg, Polaris, Parquet, and Arrow in 2025....