Partitioning and Clustering: How to Make Warehouse Queries Faster
Data partitioning for faster queries: how partition pruning works, pick partition keys, avoid the small files problem, and when clustering or Z-ordering helps.
WRITING / NOTES FROM THE FORGE
16 articles tagged Data Engineering.
Data partitioning for faster queries: how partition pruning works, pick partition keys, avoid the small files problem, and when clustering or Z-ordering helps.
Parquet vs Avro vs ORC vs CSV compared: row vs columnar, compression, predicate pushdown, schema evolution, and which format fits streaming or analytics.
Learn data quality testing for pipelines: the six quality dimensions, SQL tests, data contracts, anomaly monitoring, and alerting that catches bad data early.
Data pipeline best practices for reliable systems: idempotency, safe backfills, partitioned writes, retries, schema evolution, observability, SLAs, and cost.
ETL vs ELT explained: where transformation happens, cost, governance, and tooling trade-offs, plus a simple framework for choosing the right data pipeline.
Change data capture explained: log-based vs query-based vs trigger-based CDC, how connectors stream changes, ordering, schema changes, and the outbox pattern.
What is dbt? Learn how models, ref(), sources, tests, materializations, incremental models, and lineage docs help you transform warehouse data with SQL.
An Apache Airflow tutorial for data pipeline orchestration: DAGs, tasks, operators, the scheduler, retries, backfills, and idempotent tasks with TaskFlow.
Apache Spark explained for beginners: how the driver, executors, partitions, lazy evaluation, and shuffles work, plus a practical PySpark DataFrame example.
Slowly changing dimensions explained: SCD Type 1, 2, and 3 with a SQL MERGE example, surrogate keys, effective dates, and current flags for accurate history.
Star schema vs snowflake schema explained with facts, dimensions, grain, SQL examples, and clear guidance on which data model fits your analytics warehouse.
Batch vs stream processing explained: latency, windows, event time, late data, and exactly-once caveats, plus how to choose the right model for your pipeline.