
Using a Metal database
PlanetScale databases come in two main flavors: Metal and network-attached storage. When you create a database on PlanetScale, you can choose between these two options:
WarningThe storage for Metal databases does not autoscale.
It is important to keep a close eye on the storage capacity of Metal databases, and upgrade well before running out of space.

Monitoring your storage
Fixed-sized drives also means that you must closely monitor how much storage your database is using. You can do so by looking at the storage information on the PlanetScale dashboard:
Workload suitability
Using Metal is a clear win for many workloads. Many of our current Metal customers have been able to either (A) save money, (B) increase performance, or (C) do both at the same time by switching to Metal. The per-GB cost of metal storage is more affordable than network-attached storage with high IOPS capacity, and the improved IO performance allows you to use smaller compute instances in some cases. There are some scenarios where a network-attached storage database may be a better choice. Here, we provide some general suggestions to help you choose the ideal type of database for your needs. If you’d like a more personalized assessment, please reach out to support with the specifics of your workload. Generally, these types of database workloads are ideal for Metal:- If your workload has significant I/O demands, Metal is an ideal choice. A network-attached storage database has limitations on how quickly it can read and write data due to the additional network hops. Metal databases allow you to unlock the full potential of modern NVMe technology, providing ultra-high throughput.
- If you have experience running up against the limits of AWS EBS IOPS or have a large
gp3
orio2
EBS
volume bill. Metal provides unlimited IOPS and will likely yield performance improvement, cost savings, or both. There is no need to pay extra for access to the I/O throughput of the local drive. - If low-latency database performance is critical to your business needs.
- If you are concerned about long-tail p99+ performance.
- Very small databases that have both low compute and low storage requirements may be better suited for network-attached storage.
- Databases where the majority of active rows fit in RAM. In this case, the I/O demand on the storage is probably low, and you won’t see as much of a performance boost by using Metal.
- If you frequently resize your database, Metal may not be the best option. Metal instance resizes generally take longer than a network-attached storage resize as they require copying data between drives.
Metal Performance
We’ve mentioned several times that Metal can provide you better performance. What does that look like in practice? Let’s look at two examples.PlanetScale Insights
Below is a screenshot showing the p50 and p95 response times for the database that was powering PlanetScale Insights as of Q4 2024.
Large, sharded database
One of our existing customers runs several large, sharded databases. We migrated these databases to Metal during the internal release of our product. Below is a screenshot of the p99 latencies of a set of shards that we migrated from network-attached storage database to Metal instances.
Cost and performance
We migrated yet another large customer during our internal release. After switching to Metal, they saw a significant improvement in API call latency for one of their critical APIs.
