frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

InfrontJS – An Antiframework for JavaScript Devs

https://www.infrontjs.com/
1•benny00100•58s ago•0 comments

Gravity Recovery and Climate Experiment Follow-On

https://gracefo.jpl.nasa.gov/
1•downboots•2m ago•0 comments

Show HN: Boost social media CTR. Auto generate Open Graph images for website

https://myog.social/
1•hboon•3m ago•0 comments

A Brief Introduction to the Basics of Game Theory

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1968579
1•7777777phil•6m ago•0 comments

Sophisticated Simplicity of Modern SQLite

https://shivekkhurana.com/blog/sqlite-in-production/
1•enz•7m ago•0 comments

Google's Universal Commerce Protocol (UCP)

https://developers.googleblog.com/under-the-hood-universal-commerce-protocol-ucp/
1•Brajeshwar•7m ago•0 comments

SOS from the Dream They Overlooked: Project NoBounds Is Calling the Black Sheep

1•prettypinkdress•8m ago•0 comments

US prosecutors launch criminal investigation into Federal Reserve chair

https://www.theguardian.com/business/live/2026/jan/12/us-prosecutors-criminal-investigation-feder...
1•wslh•8m ago•0 comments

Hours in, the Iranian internet blackout continues

https://mastodon.social/@netblocks/115880269709982943
2•ukblewis•12m ago•2 comments

ChatGPT in Systematic Investing

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5680782
1•7777777phil•14m ago•0 comments

Show HN: ZCCInfo – Fast status line for Claude Code written in Zig

https://github.com/tuananh131001/zccinfo
1•tuananh131001•16m ago•0 comments

Gato AI Translations: Released v16 with custom AI prompts and menu translation

https://gatoplugins.com/blog/released-v16-with-custom-prompts-and-menu-translation
1•leoloso•19m ago•0 comments

Solar panels on land used for biofuels: enough electricity for all cars/trucks

https://ourworldindata.org/biofuel-land-solar-electric-vehicles
2•ndr42•21m ago•1 comments

A Big Little Idea Called Legibility (2010)

https://www.ribbonfarm.com/2010/07/26/a-big-little-idea-called-legibility/
1•vismit2000•28m ago•0 comments

Show HN: A Clean Subnet Mask Cheat Sheet

https://subnetmaskcheatsheet.com
1•brianchanwh•28m ago•0 comments

Tell HN: Auto-download in Apple Podcasts is so unreliable it's basically useless

2•garyfirestorm•29m ago•0 comments

A simpler and more efficient fixed point iterative scheme

https://arxiv.org/abs/2601.05731
1•7777777phil•31m ago•0 comments

What Happens When Superhuman AIs Compete for Control? (From "AI 2027" Project)

https://blog.ai-futures.org/p/what-happens-when-superhuman-ais
2•TMWNN•32m ago•0 comments

Tired of code models giving you code iterations that crashes in production?

https://www.respcode.com
1•noormoha•32m ago•1 comments

Exact significance tests for 2 × 2 tables

https://janhove.github.io/posts/2024-09-10-contingency-p-value/
1•dbaupp•34m ago•0 comments

A personal password manager that works over SSH

https://alexlance.blog/encryption.html
1•alance•34m ago•1 comments

TweetGrok Twitter Viewer – Browse Public Tweets Without Logging In

https://tweetgrok.ai/twitter-viewer
1•Jennyyyy111•37m ago•1 comments

Three Inverse Laws of Robotics

https://susam.net/inverse-laws-of-robotics.html
3•todsacerdoti•37m ago•0 comments

Cloudflare CEO threatens the Winter Olympics after Italy slugs it with a fine

https://www.theregister.com/2026/01/12/cloudflare_vs_italy/
3•beardyw•40m ago•0 comments

Ideas are cheap, execution is cheaper

https://davekiss.com/blog/ideas-are-cheap-execution-is-cheaper/
1•grncdr•40m ago•0 comments

The great calculator debate: Educators disagree over their place in the classro

https://www.csmonitor.com/1986/0509/dcalc-f.html
2•todsacerdoti•45m ago•0 comments

SoleKey – A password manager with no PIN recovery, by design

https://play.google.com/store/apps/details?id=com.mdr.yapm&hl=en_US
1•ping_pundit•46m ago•1 comments

Show HN: I built a tool to visualize the Peter Thiel stock portfolio (13F data)

https://www.13radar.com/guru/peter-thiel
2•PanicSellGuru•53m ago•0 comments

Exasol Personal – Democratizing Big Data Analytics

https://www.exasol.com/blog/introducing-exasol-personal/
1•astigsen•56m ago•0 comments

Most US Gen Zers and millennials listen to about three hours of AI music a week

https://sherwood.news/markets/morgan-stanley-most-gen-zers-and-millennials-in-the-us-listen-to-ab...
2•croes•1h ago•0 comments