Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

flat-fuchsia
flat-fuchsia2/6/2025

fetching data on the client (like supabase)

what's the "best practice" for fetching data that needs to be on the client? i'm looking at migrating from supabase, so all of the data fetching that i have right now would need to change completely - i have a lot of data fetching on the client with swr hooks + usequeries fetching data from supabase, so i'm thinking if this is the right approach to go with in the future or no as in is the supabase approach (fetching from client) "better" and transferrable to neon in any way? with rls setup (which i have) it seems like it should be fine but i don't know or should i migrate to fetching data from the server via actions etc? would require me to rewrite pretty much everything to swr / tanstack query, but is it overall the "better" approach long term? i'm kind of conflicted here since normally fetching db on the client is a nono but with RLS it seems.. more acceptable?...
like-gold
like-gold2/6/2025

Is the paid plan per project or per account?

We have a use case in our startup that would require around 100 database instances. Supabase require us to pay $25 per project neon showed that $19 per month gives 100 projects. So does that mean if we pay $19 per month I get 100 db instances?
like-gold
like-gold2/5/2025

Too much storage used?

Hey guys! I'm not very experienced with coding but I have a project going and it's just a simple 1 page website with an admin panel, almost not content at all. The actual databse is only 60mbs but it's using 0.73GB and I had to get on the premium plan. I'm worried that at this rate I won't be able to even fit in the 10GB plan with such a simple website once I added content to it. Is this normal? I can't even see how I could launch more than 1 project on this storage....
xenial-black
xenial-black2/4/2025

NextJS shows a successful commit to the table but the commit is not in the table.

I have project that receives POST requests and saves body in the NEON table (I initiated the DB with NextJS Postgre). Most of the time this is successful but there are instances when it is not successful. The logs on vercel show that the connection to the Neon Db was successful but when you check the table, you find that the commit was not made. The rate of this failure has increased over the last 2 - 3 weeks. What could be issue ?
conventional-tan
conventional-tan2/4/2025

PrismaClientInitializationError: Prisma Client could not locate the Query Engine

On Vercel + Neon, I have tried all 1000 different solutions across vercel boards, prisma issues, etc. I can't get anything to work CONSISTENTLY. I had one deploy that worked but the rest have not. I can ls the directory and see that there are query engine files generated to the folder that it says they are not. Has anyone solved this issue? I've spent days on this now....
conventional-tan
conventional-tan2/4/2025

How can I connect one DB to multiple vercel projects?

Neon seems to impose a 1-1 mapping between vercel projects and neon DBs. How can I connect one DB to multiple vercel projects? We have one database but 3x projects in Vercel that all need to use it for preview branches and production. As soon as I connect one project, it disconnects another....
No description
environmental-rose
environmental-rose2/3/2025

Production vs Dev, projects or branches?

Looking to have two separate databases, one for dev, and for production. Should I create two projects foo-prod and foo-dev, or should I use some branching strategy off of a single project foo? Ideally these two databases would have isolated data and schema....
optimistic-gold
optimistic-gold2/3/2025

Unexpected Error

Hi, i am pretty new to neon postgres, i am building my project in next js, using ts and python backend , it was running fine a few days back, but for the past 4 days i am getting this error , whats the issue ? while checking console it is showing WebSocket connection to 'wss://ep-proud-cherry-.......ap-southeast-1.aws.neon.tech/v2' failed: update - if i am switching on the VPN then at the neon postgres interface i can see the tables and it is not giving error , but still i am not able to connect it to my local app, in console its giving ...
No description
wise-white
wise-white2/2/2025

Unusual RAM usgae

Hello I have the free plan but for some reason there is ram spike when the database is not even being called. For example in 2 days it has used 0.72 gb of memory. Please help....
ambitious-aqua
ambitious-aqua1/31/2025

Compute Time

Hello, in the free plan the computing time is 191 hours per month or one time? That is, the usage resets to zero every month on the free plan or not?...
relaxed-coral
relaxed-coral1/31/2025

Unexpected Compute Usage

Hi Team, I'm currently on the free plan as we work through a PoC, and expect to upgrade in the future. I've just received a notification: "You've used 95% of your compute allowance this month." I find this odd, as we have not been active in using Neon over the holiday period. I'm not (necessarily) saying you're wrong but I'm trying to better understand how I'm logging compute hours. When I look Monitoring->System Operations, I see a steady stream of Start Compute/Suspend Compute, every couple of seconds. It's never idle for more than 3 seconds! I do have an integration with Ingest? Could this be the cause, perhaps? Thanks for your assistance,...
exotic-emerald
exotic-emerald1/30/2025

Data transfer

How much data transfer does the launch plan provide me?
correct-apricot
correct-apricot1/30/2025

Why storage is so expensive?

Hey, I am curious - why storage is so expensive? $1.75 / GB / mo is extremely expensive on the Launch plan. I switched to the Scale plan, and yet it's still $1.5 / GB / mo. Am I supposed to switch to the Business plan?...
automatic-azure
automatic-azure1/30/2025

Table section: Something went wrong (not display any data)

Something went wrong (not display any data)
stormy-gold
stormy-gold1/29/2025

Tables Not Showing in Neon DB Console

I am using Neon DB, and one day, the "Tables" section in the console suddenly stopped displaying anything (see attached screenshot). The page loads completely without any error messages, and I haven’t changed any settings. Does anyone know what might be causing this issue? Any help or suggestions would be greatly appreciated....
No description
harsh-harlequin
harsh-harlequin1/28/2025

Free Tier Out of Space Without Uploading Data

I’m using the free tier, and I’ve run out of space, but I haven’t uploaded any data or even created any tables. What can I do?
exotic-emerald
exotic-emerald1/28/2025

Gcp timeline

Hi. Is there a timeline for neon offering in gcp?
other-emerald
other-emerald1/26/2025

Limit reached when using only 25% storage

Is this a bug? it makes no sense, i don't have any indexes or anything and seeing the size of the database with GUI apps or just even archiving whole database only results in 80-120MB usage, while it's saying on one side that my limit is reached ??
No description
rival-black
rival-black1/26/2025

Error while configuring neon drizzle

I tried different drivers (d1-http, pg, pglite, aws-api and so on) still the error is still prevailing
No description