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)

Tom's Hardware's 30th Anniversary

https://www.tomshardware.com/pc-components/toms-hardwares-30th-anniversary-from-dip-switches-and-...
1•cebert•2m ago•0 comments

Websites Were Built Before Flexbox and Grid

https://www.jstools.space/blog/css-before-flexbox/
1•javatuts•9m ago•0 comments

Show HN: Passepartout – Create beautiful photo collages

https://joexo.codeberg.page/passepartout/
1•joexo•14m ago•0 comments

A11y.md – A context system for building accessible software

https://github.com/fecarrico/A11Y.md
1•javatuts•16m ago•0 comments

Has the New Cocaine Arrived?

https://playboy.substack.com/p/has-the-new-cocaine-finally-arrived
6•bookofjoe•17m ago•0 comments

The Wikimedians of the Year 2026

https://diff.wikimedia.org/2026/07/22/meet-the-wikimedians-of-the-year-2026/
1•altilunium•19m ago•0 comments

It's no longer enough to just contribute to open source

https://write.as/6fkj8gxtfcw3d
2•garn810•19m ago•0 comments

Show HN: iOS Style Bottom Sheet in Vanilla JavaScript

https://www.cssscript.com/ios-bottom-sheet/
1•mushstory•19m ago•0 comments

The $5k tell: AI vendors are selling you human QA for their own AI

https://okaneland.com/study/the-5000-dollar-tell/
1•ermantrout•22m ago•0 comments

Ask HN: When will the AI version of 911 happen?

3•dfps•25m ago•2 comments

There Are Only Four Billion Floats–So Test Them All (2014)

https://randomascii.wordpress.com/2014/01/27/theres-only-four-billion-floatsso-test-them-all/
1•downbad_•27m ago•0 comments

Show HN: Cordial — Roblox on Linux, Fully Open source, Yours

https://github.com/luohoa97/cordial
2•neil_luo•29m ago•1 comments

Buğuyu Silmeden Manzarayı Göremezsin

https://ruhumdan.substack.com/p/buguyu-silmeden-manzaray-goremezsin
2•Banuche•31m ago•0 comments

China's free Kimi K3 AI model shakes up global tech market

https://restofworld.org/2026/china-moonshot-kimi-k3-free-sovereign-ai/
3•donohoe•31m ago•0 comments

Agreement Is Not Understanding

https://ianberdin.com/essays/agreement-is-not-understanding
2•ianberdin•33m ago•0 comments

See in yourself. Then, evolve at sleek.silisleek.com

2•silisleek•36m ago•0 comments

Show HN: How I learn and review jargon of different fields nowadays

https://jargon-gym.vercel.app
1•behnamazimi•39m ago•0 comments

Giving and taking credit in big tech companies

https://www.seangoedecke.com/giving-and-taking-credit/
1•lalitmaganti•39m ago•0 comments

Designing APIs for Agents

https://webflow.com/blog/designing-apis-for-agents
1•msolujic•39m ago•0 comments

Show HN: Loop-me – my simple generative art loop project

https://john-paul-ruf.github.io/loop-me/
3•john_paul_ruf•43m ago•0 comments

Twenty Years of RISC OS Open

https://www.riscosopen.org/news/articles/2026/06/20/twenty-years-of-risc-os-open
16•AlexeyBrin•46m ago•1 comments

F*: A general-purpose proof-oriented programming language

https://fstar-lang.org/
2•ducktective•51m ago•0 comments

An exam leak in India exposed a Gen Z jobs crisis that goes much deeper

https://www.cnbc.com/2026/08/02/india-exam-leak-protests-jobs-crisis-gen-z-unemployment-modi.html
4•cramer4next•55m ago•0 comments

The future is for everyone [video]

https://www.youtube.com/watch?v=JlRgRmAqoAc
1•firstSpeaker•55m ago•0 comments

When Verification Explores Too Far: LLM Test Coverage vs. Validity

https://zenodo.org/records/21758550
1•haitamk•55m ago•0 comments

Show HN: DesktopAudio, a tool to record what your Mac plays

https://desktopaudio.app/
1•AquiGorka•56m ago•0 comments

The TEMU-Fication of Software, Digital Goods and Services

https://xn--gckvb8fzb.com/the-temu-fication-of-software-digital-goods-services/
3•wrxd•1h ago•0 comments

Show HN: Handoff is await human() for AI agents

https://github.com/OmegaAgent/handoff
1•LivingGlitcher•1h ago•1 comments

Transformer Models in Financial Forecasting: Outperforming LSTMs

https://algo-finance.com/ai/machine-learning/transformer-models-financial-forecasting-2026/
1•anonymoussala•1h ago•0 comments

Velocity a proof of linear-scaling long context for existing LLMs, no retraining

https://github.com/Veloresearch/velocity-mta-proof
1•Veloresearch•1h ago•0 comments