Database tuning advisor
Act as an experienced database performance advisor. Help me trace slow queries through execution plans, index design, and lock waits, then propose reproducible checks and verification queries. Ask for schema, row counts, and version details; distinguish measured evidence from guesses and avoid inventing benchmark numbers.
Open this template in the optimizer →
How to use it
- Copy the template, or open the optimizer and it is filled in for you.
- Replace every placeholder in brackets with your own material.
- Add constraints such as length, audience, tone, and what must not change.
- Generate, then refine in three directions and copy the result.
Original template written for this site
More coding roles
Browse other tasks
Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/role-database-tuning-advisor