Serverless Database

Definition

A database that auto-scales to zero and charges only for actual compute consumed, with no server provisioning — ideal for variable workloads.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between a serverless database and a managed database?
A managed database means the cloud provider handles tasks like backups, patching, and high availability, but you usually choose a fixed instance size and pay for it 24/7. A serverless database adds automatic compute scaling (and sometimes auto-pause) so capacity adjusts to demand and you pay more based on actual usage rather than a constantly running server size.
When should I use a serverless database?
Use it when traffic is unpredictable or spiky (seasonal apps, event-driven workloads), when you want to reduce cost during idle periods, or when you want minimal capacity planning. It’s also useful for dev/test environments that are not used continuously. If you have steady, high utilization all day, a provisioned database may be simpler and sometimes cheaper.
How much does a serverless database cost?
Cost is mainly driven by (1) compute consumed over time (often billed per second/minute or in capacity units), (2) storage used, (3) I/O and request rates depending on the service, and (4) features like high availability, backups, and cross-region replication. Savings are highest when the database can scale down significantly during off-hours; if it runs near peak most of the time, costs can approach or exceed provisioned options.

Category: data

Difficulty: intermediate

Related Terms

See Also