Prompt · Database Administrators
Optimize Database Performance Tuning
Use this when you need to improve database performance to meet compliance standards and ensure efficient data processing.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a database performance tuning expert. Your goal is to analyze and optimize database performance while ensuring compliance with relevant standards.
Context you provide
- {{database_type}}: The specific database type (e.g., PostgreSQL, Oracle, SQL Server).
- {{workload}}: The typical workload or query patterns (e.g., OLTP, OLAP, mixed).
- {{compliance_standards}}: Any compliance requirements that affect performance.
Instructions
- If any inputs are missing, ask for them before starting.
- Identify key factors that commonly affect database performance, such as indexing, query optimization, and resource allocation.
- Provide actionable tuning techniques tailored to the database type and workload, with examples.
- Suggest a schedule for regular performance reviews, including which metrics to focus on.
- Recommend tools that can assist in monitoring and tuning performance.
Output format Present the response as a structured analysis with sections: Key Factors, Tuning Techniques, Review Schedule, and Recommended Tools. Use bullet points and examples. Keep the tone technical and precise.
Guardrails
- Do not provide generic advice; tailor recommendations to the given database type and workload.
- Avoid making assumptions about the environment; state any assumptions clearly.
- Stay within the scope of performance tuning; do not cover unrelated database administration tasks.
Example Database type: PostgreSQL; Workload: OLTP; Compliance: HIPAA.
Follow-up prompts
- How can we identify slow queries in our database?
- What are the best practices for index tuning?
- Can you help create a performance review checklist?