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)

'Once in 300 years' rain hits Thai city as floods ravage South East Asia

https://www.bbc.com/news/articles/ckg97wx144jo
1•Brajeshwar•4m ago•0 comments

Show HN: InterviewFlowAI – AI phone and Meet interviews for fast screening

https://interviewflowai.com/
1•mukulmunjal•5m ago•0 comments

Unihertz Titan 2

https://www.unihertz.com/products/titan-2
1•harryday•10m ago•0 comments

Show HN: Aithings.dev – a directory for AI tools, resources, and communities

https://www.aithings.dev/
1•rutagandasalim•16m ago•0 comments

New wearable device lets you touch fabric online, read Braille, and more

https://www.popsci.com/technology/touch-websites-wearable-device/
1•velvet_thunderr•17m ago•0 comments

I bought a tiny Chrome extension 3 months ago and it's now my best acquisition

1•mddanishyusuf•17m ago•0 comments

Stride Game Engine 4.3 with .NET 10 Support

https://www.stride3d.net/blog/announcing-stride-4-3-in-dotnet-10/
1•bj-rn•17m ago•0 comments

Scientists capture real-time images of DNA damage and repair

https://www.sciencedaily.com/releases/2025/11/251123085554.htm
2•ashishgupta2209•29m ago•0 comments

Issue Tracker for Claude Code

https://issue-queue.readthedocs.io/en/latest/llm_agents.html#example-claude-code-integration
1•rodmena•33m ago•0 comments

ICE Arrests the Press

https://petapixel.com/2025/11/24/photojournalist-arrested-covering-ice-protest-as-authorities-imp...
6•cypherpunk666•33m ago•1 comments

The lifespan of the Öresund Bridge can be doubled

https://www.lunduniversity.lu.se/article/new-research-lifespan-oresund-bridge-can-be-doubled
1•gnabgib•34m ago•0 comments

Create your own AI version and scale yourself

https://www.myclone.is/blog/ai-digital-personas-revolutionizing-services/
1•rishikksh20•43m ago•0 comments

Rock Paper Scissors Is a Game of Skill

https://collisteru.substack.com/p/rock-paper-scissors-is-a-game-of
1•Collisteru•46m ago•0 comments

Comparing xeus-Haskell and ihaskell kernels

https://www.datahaskell.org/blog/2025/11/25/a-tale-of-two-kernels.html
1•mchav•47m ago•1 comments

The Protocol Labs Vision for Neurotech and Neuro AI [video]

https://www.youtube.com/watch?v=LKYSzA9scns
1•surprisetalk•48m ago•0 comments

Steel composites integrating diamonds and carbon nanotubes

https://akshatjiwannotes.blogspot.com/2025/10/steel-composites-integrating-diamonds.html
1•akshatjiwan•48m ago•0 comments

Wispcraft

https://kaverennedy.substack.com/p/wispcraft
1•surprisetalk•48m ago•0 comments

So Long Firefox, Hello Vivaldi

https://hackaday.com/2025/11/25/so-long-firefox-part-two/
3•thunderbong•53m ago•0 comments

E-cigs during pregnancy impairs uterine artery blood flow and placental function

https://academic.oup.com/toxsci/advance-article-abstract/doi/10.1093/toxsci/kfaf161/8325239?redir...
2•XzetaU8•55m ago•0 comments

Cartesia TTS Partner with Tencent RTC – Demo

https://sc-rp.tencentcloud.com:8106/t/pA
1•shuoxin-wang•56m ago•0 comments

Show HN: Cloakly – Hide notes and apps during coding interview screen-share

https://www.getcloakly.com
1•jaygood•57m ago•1 comments

Oxycodone Uses, Dosage, Side Effects, and Safety Warnings

https://sites.google.com/view/medixway-pharmacy/medixway-trusted-source-for-every-prescription/
1•fffssdsd•58m ago•1 comments

Show HN: An Open-Source, Local-First Agent Framework in Rust

http://github.com/liquidos-ai/autoagents
1•saivishwak•1h ago•0 comments

A Tiny TypeScript Rant

https://mayberay.bearblog.dev/a-tiny-typescript-rant/
1•mugamuga•1h ago•0 comments

CVE-2025-66021: in OWASP Java HTML Sanitizer

https://nvd.nist.gov/vuln/detail/CVE-2025-66021
1•malviyamukul•1h ago•1 comments

Event-Driven Architecture Is Not Event Sourcing: A Necessary Distinction

https://buster.github.io/stuff/eventsourcing.html#
2•buster•1h ago•0 comments

Searching for "abstract" on duck changes the logo into an abstract version of it

https://duckduckgo.com/?q=abstract
1•shujito•1h ago•0 comments

Could a Brain Parasite Explain the MAGA Movement? (Satire)

https://usop.substack.com/p/usop-day-11
2•richardatlarge•1h ago•1 comments

How a US home insurance fix is becoming a problem

https://www.reuters.com/graphics/USA-ECONOMY/FAIR-INSURANCE/lgpdqnqamvo/
3•botacode•1h ago•1 comments

ThunderAI: ChatGPT, Gemini, Ollama in Thunderbird

https://addons.thunderbird.net/en-CA/thunderbird/addon/thunderai/
1•NourEddineX•1h ago•0 comments