Slow queries: diagnose before you touch the indexes
Pull the slow SQL out of the logs and work out whether it's a missing index, a badly written query, or sheer data volume. Look at the execution plan and the write impact before adding an index.
1
Paste the slow SQL and the EXPLAIN output, have it point out the full table scans and the lookups back to the table, and check each one
Cost: Free
Alternatives: Kimi Moonshot AI · Qwen
2
Search the code for where this SQL is called, and confirm where the parameters come from and whether it runs in a loop
Cost: Subscription
Alternatives: Github Copilot · Qwen Lingma
3
4
秘塔AI搜索
Check how the current database version optimizes indexes and subqueries, and confirm the fix applies
Cost: Free
Alternatives: Kimi Moonshot AI · Doubao Agent
5
Write the slow SQL, execution plan, fix, and verification results onto one page, and review the timing after release
Cost: Free to start
Alternatives: Shimo Docs AI · Feishu
6
After release, compare the new timing against the original data, confirm writes weren't slowed down, and then decide whether to keep the index
Cost: Free
Alternatives: Kimi Moonshot AI · Qwen
Common misreads
Adding an index without reading the execution plan, and it does nothing
Too many indexes slow writes down and nobody notices
Validating only on the test database where the data volume is nowhere close
No monitoring after the change, so the next regression has no record
Too many indexes slow writes down and nobody notices
Validating only on the test database where the data volume is nowhere close
No monitoring after the change, so the next regression has no record
More playbooks
All playbooks
Checklist Time: About 1 day
On a price schedule, do I submit as soon as it's calculated or check it three times before stamping?
The line items, tax rate, freight and total must all add up. First check whether tax-inclusive and tax-exclusive prices are mixed in the sheet, then cross-check, and deliver a price schedule you can stamp and submit. Manufacturing and export
Decision guide Time: About 1 day
On a technical deviation table, should I mark everything as no deviation or state each item honestly?
If acceptance fails after you win, it's usually because the deviation table promised too much. Compare the tender's technical parameters with your product line by line, mark positive deviation, negative deviation or no deviation honestly, and first define which negative deviations are acceptable. Manufacturing and export
Checklist Time: About half a day
For a qualification compliance table, do I fill in the evidence first or check the commitment letters first?
Fill in your own evidence and page numbers after each row so gaps are obvious at a glance. First check which clauses allow a commitment letter in place of supporting documents, then finalize the evidence list. Deliverable: one qualification compliance table you can hand straight to the bid team. Manufacturing and export
Step-by-step flow Time: About 2 days
For a new warehouse SOP, should I make a flowchart or a screenshot-based course?
The SOP is only really done when a new hire can go through the course and start working. Cover the five steps - receiving, putaway, picking, checking and shipping - each with screenshots, and state in each step what counts as done right. Deliverable: one training course you can teach straight from. Logistics and supply chain