N
Neon•13h ago
constant-blue

Free plan compute hours exceeded

Hi, I am on the free plan and got an email saying that I have exceeded 50 compute hours included in the free plan. The way I understand calculation of compute hours works is: 1. if I CU is used for 1 hour, then 1 compute hour is used 2. if 0.25CU is used for 4 hours, then 1 compute hour is used background: 1. My app is still in development and has literally no traffic, I have been monitoring CU usage and aside from some short-bursts, I have never seen it exceed 0.25CU 2. As such, I also know that db usage has not been 200 hours (including idle time before auto-suspension) in 9 days of this month 3. On the production branch, autoscaling is on - from .25 to 2CU question: So, I am having a hard time understanding how 50 compute hours got exhausted in such short amount of time. could someone pls help? Please let me know if any other details are required.
No description
7 Replies
constant-blue
constant-blueOP•13h ago
No description
constant-blue
constant-blueOP•12h ago
Additional context: I use electric sync in data layer, could that be keeping primary compute on all the time?
constant-blue
constant-blueOP•11h ago
Neon does not scale to zero a compute that has an active connection from a logical replication subscriber.
https://neon.com/docs/guides/logical-replication-neon yep, looks like that IS the case
Neon
Logical replication in Neon - Neon Docs
This topic outlines information about logical replication specific to Neon, including important notices. Important notices. To avoid potential issues, please review the following notices carefully bef...
national-gold
national-gold•7h ago
hey @Jatan thank you for the detailed feedback. 1. The way you understand CU-hours is correct. 2. We are working on increasing the CU-hour allowance for projects on the free plan to give you much more room for this kind of use case. 3. DM me your project ID and I can temporarily increase your CU-hours limit
constant-blue
constant-blueOP•7h ago
Hi @andyhats , great! Thank you so much for your response, have dm'ed you the project id
national-gold
national-gold•7h ago
OK you should have plenty of compute to work with now.
constant-blue
constant-blueOP•7h ago
That should be enough, thank you so much for your help 🙂

Did you find this page helpful?