Netlify Database automatically adjusts the amount of compute it allocates to your database in response to the volume of traffic your site is handling.
You can configure the range within which that scaling can happen, letting you define:
- A lower bound to keep performance predictable when traffic is steady
- An upper bound to cap how much compute the database can use during bursts of load.
Compute is measured in database compute units. Each unit corresponds to a reserved amount of CPU and memory: 25% of a single virtual CPU, and 1 GB of RAM.
For example, if the maximum allowed for a database is 4 compute units, the database is guaranteed up to 100% of a virtual CPU and 4 GB of RAM dedicated to it.
Setting a higher maximum value means that the database can scale up to handle more concurrent queries and larger working sets, at the cost of higher metered usage.
For details on usage meters and how compute is billed, see Billing and usage.
Minimum and maximum values per plan
Section titled “Minimum and maximum values per plan”A new database starts with a default compute-unit range based on the minimum and maximum allowed by your account plan. Customizing this range is available on Pro and Enterprise plans.
| Plan | Minimum | Maximum | Customizable? |
|---|---|---|---|
| Free | 1 | 1 | No |
| Personal | 1 | 4 | No |
| Pro | 1 | 16 | Yes |
| Enterprise | 4 | 32 | Yes |
You should consider changing the default settings if:
- You want to guarantee a minimum level of performance during normal operation (raise the minimum)
- You want to cap the maximum to control credit usage during traffic spikes (lower the maximum)
Configure the range
Section titled “Configure the range”- Open the database dashboard.
- In the stats area at the top of the page, find Auto-scale compute and select Configure.
- Use the slider to set the Minimum and Maximum compute units. The slider snaps to the following values:
1,2,4,6,8,10,12,14,16,32, and64compute units. - Select Save.
Did you find this doc useful?
Your feedback helps us improve our docs.