RayDB LogoRayDB

Storage auto-scaling

Expanding storage capacity ensures that your RayDB PostgreSQL cluster continues operating efficiently as data grows. This guide explains how to scale storage dynamically without downtime.

When to Scale Storage

Consider increasing storage if:

  • Your database is nearing its allocated storage limit.
  • Write operations are slowing down due to disk space constraints.
  • Your application requires handling larger datasets over time.

How to Scale Storage

  1. Log in to the RayDB Dashboard.
  2. Navigate to the Clusters section and select the cluster you want to scale.
  3. Open the Storage Scaling tab.
  4. Increase the allocated storage size as needed.
  5. Click Apply Changes to expand storage dynamically.

Automatic Storage Scaling

RayDB supports automatic storage expansion to prevent service interruptions:

  • When enabled, storage increases automatically as utilization approaches the limit.
  • Configure thresholds in the Storage Settings to control scaling behavior.

Impact on Availability

  • Storage scaling is performed without downtime.
  • Database performance may improve after increasing available disk space.

Best Practices

  • Monitor Storage Usage: Regularly track storage metrics in the dashboard.
  • Enable Auto-Scaling: Prevent unexpected outages by allowing automatic expansion.
  • Optimize Data Retention: Archive or delete unnecessary data to manage costs efficiently.

For additional optimization techniques, refer to Performance Tuning.

On this page