Posts
All the articles I've posted.
-
TiDB Source Walkthrough - How PLAN REPLAYER DUMP EXPLAIN Works
Follow TiDB's PLAN REPLAYER DUMP EXPLAIN from PlanReplayerExec through the archive builder to the download handler, and see which schema, statistics, bindings, and settings help reproduce a plan.
-
LeetCode 2405 Optimal Partition of String
Solutions for LeetCode 2405, medium, tags: hash table, string, greedy.
-
AI/ML - How Mixture of Experts Models Work
A beginner-friendly tour of MoE routers, sparse expert activation, load balancing, and why more model capacity brings memory and communication costs.
-
System Design - How TiDB Handles Prepared Statements in the MySQL Binary Protocol
Follow COM_STMT_PREPARE, COM_STMT_EXECUTE, and COM_STMT_CLOSE through TiDB's connection, session, parameter decoder, and configuration.
-
LeetCode 2367 Number of Arithmetic Triplets
Solutions for LeetCode 2367, easy, tags: array, hash table.
-
System Design - How TiDB ANALYZE TABLE Builds Statistics in Source
Updated:Trace TiDB ANALYZE TABLE from planner tasks through TiKV scans and TiDB statistics executors to persisted histograms, Top-N values, and optimizer estimates.