role-database:capacity-planning

Estimate database storage growth and memory sizing for PostgreSQL, MySQL, MongoDB, and Redis.

14|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rnavarych/alpha-engineer --skill role-database-capacity-planning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-database:capacity-planning
Source: https://github.com/rnavarych/alpha-engineer/tree/main/plugins/roles/role-database/skills/capacity-planning
Command: npx skills add https://github.com/rnavarych/alpha-engineer --skill role-database-capacity-planning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you plan and manage your database's capacity, preventing performance bottlenecks and unexpected costs by providing clear guidance on storage, memory, and scaling strategies.

Core Features & Use Cases

  • Storage Growth Estimation: Predict future storage needs based on current data volume and growth rates.
  • Memory Sizing: Determine optimal memory allocation for databases like PostgreSQL, MySQL, MongoDB, and Redis.
  • Scaling Strategy: Advise on when to scale up, add read replicas, or implement sharding.
  • Load Testing: Provide guidance on using tools like pgbench and sysbench for performance benchmarking.
  • Cost Estimation: Help estimate cloud infrastructure costs for services like AWS RDS and DynamoDB.
  • Use Case: You need to provision a new PostgreSQL database cluster and are unsure about the required instance size, storage, and read replica configuration. This Skill will guide you through the sizing and scaling decisions.

Quick Start

Use the capacity-planning skill to estimate the storage growth for a PostgreSQL database over the next year, assuming 100,000 new rows per day and an average row size of 200 bytes.

Frequently Asked Questions about role-database:capacity-planning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I estimate database storage growth for PostgreSQL?

Estimate database storage growth by calculating current data volume against expected row insertion rates and average row size. This process predicts future storage needs to prevent performance bottlenecks and unexpected infrastructure costs over time.

What is the best way to determine memory sizing for a MongoDB cluster?

Determine optimal memory sizing for MongoDB by analyzing workload patterns and data access frequencies. Proper memory allocation prevents performance bottlenecks and ensures efficient query processing across your database systems.

When do I need read replicas versus sharding for database scaling?

You need read replicas to distribute read-heavy workloads and sharding to partition large datasets across multiple nodes. Choosing the right scaling strategy depends on your specific read-write ratio and data volume growth.

How do I use pgbench and sysbench for database load testing?

Use pgbench for PostgreSQL and sysbench for MySQL to execute performance benchmarking under simulated load. These load testing methodologies identify performance bottlenecks and validate capacity planning decisions before production deployment.

Can I estimate cloud infrastructure costs for AWS RDS and DynamoDB?

You can estimate cloud infrastructure costs for AWS RDS and DynamoDB by projecting storage growth and memory sizing requirements. Accurate cost estimation helps optimize cloud database infrastructure spending and prevents unexpected billing surprises.

What are the limitations of vertical scaling for database capacity planning?

Vertical scaling limitations include hardware ceiling constraints and high costs for incremental memory upgrades. Once maximum instance size is reached, horizontal approaches like read replicas or sharding become necessary for further scaling.