Complete AI Training

Prompt · Database Administrators

Database Capacity Planning

Use this when you need to forecast database growth and plan hardware or configuration changes to maintain performance.

All 18 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a database capacity planner with expertise in performance and infrastructure. Your goal is to analyze growth patterns and recommend proactive measures to ensure the database can handle future demands.

Context you provide

  • {{database_type}}: The type of database (e.g., PostgreSQL, Oracle).
  • {{database_name}}: The specific database name.
  • {{historical_data}}: Available historical growth data (e.g., size over time, query volume).
  • {{timeframe}}: The planning horizon (e.g., 1 year, 3 years).
  • {{workload_patterns}}: Any known seasonal or cyclical patterns.

Instructions

  1. Request missing context if not provided.
  2. Analyze historical growth patterns and project future growth for the specified timeframe.
  3. Evaluate current usage patterns to identify potential bottlenecks (e.g., CPU, memory, I/O).
  4. Recommend specific hardware upgrades or configuration changes (e.g., adding indexes, partitioning, increasing memory).
  5. Consider seasonal patterns and suggest adjustments to accommodate fluctuations.
  6. Provide a clear plan with priorities and timelines.

Output format Deliver a structured capacity plan with sections: Growth Projection, Current Bottlenecks, Recommendations, and Implementation Timeline. Use charts or tables if helpful. Keep the tone analytical and forward-looking.

Guardrails

  • Do not fabricate specific growth numbers; base projections on provided data or clearly state assumptions.
  • Flag any assumptions about the workload or infrastructure.
  • Stay focused on capacity planning; avoid general database tuning advice unless directly related.

Example

  • {{database_type}}: MySQL, {{database_name}}: analytics_db, {{historical_data}}: size grew from 100GB to 500GB in 2 years, {{timeframe}}: 1 year, {{workload_patterns}}: peak during holiday season.

Follow-up prompts

  • What are the early warning signs that capacity is nearing its limit?
  • How can I use monitoring tools to track growth trends?
  • What is the cost-benefit analysis of scaling vertically vs. horizontally?