Database engineering topic

Analytics & OLAP

ClickHouse, StarRocks, analytical databases and OLAP systems

15 canonical articles

StarRocks 4.1: Adaptive Tablets, Range Distribution, and the Upgrade Trade-Offs

StarRocks 4.1 makes tablet layout adaptive: Range distribution, automatic splitting at 10 GB, and 100 GB tablets. When to enable it, and what it costs.

StarRocks13 minAug 3, 2026
Read

ClickHouse Explained (2026): MergeTree, Distributed Engine & Real-Time OLAP

Build blazing-fast analytics with ClickHouse columnar database. Learn MergeTree engine, data modeling, query optimization, and cluster deployment strategies.

ClickHouse5 minMay 13, 2026
Read

TimescaleDB Hypertables, Continuous Aggregates & Compression (2026 Production Guide)

Use TimescaleDB for time-series data in PostgreSQL. Covers hypertable creation, continuous aggregates with refresh policies, retention policies, and 10-20x compression.

PostgreSQL1 minMay 13, 2026
Read

StarRocks vs ClickHouse: Architecture, Table Models & When to Choose Each (2026)

StarRocks is an open-source MPP analytics database. This 2026 guide covers FE/BE/CN architecture, the four table models, vectorized execution, and when to choose StarRocks over ClickHouse.

ClickHouse5 minMay 9, 2026
Read

StarRocks Monitoring & Alerting: The Complete Production Guide

Complete guide to StarRocks monitoring with Prometheus and Grafana. Covers resource saturation, cluster health, and application availability alerts with PromQL expressions and runbooks.

StarRocks14 minMar 24, 2026
Read

Real-Time Analytics Pipeline: PostgreSQL to ClickHouse via CDC

Build a real-time analytics pipeline from PostgreSQL to ClickHouse using CDC — architecture, latency, and schema mapping

PostgreSQL12 minFeb 2, 2026
Read

OLAP vs OLTP: Choosing the Right Database for Your Workload

Understand the differences between OLAP and OLTP systems — query patterns, storage engines, and when to use a hybrid approach

10 minFeb 1, 2026
Read

Data Lakehouse Architecture: Delta Lake, Apache Iceberg, and Apache Hudi

Compare Delta Lake, Apache Iceberg, and Apache Hudi — ACID transactions, time travel, and format interoperability

13 minJan 27, 2026
Read

ClickHouse MergeTree Engine: Storage Architecture and Query Optimization

ClickHouse MergeTree is why ClickHouse queries 1 billion rows in 0.3 seconds. Learn how parts, merges, and sparse indexes work, and how to choose the ORDER BY key, secondary indexes, and MergeTree variants.

ClickHouse10 minSep 2, 2025
Read

DuckDB for Database Engineers: In-Process Analytics Without the Cluster

DuckDB brings OLAP query performance to your Python process without a server or cluster. Learn how to query Parquet files, replace heavy ETL jobs, and run analytics directly against PostgreSQL.

PostgreSQL4 minJun 24, 2025
Read

ClickHouse Cloud vs Self-Hosted: Total Cost of Ownership in 2025

ClickHouse Cloud is convenient but can cost 3-5x more than a well-tuned self-hosted cluster at scale. This breakdown shows exactly where the cost lines cross.

ClickHouse8 minMay 20, 2025
Read

Elasticsearch 8 vs OpenSearch 2: Which Fork to Choose in 2025?

Two years after the Elastic license change, Elasticsearch and OpenSearch have diverged significantly. Both are mature forks but the right choice depends on your use case, vendor lock-in tolerance, and team expertise.

8 minApr 29, 2025
Read

ClickHouse vs BigQuery: Analytical Database Comparison for 2026

A detailed comparison of ClickHouse and BigQuery for analytical workloads — MergeTree engine vs Capacitor storage, self-hosted vs serverless cost models, query latency, real-time ingestion, and when to choose each.

ClickHouse12 minApr 14, 2025
Read

StarRocks as a Vector Database – Architecture, Scaling, and Best Practices

Use StarRocks for high-performance vector search with HNSW indexes. Learn real-time vector ingestion, hybrid queries combining vectors with analytics, and scaling strategies.

StarRocks21 minAug 20, 2024
Read

TiDB Explained: The Complete Guide to Distributed SQL and HTAP

Explore TiDB distributed SQL database for HTAP workloads. Learn TiKV/TiFlash architecture, MySQL compatibility, horizontal scaling, and deployment strategies.

TiDB4 minSep 6, 2022
Read