Help! Hit Branch compute hours limit with minimal usage
I've reached my Neon compute hours limit with just a simple user table (2 rows only). I'm using better-auth to connect to my app hosted on an OVH Ubuntu: https://us.ovhcloud.com/public-cloud/virtual-instances/).
All I'm doing is basic user tracking by using Neon to store my users (account, session, user).
Could my app be keeping connections open constantly? Any tips to reduce usage?



7 Replies
frail-apricotOP•5mo ago
??? @raoufchebri any clue?

xenophobic-harlequin•5mo ago
Hey Marvin, this notification is regarding non-default branches, meaning any other branches your using outside of main. The main database didn’t hit a limit.
Are you using branches for development or previews?
frail-apricotOP•5mo ago
Dev! But I feel like creating a separate db for DEV in a project is simpler than using the development branch? (At least I am not reaching that branch compute limit?)
optimistic-gold•5mo ago
I had same issue. First day on Neon (migrating from replit/Neon) and I have hit branch compute hours. So maybe I was using (idling) on a non-default import branch before I renamed it to produciton and made it default. So I should be ok from now, right? But then I see my total compute is 191.9 hours per month...there are 720 hours in a month, so in half a month of not using my db, I will need to upgrade to pro? I'm clearly being a muppet here. I mean I'm def not going to pause my db every night.
Please help..I know I'm the one not getting it.
fair-rose•5mo ago
1 compute hour = 1 hour on a 1 vCPU compute. If you decrease your compute size to 0.25, you can avoid burning through your compute hours before the month is over.
https://neon.tech/docs/manage/endpoints#edit-a-compute
Scale to zero will also save compute hours by placing your compute into an idle state when it's not active. Your compute automatically starts up in a few hundred milliseconds when accessed again. Scale to zero is enabled by default on the Free plan.
Neon
Manage computes - Neon Docs
A compute is a virtualized service that runs applications. In Neon, a compute runs Postgres. Each project has a primary read write compute for its default branch. Neon supports both read write and rea...
frail-apricotOP•5mo ago
Yeah but I don’t understand why it’s burnong so fast? I’m on 0.25 like seen on the screenshot
fair-rose•5mo ago
What is your branches page showing for compute hour usage? Can you post a screen cap of that?
