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)

Show HN: An iOS budget app I've been maintaining since 2011

https://primoco.me/en/
2•Priotecs•2m ago•0 comments

Earn Money and Take a Shower

https://gagadget.com/en/691597-earn-money-and-take-a-shower-the-superheat-h1-boiler-which-heats-w...
1•majkinetor•4m ago•0 comments

Ten Papers That Built the AI We Have Today

https://deadneurons.substack.com/p/ten-papers-that-built-the-ai-we-have
1•nr378•5m ago•0 comments

IsoCity is a open-source isometric city-building simulation game

https://github.com/amilich/isometric-city
1•Brajeshwar•5m ago•0 comments

A pink aesthetic wallpaper hub for makers/creators, with built-in AI edit tools

1•xiaolu627•6m ago•0 comments

Mississippi Transformed Its Schools from Worst to Best

https://www.nytimes.com/2026/01/11/us/mississippi-schools-transformation.html
1•jbredeche•7m ago•0 comments

We update our credit pricing from $4 to $5 per PR as of today due to increasing

https://gitauto.ai/blog/how-to-open-pull-requests-from-github-issues
1•nishiohiroshi•9m ago•0 comments

Show HN: Pdftl – pdftk in Python with pipelines, AES-256, geometry and more

https://github.com/pdftl/pdftl
1•pdftl-dev•9m ago•1 comments

We were tricked: How one woman lures foreign men to fight on Russia's front line

https://www.bbc.com/news/articles/ce9yv4gmn9lo
1•breve•11m ago•0 comments

Claims about AI productivity improvements

https://marginalrevolution.com/marginalrevolution/2026/01/claims-about-ai-productivity-improvemen...
1•smitty1e•15m ago•0 comments

Show HN: What is wrong with the current coding agent workflow

https://phantomx.dev/blog/What-is-wrong-with-current-coding-agent-workflow/
2•daemon_9009•17m ago•0 comments

AWS Lambda for GenAI: The Real-World Architecture Guide (2026 Edition)

https://www.rack2cloud.com/aws-lambda-genai-architecture-guide/
1•NTCTech•17m ago•0 comments

Hegseth Announces Grok Access to Classified Pentagon Networks

https://www.newsweek.com/hegseth-announces-grok-access-to-classified-pentagon-networks-11349020
5•_____k•21m ago•1 comments

Apple: You (Still) Don't Understand the Vision Pro

https://stratechery.com/2026/apple-you-still-dont-understand-the-vision-pro/
2•verganileonardo•23m ago•1 comments

Ralph Wiggum went from 'The Simpsons' to the biggest name in AI

https://venturebeat.com/technology/how-ralph-wiggum-went-from-the-simpsons-to-the-biggest-name-in...
1•doppp•24m ago•0 comments

I Got Scammed

https://future.forem.com/om_shree_0709/i-almost-fell-for-a-last-wish-scam-heres-what-you-need-to-...
1•OmShree0709•25m ago•1 comments

Forward Compatible Unions in TypeScript

https://www.speakeasy.com/blog/open-unions-typescript-type-theory
1•mfbx9da4•25m ago•0 comments

Most Popular Computer Operating Systems 1981 – 2025 [video]

https://www.youtube.com/watch?v=COEyINLyAsE
1•lutusp•30m ago•1 comments

Ask HN: What's the best solution to query a code repository as of today?

1•epolanski•31m ago•0 comments

Show HN: Watchfolio – TV show ratings as stock market charts

https://watch-folio.vercel.app/
1•abishekvenkat•31m ago•0 comments

Servo is starting to become usable

https://book.servo.org/building/building.html
2•hagbard_c•32m ago•1 comments

Hybrid Search in PostgreSQL: The Missing Manual

https://www.paradedb.com/blog/hybrid-search-in-postgresql-the-missing-manual
2•thunderbong•33m ago•0 comments

Meta Plans to Cut Around 10% of Employees in Reality Labs Business

https://www.nytimes.com/2026/01/12/technology/meta-layoffs-reality-labs.html
4•_____k•35m ago•1 comments

Russian Trademark Poachers Are Targeting Brands Like Armani and Amazon

https://www.bloomberg.com/news/articles/2025-11-13/russian-trademark-poachers-target-brands-like-...
1•throwaway290•37m ago•0 comments

Jangoro – A decision ledger for product teams

https://jangoro.com
1•isaaksmart•38m ago•1 comments

Mark Zuckerberg says Meta is launching its own AI infrastructure initiative

https://finance.yahoo.com/news/mark-zuckerberg-says-meta-launching-214443279.html
1•_____k•38m ago•0 comments

Rethinking Helix

https://asta.boserup.eu/forest/rethinking-helix/
2•birdculture•42m ago•0 comments

U.S. Emissions Jumped in 2025 as Coal Power Rebounded

https://www.nytimes.com/2026/01/13/climate/us-emissions-2025-coal-power.html
17•fleahunter•43m ago•1 comments

Domains and Resources in Ash for Elixir

https://blog.appsignal.com/2026/01/13/domains-and-resources-in-ash-for-elixir.html
1•amalinovic•43m ago•0 comments

UK Expands Online Safety Act to Mandate Preemptive Scanning

https://reclaimthenet.org/uk-expands-online-safety-act-to-mandate-preemptive-scanning
5•aftergibson•43m ago•0 comments