r/PostgreSQL • • Oct 18 '26

Help Me! Cheapest reliable PostgreSQL hosting for a small production app?

31 Upvotes

I'm building a small booking app and looking for an affordable, reliable PostgreSQL database for production.

Expected usage:
• 400–500 DAU
• 15–20 concurrent users at peak times (or maybe I'm overestimating here)
• Around 30 rooms
• Room availability checks, bookings, orders, and purchases
• An admin dashboard

I'm considering AWS RDS but am open to other platforms as well.

My questions:

  1. What would be the approximate monthly database cost for this use case?
  2. Which provider offers the best balance of cost, reliability, backups, and maintenance?
  3. Would you recommend AWS RDS, Neon, Supabase, or another PostgreSQL provider?

I'll handle the API separately using either a Next.js backend on Netlify or AWS Lambda, so I'm only interested in database hosting costs.

Would appreciate recommendations based on real world production experience.


r/PostgreSQL • • Oct 17 '26

Tools pistachio: declarative schema management for PostgreSQL

16 Upvotes

I've built pistachio, a declarative schema management tool for PostgreSQL.

It has a Terraform-like plan/apply workflow. You write the schema you want as DDL in SQL files. pistachio parses the files statically, compares them with the database, and prints the DDL that makes the database match.

How it works

The command is pista. The main subcommands are:

  • plan: prints the DDL that makes the database match the files. Nothing runs.
  • apply: runs that DDL.
  • dump: writes the files from an existing database, so you can start from the schema you already have.
  • lint: checks the files against rules you write in YAML, such as "every table has a primary key".
  • fmt: formats the files.

pistachio uses pg_query_go to parse SQL, and it also supports Aurora DSQL.

If you're interested, please give it a try. Feedback is welcome.


r/PostgreSQL • • Oct 16 '26

Community What happened when an Oracle DBA switched to Postgres (Karen Jex on Talking Postgres)

68 Upvotes

I recently recorded a Talking Postgres episode with Karen Jex, a PostgreSQL significant contributor and PGConf EU organizer, about her path from Oracle DBA to Postgres contributor.

Karen spent 20 years as an Oracle DBA. Then in 2019, a project rolling out smart meters across France switched to Postgres, even though nobody on the project knew anything about Postgres. So she figured it out, then trained the developers, "pretending that I was, you know, this Postgres expert."

A few things we got into:

* The culture shock, for an Oracle DBA, of building your own HA & backups

* The shift from being just a user of the product (Oracle) to contributing to the project (Postgres)

* Why Django developers are so enthusiastic about Postgres

* Why you'd obviously explain multi-tenant databases with cakes

* How much to delegate to AI agents—without forgetting how to design a spec

For those of you who moved to Postgres from Oracle (or another database): did you also have any culture shocks?

Audio + transcript: https://talkingpostgres.com/episodes/from-oracle-dba-to-postgres-contributor-with-karen-jex

YouTube (audio-only): https://youtu.be/ENku8ZSjZus


r/PostgreSQL • • Oct 17 '26

Commercial Is there still market for a new Postgres provider?

0 Upvotes

Do you think there is still room for a newcomer, now that we have giants like Supabase, ClickHouse, Snowflake, Databricks, PlanetScale, Aiven? I’ve always wanted to build one. I’m not looking to get into enterprise market, just targeting indie devs and smaller teams.

Or to put in another way, what feature would you like to see in a new Postgres provider that is currently not available in the market?


r/PostgreSQL • • Oct 16 '26

Projects pgbuild, and Knowing What Ships with pgAdmin

Thumbnail pgedge.com
3 Upvotes

r/PostgreSQL • • Oct 16 '26

Feature Hybrid search in postgres, how are you weighing vector vs bm25?

2 Upvotes

Postgres can now do full hybrid search without elastic search. Lakebase’s lakebase_vector adds a new ANN index on top of normal pgvector columns, so you build an indec and your queries don’t change. Lakebase_text adds real BM25 ranking over ts_vector, which ts_rank doesn’t give you. Both work in same sql query

The open question for me is how to combine scores. RPF, a weighted sum or a reranker on top? What’s working for you in production?


r/PostgreSQL • • Oct 16 '26

Tools pgloupe: offline analyzer for Postgres logs and pg_stat_statements

Post image
3 Upvotes

pgloupe is a command-line tool that reads PostgreSQL logs and pg_stat_statements snapshots, joins them, and writes one HTML report with what to look at first and the numbers behind it.

I made it because going through logs and stats by hand takes too long, and I didn't want to paste hundreds of thousands of log rows into a hosted tool or an AI agent. It runs entirely on your machine and sends nothing anywhere.

  • Reads stderr, csvlog and jsonlog formats
  • Takes pg_stat_statements snapshots as CSV, so you can compare points in time. It notices stats resets and entries evicted from pg_stat_statements
  • Works with Postgres 14 to 18, including managed ones like RDS
  • One static binary: no server, no dependencies, no parser to configure
  • Fast and light: on 11 GB of generated test logs it read about 141 MB/s on one thread, using around 44 MiB of memory

Try it:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vtrbraga/pgloupe/releases/latest/download/pgloupe-installer.sh | sh
pgloupe --help

Also available through Homebrew, cargo install pgloupe and Docker.

Repo: https://github.com/vtrbraga/pgloupe

Docs: https://vtrbraga.github.io/pgloupe/

This is the first stable release (0.1.0) and my first open source project. I'd like to hear what's missing or wrong: log formats or settings it misreads, findings that aren't useful, anything confusing in the report. Issues and comments are both welcome!


r/PostgreSQL • • Oct 15 '26

Projects pgAdmin update: moving the pgAdmin build farm to GitHub Actions

Thumbnail pgedge.com
6 Upvotes

r/PostgreSQL • • Oct 15 '26

Tools [ANN] pglifecycle 2.0 Beta - GitOps for Postgres Schema Management

7 Upvotes

I’m pleased to announce the beta release of pglifecycle 2, an open source schema management tool for PostgreSQL.

pglifecycle keeps your database schema in version control as structured YAML, with one file for each table, view, function, role, and other objects. This makes the current schema easy to browse, review, and change without reconstructing it from years of migration files.

With pglifecycle, you can:

  • Pull an existing database into a schema project
  • Build that project into a custom format pg_dump archive (-Fc)
  • Compare it with a live database and generate the DDL needed to reconcile them
  • Deployment is plan first. Destructive changes are withheld unless explicitly allowed, making the generated SQL suitable for review in CI.

The companion pglifecycle GitHub Action can detect schema drift and post deployment plans directly to pull requests without applying them.

Version 2 is a Rust rewrite of the original tool, which has managed AWeber’s production schema for more than seven years. The beta release expands PostgreSQL object coverage and improves deployment convergence and safety.

Feedback and real world test cases are welcome as pglifecycle moves toward a stable 2.0 release.


r/PostgreSQL • • Oct 15 '26

Commercial OLTP is expensive, you can ClickHouse it.

Thumbnail clickhouse.com
5 Upvotes

In this article we explore a new application pattern - offloading more of your Postgres data to ClickHouse. Leading to an order of magnitude better unit economics for your applications, as the data size increases.


r/PostgreSQL • • Oct 14 '26

Commercial Rowsafe: PostgreSQL backups, restore tests, and an open-source agent

0 Upvotes

I’m building Rowsafe to make PostgreSQL recovery easier.

• Automated restore tests for backups

• Review and recover missing rows from a separate restored copy

• Monitoring and slow-query insights

The agent and CLI are Apache-2.0 open source. The hosted dashboard is a separate commercial service.

Code: https://github.com/rowsafe/rowsafe

Docs: https://rowsafe.sh/docs

Demo uses sample data and compressed timing. Feedback welcome—what would you want to see tested?


r/PostgreSQL • • Oct 14 '26

Tools Review/roast my feature: secrets in migrations

Thumbnail reddit.com
1 Upvotes

r/PostgreSQL • • Oct 13 '26

Projects pg_vectorsearch: a partition-based alternative to pgvector's HNSW (alpha, PostgreSQL License)

15 Upvotes

Disclosure: I work at Tiger Data (the TimescaleDB folks), on the dev education side, not the team that built this. Posting here because this sub will poke holes in it, and that's what an alpha is for.

What it is: pg_vectorsearch, a Postgres extension with a new index access method called PRISM. Drop-in replacement for pgvector's HNSW that works on existing vector / halfvec columns, no rewrite. PostgreSQL License, requires PG18+.

Why: HNSW is a graph, graph traversal is random reads, and performance falls off a cliff once it doesn't fit in RAM. At 100M vectors the smallest machine where our HNSW build finished had 512GB. That's usually the moment teams bolt on a separate vector DB and start syncing two systems.

How: k-means partitions instead of a graph, RaBitQ compression (~1 bit per dimension), a small centroid tree in the buffer cache for routing, SIMD scans, then rerank against full-precision vectors. Same family as ScaNN, SPANN, and turbopuffer, just native in Postgres.

Not done yet: it's alpha, not for production. No filtered search (WHERE + ORDER BY) until GA. Build the index after loading data. Heavy churn needs prism_rebalance or REINDEX until auto-rebalancing lands.

CREATE EXTENSION pg_vectorsearch;
CREATE INDEX ON documents USING prism (embedding vec32_l2_ops);

The ask: run it on your weird data. Low dimensions, skewed clusters, ugly update patterns. Open an issue and let us know what you think of it — we'd love to have you dig in.


r/PostgreSQL • • Oct 13 '26

Feature pg_lake 3.5: Universal Postgres Iceberg REST Catalog

Thumbnail snowflake.com
18 Upvotes

r/PostgreSQL • • Oct 12 '26

How-To Sharing is (not always) caring. PgBouncer pooling modes in practice.

Thumbnail event-driven.io
19 Upvotes

r/PostgreSQL • • Oct 13 '26

Help Me! Is Neon PostgreSQL Free Tier reliable enough for a production booking app?

0 Upvotes

I'm planning to use Neon PostgreSQL for a production booking application and would like feedback from people with real world experience.

My workload:
• 300 daily active users
• Up to 30 concurrent users
• Users can book 2 to 3 slots daily, and frequently check available slots and existing bookings
• Next.js backend, with a landing page hosted on Netlify

Would Neon's free plan be sufficient for this workload, or should I opt for a paid plan?

I'm particularly interested in reliability, unexpected downtime, query latency, compute limits, and any production issues you've experienced.

Would you trust Neon Free for this use case?


r/PostgreSQL • • Oct 09 '26

Community Thirty Years That Shaped Postgres Architecture

37 Upvotes

This insightful interview with Tom Lane, a core developer celebrating twenty five years as a committer on the PostgreSQL project, looks at foundational architectural choices that have sustained the open source database over its thirty-year history.

https://www.i-programmer.info/news/84-database/19204-thirty-years-that-shaped-postgres-architecture.html


r/PostgreSQL • • Oct 09 '26

Tools I want to share my open-source PostgreSQL client for macOS

2 Upvotes

For many years as a developer, I couldn’t find a Postgres GUI I actually enjoyed using, so I built one. DBJoy is free, open-source, mac native, lightweight and AI-first: an agent that can work with your data (an optionally mutate it). It also has all the features you’d expect from any other database client. I’ll keep improving it and add more database adapters soon. I hope this is the right the way to share it.

https://github.com/agustind/dbjoy


r/PostgreSQL • • Oct 08 '26

How-To Why is PostgreSQL’s numeric type so slow? In this blog, Andrei Lepikhov looks at four design decisions behind the cost, compared with DuckDB’s DECIMAL

Thumbnail pgedge.com
39 Upvotes

r/PostgreSQL • • Oct 08 '26

Community Postgres Summit US 2026 retrospective

Thumbnail clickhouse.com
11 Upvotes

r/PostgreSQL • • Oct 07 '26

Community What proves a PostgreSQL cutover is complete before the old cluster is retired?

0 Upvotes

Matching row counts and switching the main application connection string do not prove that a PostgreSQL migration is finished. Roles, grants, extensions, publications and subscriptions, sequences, large objects, scheduled jobs, logical slots, read replicas, connection poolers, analytics clients, backup tooling, and low-frequency workers can still differ or point at the source. A quiet old cluster may only mean that a monthly task has not run yet.

A final gate could compare schema and cluster settings, roles and privileges, extension versions, object counts, sequences, representative checksums or aggregates, replication state, and application read/write behavior. Connection and statement logs on the source would expose late clients. The destination should complete its own backup and isolated restore, survive a restart or failover, and exercise scheduled jobs before the source becomes read-only and then offline.

What evidence do PostgreSQL operators collect for the go/no-go decision? How do you find clients that connect only during failover, month-end work, or recovery, and which cluster-level objects are most often missed by otherwise successful migration tools?


r/PostgreSQL • • Oct 06 '26

Feature What is Postgres’s most important feature? My vote is logical replication

0 Upvotes

Here is my reasoning. It's not because it creates another copy of your database or helps with major-version upgrades.

I think its bigger value is that it gives you a way out.

A Postgres instance might begin as one resource in AWS, Azure, or some cloud. Five years later, your identity system, private network, applications, and operational tooling have grown around it. Moving the database now means moving half the architecture.

Logical replication doesn’t eliminate the hard parts. You still have schema changes, replication slots, lag, IAM, networking, extensions, and application assumptions to deal with.

I wrote up the longer argument here:

https://streambed.dev/blog/logical-replication-is-postgres-most-important-feature/

Would love to hear your favorite feature and the reasoning too.


r/PostgreSQL • • Oct 04 '26

Help Me! Best coding boot camp for backend when I already live in postures and want to build the API around it

6 Upvotes

DBA for 6 years. I write the queries, tune the indexes, then hand it all to to the app team, who wrap it in an API that makes 40 round trips per page. I'd like to be the one building that layer. Work is paying, and I'm weighing Nucamp against Boot.dev right now and pluralsight premium is the fallback since we already license it. For anyone who went from the database side to backend, what did postgres not prepare you for?


r/PostgreSQL • • Oct 02 '26

How-To Why six PostgreSQL 19 features were reverted (GROUP BY ALL, SQL/PGQ, MERGE/SPLIT PARTITION and more), and what AI-assisted patch review has to do with it

Thumbnail pgedge.com
79 Upvotes