AI prompt templates for DBAs: SQL optimization, schema design, and migration scripts.
DBAs balance performance, reliability, and cost across database systems. Use structured prompts to generate complex SQL queries, index optimization recommendations, and query execution plan analyses. Specify the database engine (PostgreSQL, MySQL, SQL Server, Oracle), table structures, and query patterns to receive engine-specific optimization advice.
Generate entity-relationship descriptions, normalization assessments, and schema evolution documentation. Describe the application's data access patterns, consistency requirements, and scale projections to produce schema designs that anticipate growth rather than fighting it.
Draft database migration scripts, version upgrade runbooks, and data validation checklists. Specify the source and target versions, schema changes, and downtime tolerance to produce migration plans that minimize risk and ensure data integrity throughout the transition.
Create database health report templates, capacity planning narratives, and SLA compliance documentation. Generate alerts tuning guides and baseline performance documents that help your team distinguish normal behavior from emerging problems before they become outages.
AI can generate SQL queries and optimization suggestions, but you should always review generated SQL in a non-production environment first. Test query plans, verify data correctness, and ensure transactions maintain ACID properties before promoting to production.
Describe your schema structure and query patterns using anonymized table and column names. Share data types and relationships, not actual data values. This gives AI enough context to generate useful recommendations without exposing personally identifiable or business-critical information.
Free — no sign-up required