NoteIf you are on a consumption commitment plan, please be aware that any changes in cluster size will be reflected against your monthly or annual consumption commitment amount. Changes to the originally selected cluster size may cause you to utilize this amount either more quickly or slowly. If you have further questions, please reach out to your account manager or our Support team.
Selecting a cluster size
Selecting the correct cluster size for your database can have a dramatic impact on how it performs and how much it costs. A good rule of thumb is when you notice CPU usage is consistently at or close to 100% for an extended period of time, you may benefit from upsizing your cluster. Conversely, if your CPU usage is consistently below 50%, you may be able to downsize. You can monitor your CPU usage by clicking on your database, clicking “Primary” in your architecture diagram, and referencing the chart under “Metrics and performance”.WarningFor Metal instances, you have to consider both the compute and the storage, as storage does not autoscale. For more information about adjusting a Metal instance, see Upgrading an existing database to Metal.
Comparing PlanetScale to other database providers
If you are migrating from an existing cloud provider with resource-based pricing, be sure to compare your currently selected instance with our available cluster sizes. Keep in mind, each database comes with a production branch with two replicas. Vitess databases include 1,440 hours worth of development branches. The development branches essentially equate to two extra “always on” databases. In many cases, you can deprecate your dev/staging databases that you pay extra for with other providers in favor of the development branches. In the end, this usually results in significant cost savings. Databases in PlanetScale also come with additional beneficial infrastructure that is not easily configured or available in other hosted database solutions. For more information on what is provisioned with each database, read our Vitess Architecture and Postgres Architecture docs. If you are unsure which plan or cluster size is right for your application, contact us to get further assistance. Our self-serve plans are flexible enough to handle the majority of customers. However, there are several use cases where you may need a more custom plan. This is where our Enterprise offerings shine.Upsizing and downsizing clusters
As your application scales, upgrading or downgrading your database cluster is a seamless operation that does not involve any downtime. To change cluster sizes, go to your PlanetScale dashboard, click on your database, click “Cluster configuration”, select the new cluster size for the keyspace you wish to configure, and click “Update”.NoteIf you have Vitess maintenance schedules or Postgres maintenance schedules enabled, changes to cluster size will roll out during your scheduled maintenance window.