frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•1y 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•1y ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•1y 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)

NirCmd – Windows command line tool

https://www.nirsoft.net/~nirsoft/utils/nircmd.html
1•thunderbong•7m ago•0 comments

Paul Pelosi in hit-and-run in Napa County wine country, police say

https://www.sfgate.com/news/politics/article/paul-pelosi-in-hit-and-run-in-napa-county-wine-22332...
1•turtlegrids•8m ago•0 comments

BESS deployment to escalate as lenders see the light

https://tamarindo.global/insight/analysis/bess-deployment-to-escalate-as-lenders-see-the-light/
1•zeristor•8m ago•0 comments

Fast Software, the Best Software

https://craigmod.com/essays/fast_software/
1•ustad•13m ago•0 comments

Electronic Engineers Master Catalog

https://archive.org/details/electronicengine00unse_8
1•ustad•15m ago•0 comments

Reducing Assumptions, Exploding Your Code

https://ryelang.org/blog/posts/reducing_assumptions_but_exploding/
2•mpweiher•17m ago•0 comments

Dark Mode with Web Standards

https://olliewilliams.xyz/blog/dark-mode/
2•thm•21m ago•0 comments

Splitzen – Split group expenses with one link, no sign-up

https://getsplitzen.vercel.app
1•piprads•21m ago•0 comments

Authors Sue Anthropic for $75M

https://theguptalog.blogspot.com/2026/07/100-authors-sue-anthropic-for-75m.html
1•guptalog•23m ago•0 comments

Show HN: WakaWiki, a CLI that maintains agent documentation for your codebase

https://github.com/sonyarianto/wakawiki
1•sonyarianto•23m ago•0 comments

Meta's Brain2Qwerty v2: A non-invasive brain-computer interface

https://facebookresearch.github.io/brain2qwerty/
1•mgh2•23m ago•0 comments

Codex Threads

https://github.com/kcosr/codex-threads
1•handfuloflight•28m ago•0 comments

New Android security setting spots bad networks and fake cell towers

https://www.zdnet.com/article/android-security-setting-spots-bad-networks-and-fake-cell-towers-ho...
2•tlhunter•29m ago•0 comments

Will co-located solar and BESS be the main driver of Europe's energy transition?

https://tamarindo.global/insight/analysis/will-co-located-solar-bess-be-the-main-driver-of-europe...
1•zeristor•33m ago•0 comments

Hunch – a Git-native decision graph your AI assistant obeys

https://hunch-pi.vercel.app
1•huchdave•34m ago•0 comments

Mysterious debris could be 'space balls'– may contain toxic rocket fuel

https://www.theguardian.com/australia-news/2026/jul/05/mysterious-debris-found-on-queensland-beac...
4•defrost•36m ago•0 comments

Nuclear Startups Hit a Big Milestone. Why It Matters–and Why It Doesn't

https://www.wired.com/story/nuclear-startups-hit-milestone-why-it-matters/
4•joozio•37m ago•0 comments

Agentsnap – find which config change broke your AI agent

https://drive.google.com/file/d/1oPTmOOkBtE0IRV4oy0K4NuuLxYBezXRc/view?usp=sharing
1•Gladi•41m ago•0 comments

Light Painting Tutorial, How to Light Paint a Light Man(2016)

https://lightpaintingphotography.com/light-painting-photography/light-painting-tutorial-how-to-li...
1•hopelessluca•47m ago•0 comments

GetSuperpower, an installable skill tree for coding agents

https://github.com/0xroylee/getsuperpower
2•1997roylee•48m ago•0 comments

'It's whack-a-mole': how Europe's smart border melted down

https://www.ft.com/content/3ed70f64-7443-4241-ac0f-38eabe218913
2•thm•51m ago•1 comments

Bending Spoons built a $23B tech empire from struggling brands

https://www.ft.com/content/040aac86-f458-400b-a353-7ff2ee5aa34f
3•mmarian•51m ago•1 comments

Notion based no code form builder

https://ndbforms.myurll.in/
1•nookeshkarri7•52m ago•0 comments

The Graduate-School Dropout Toppling China's Academic Stars

https://www.wsj.com/science/the-graduate-school-dropout-toppling-chinas-academic-stars-3c1e5d86
2•alecco•54m ago•1 comments

Toyota's CEO Warns the Company Might Not Survive

https://www.autonocion.com/us/toyota-crisis-chinese-evs/
2•Alien1Being•55m ago•0 comments

Show HN: Devflow CMS – Hybrid CMS Alternative to Joomla, Drupal, and WordPress

https://github.com/getdevflow
1•7mediaws•58m ago•0 comments

Is The Economist Always Wrong?

https://economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
1•andsoitis•59m ago•0 comments

Sollya: An environment and library for safe floating-point code development

https://www.sollya.org/
2•RossBencina•1h ago•0 comments

EV Batteries Are Defying Expectations After Miles

https://www.wsj.com/business/autos/ev-batteries-are-defying-expectations-after-hundreds-of-thousa...
18•apparent•1h ago•9 comments

Fidx – local semantic search in one SQLite file, no LLM at query

https://github.com/williamliu-ai/fidx
1•williamliu_ai•1h ago•0 comments