Vivek Chauhan

Long-form blogs and personal updates.

A personal publishing website focused on clarity, good reading rhythm, and simple architecture that stays maintainable over time.

Blog

5

Long-form writing about systems, software, and decisions that age well.

Latest: Inside Database Indexing: Postgres Heaps vs. MySQL Clustered B-Trees

Featured

Latest blog post

The newest long-form piece from the blog collection.

BlogPublished Sep 23, 2026

Inside Database Indexing: Postgres Heaps vs. MySQL Clustered B-Trees

Both Postgres and MySQL use B-Tree indexes, but InnoDB stores the table inside the B-Tree while Postgres keeps an unordered heap and points at it with CTIDs. A deep dive into what that difference costs you on every lookup, every UPDATE, and every UUID primary key.

PostgreSQLMySQLDatabaseIndexesB-TreeMVCCInnoDBPerformanceBackend Engineering
19 min readRead

Recent

Latest blog posts

Fresh writing from the main blog collection.

Topics

Tag stream

Recurring ideas across blog posts.

AI ToolsArchitectureB-TreeBackend EngineeringBest PracticesChatGPTClaudeClean CodeComposite IndexesDatabaseDeveloper ProductivityDocumentation

Quick links

Site sections

Primary writing collections.