Do dedicated clusters scale to zero when DB is idle?
We are using Xata for our app and I've just purchased the Pro plan before going live as the shared cluster on free tier keep throwing "out of memory" error every once in a while despite very minimal use.
When provisioning a cluster, I see the pricing calculator predict a monthly cost of $53.29 for 1 x db.t4g.medium. This is true if my instance runs 24/7 for the whole month. However, since Xata is serverless, my understanding is that the instance will shut down once idle for a certain period of time, and thus this $53.29 would not be billed if there are significant periods of idle time throughout the month.
Just wanted to know if the above assumption is correct or $53.29 is the fixed amount you'll have to pay per month anyways for 1 x db.t4g.medium?


3 Replies
Hey, to be honest we’d very much rather have you use the new Xata platform (the one advertised on the main Xata.io). It’s only Postgres but will get you better pricing.
Do you need any of the non-Postgres features? Like search or files?
If you’d like we’d be happy to jump on a call to explain the differences and the longer term plan.
Thanks, I'd surely prefer a call. I tried to explore the new platform, but it was invite only so I just abandoned the idea.
And no I don't need the search or files features.
Having said that can you still answer my original question though? Would also help people with the same question in the future.
Hi Maaz, I sent an answer to your question there via the support ticket you opened yesterday.
The estimate you shared is for a provisioned instance which doesn't scale up and down automatically. You have to select a serverelss instance
db.serverless
to get autoscaling. Serverelss instances are charged per ACU per hour, aligning with Aurora serverless v2's pricing model.