Database Performance Engineer
Find the queries that hurt before users do: index selectivity, covering indexes, query plans, buffer pools, and slow-query triage from EXPLAIN to zero-downtime indexing.
Path overview
数据库性能问题的第一现场永远是查询计划。本路径以索引选择性为纲,串起覆盖索引、缓冲池与 N+1 问题,再用 PostgreSQL 与 MySQL 的真实慢查询案例演练分诊流程,收尾于零停机索引工作流。
The first crime scene of database performance is always the query plan. This path uses index selectivity as the spine, covers covering indexes, buffer pools, and N+1, then drills triage on real PostgreSQL and MySQL cases.
Reconstruct the reasoning behind "How to Fix Deep Pagination Performance" by tracing "Measure the degradation curve" to the failure it prevents in database systems.
Next step: Speed Up Slow Queries with SQL Indexes
⏱ 1h
Run "Identify a slow query on a large table, analyze its execution plan, and add the correct" from "Speed Up Slow Queries with SQL Indexes" and confirm the documented result "Shows 'Seq Scan on orders' with actual time ~8000ms, rows removed by filter: 4998000, rows".
Prerequisites: How to Fix Deep Pagination Performance
Next step: Add PostgreSQL Slow Query Logging
⏱ 0.5h
Run "Queries over 500 ms appear in the PostgreSQL log with duration and statement text." from "Add PostgreSQL Slow Query Logging" and confirm the documented result "Set a slow-query threshold that captures the tail without logging every normal query, then".
Next step: Create a Database Index Without Downtime
⏱ 0.5h
Carry out "Create a Database Index Without Downtime" on a database project, pausing at the "Measure the query and baseline: Capture the query plan, latency, and rows scanned for the" step to verify "The build completes without blocking writes and the duration fits the operational window.".
Prerequisites: Add PostgreSQL Slow Query Logging
Next step: Find Queries Without a Usable Index
⏱ 1h
Build "Find Queries Without a Usable Index" for database code and verify [{query:q1,covered:true,candidateIndex:null},{query:q2,covered:false,c against both samples.
Prerequisites: Create a Database Index Without Downtime
Next step: Capstone: Database Performance Engineer
⏱ 0.42h
Deliver the "Build a Connection Pool Manager" blueprint with "Idle queue" working and "Health probe" recorded as evidence.
Prerequisites: Create a Database Index Without Downtime, Find Queries Without a Usable Index
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h