frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•6mo ago
Loved the discussion on this hn post few months ago on Postgres for everything. https://news.ycombinator.com/item?id=42347606 I thought I'd share my thoughts over a separate post. I see a bunch of comments: just don’t do it! I’m glad this is becoming mainstream, and people are realizing that Postgres for everything doesn’t work. Don’t get me wrong—I’m a huge Postgres proponent and have spent 10 years helping customers implement it. However, I’m a strong believer in using Postgres for what it’s designed for in first-place. Postgres was designed as a row-based OLTP database, with over 30 years of effort dedicated to making it robust for that use case.

I know there are many extensions attempting to make Postgres support other use cases, such as analytics, queues, and more. Keep in mind that these extensions are relatively recent and aim to retrofit new capabilities onto a database primarily designed for transactional workloads. It’s like adding an F1 car engine to a Toyota Camry — will that work?

Extensions also have many issues—they are not fully Postgres-compatible. In Citus, for example, we added support for the COPY command 4 years into the company, and chasing SQL coverage was a daily challenge for 10 years. Unable to use the full capabilities of Postgres and having to work around numerous unsupported features defeats the purpose of being a Postgres extension. This was a common feedback across Citus customers - when you say Postgres extension, customers are looking for something that supports all Postgres features! Side note for the Postgres extension companies: Chasing Postgres compatibility and world class performance are ginormous problems and are hard to achieve without laser focus on each of them.

On the other hand, you have purpose-built alternatives like ClickHouse, Snowflake for analytics, Redis for caching, and Kafka for queues. These technologies have benefited from decades of development, laser-focused on supporting specific use cases. As a result, they are highly efficient for their intended purposes.

I often hear that these Postgres extensions are expanding the boundaries of what Postgres can do. While I partly agree, I question the extent to which these boundaries are truly being expanded. In this era of AI, where data is growing exponentially, handling scale is critical for any technology. These boundaries will likely be broken very quickly - A data point here is that in my day-to-day now, I'm seeing AI companies use purpose-built technologies like ClickHouse way sooner. A few years ago, it was a Series A or Series B company that would consider a purpose-built database, now it is Seed stage companies. This is because the amount of data / users to be handled has grown tremendously from the get go and companies are preferring solutions that scale with their workload.

Also I keep hearing these Postgres extension companies say Zero ETL in their positioning, which I don't agree. Let’s take a search or an analytics extension where you want to run analytics on your transactional data. You either need to manage a cron to continuously offload the transactional data to the storage format of the extension or if the extension supports logical replication (not all do), you need to have logical replication setup. And logical replication is ETL! It is painful to manage logical replication - fun fact, at PeerDB, Postgres was the second largest target connector as logical replication was painful to manage, at scale. And yes, you could have capabilities which does the conversion in the background, but that is again a ginormous problem, I think only a few fully fledged databases like Vertica have this feature.

TL;DR: Please think carefully before choosing the right technology as you scale. Cramming everything into Postgres might not be the best approach for scaling your business.

Comments

gjvc•6mo ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•6mo ago
Most use-cases and people/companies don't have the traffic amount where scaling matters that much, so performance gains will be negligible (or even worse) when using a more complex "specialized" stack.

Yes, if you have a large team, building for scale in a VC-funded company, go for dedicated stacks, but if you are just building a start-up where moving fast is important and architecture quickly changes, any DB will do and will not be the bottleneck.

I use Postgres to cache some responses from APIs (max 100 different documents per month) where latency doesn't matter, so using Redis instead would provide no benefit (will actually make it worse, due to its "worse" persistency and third-party integrations capabilities)

Families tracked victims and survivors in real time in Hong Kong tower fire

https://www.abc.net.au/news/2025-11-27/how-families-tracked-hong-kong-fatal-fire-in-real-time-onl...
1•charlieyu1•41s ago•0 comments

Elevating Intelligence via Efficient Model and Tool Orchestration

https://arxiv.org/abs/2511.21689
1•georgehe9•1m ago•0 comments

Ask HN: How many screens do you usually work with?

1•vpaulus•4m ago•0 comments

Show HN: GitHub Activity Analytics Powered by ClickHouse

https://velocity.clickhouse.com/
1•saisrirampur•5m ago•0 comments

Agentic Learner with Grow-and-Refine Multimodal Semantic Memory

https://arxiv.org/abs/2511.21678
1•badmonster•7m ago•0 comments

Artificial 'nose' tells people when certain smells are present

https://www.science.org/content/article/artificial-nose-tells-people-when-certain-smells-are-present
1•ashishgupta2209•10m ago•0 comments

Turning old bread into flour and then into tasty tortillas

https://www.rnz.co.nz/life/food/turning-old-bread-into-flour-and-then-into-tasty-tortillas
1•colinprince•11m ago•0 comments

I run a personal IPv6 BGP network. Netflix is blocking a /64 of our /36. Why?

https://www.neelc.org/posts/netflix-blocks-our-ipv6/
2•ericdiao•12m ago•0 comments

Building a Low-Cost Satellite Tracker

https://hackaday.com/2025/11/26/building-a-low-cost-satellite-tracker/
2•toomuchtodo•17m ago•1 comments

Tesla FSD software may not be approved by EU regulator after all

https://techcrunch.com/2025/11/24/tesla-fsd-software-may-not-be-approved-by-eu-regulator-after-all/
1•gochuks•19m ago•0 comments

BazelCon 2025 Recap

https://blogsystem5.substack.com/p/bazelcon-2025-recap
1•jmmv•20m ago•0 comments

Linux Kernel Explorer

https://reverser.dev/linux-kernel-explorer
1•tanelpoder•20m ago•0 comments

Between Compassion and Respomsibilty

https://rodgercuddington.substack.com/p/between-compassion-and-responsibility
1•freespirt•23m ago•1 comments

Last Issue of "ECMAScript News"

https://ecmascript.news/archive/es-next-news-2025-11-26.html
1•Klaster_1•23m ago•0 comments

Optimizing Ray Tracing in Haskell (2020)

https://medium.com/@s.nawaz/optimizing-ray-tracing-in-haskell-3dc412fff20a
1•todsacerdoti•25m ago•0 comments

AT&T Archives: The Step-by-Step Switch [video]

https://www.youtube.com/watch?v=xZePwin92cI
1•croh•40m ago•1 comments

Ask HN: What's your favorite open-source AI model, and what do you use it for?

1•miletus•42m ago•1 comments

Secrets in unlisted GitHub gists are now reported to secret scanning partners

https://github.blog/changelog/2025-11-25-secrets-in-unlisted-github-gists-are-now-reported-to-sec...
1•tech234a•45m ago•0 comments

Principles of Vasocomputation

https://opentheory.net/2023/07/principles-of-vasocomputation-a-unification-of-buddhist-phenomenol...
2•eatitraw•46m ago•0 comments

Ask HN: Do teams need a tool to make IT architecture diagrams look better

1•lynn_xx•47m ago•3 comments

Contrast best practices between OS and enterprise

https://gist.github.com/bdfinst/496d06b057c44edae7fd88d906e78f67
1•gpi•1h ago•0 comments

OpenAI API user data exposed in Mixpanel security breach

https://www.dqindia.com/news/openai-api-user-data-exposed-in-mixpanel-security-breach-10816218
10•donsupreme•1h ago•3 comments

How to Fix a Typewriter and Your Life

https://www.nytimes.com/interactive/2025/11/20/us/typewriter-repair-seattle-bremerton.html
2•gmays•1h ago•0 comments

Show HN: Era – Open-source local sandbox for AI agents

https://github.com/BinSquare/ERA
4•gregTurri•1h ago•0 comments

The Temporal Uncanny Valley: On the Nature of AI Work

https://substack.com/inbox/post/180071478
2•mpesce•1h ago•1 comments

Fracking has transformed an Argentine town

https://www.bbc.com/news/articles/cewj1e1yk2vo
2•1659447091•1h ago•1 comments

Evaluating Uniform Memory Access Mode on AMD's Turin

https://chipsandcheese.com/p/evaluating-uniform-memory-access
2•zdw•1h ago•0 comments

PostgreSQL CDC library with snapshot – 50x less memory than Debezium

https://github.com/Trendyol/go-pq-cdc
3•erayarslan•1h ago•0 comments

The Thinking Game – Full documentary [video]

https://www.youtube.com/watch?v=d95J8yzvjbQ
2•vinhnx•1h ago•0 comments

Tell HN: Happy Thanksgiving

12•prodigycorp•1h ago•2 comments