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)

Tell HN: "Write less code" now means two different things

1•mikaelaast•3m ago•0 comments

Mac keyboard layout configuration with hidutil

https://amitp.blogspot.com/2023/04/mac-keyboard-with-hidutil.html
1•fanf2•3m ago•0 comments

Lessons from shutting down an AI Fashion Stylist app used by millions

https://prtkagwl.substack.com/p/learnings-from-consumer-ai-fashion
1•btwnplaces•4m ago•0 comments

Google's Technical Writing Courses

https://developers.google.com/tech-writing
1•dvrp•7m ago•0 comments

Why do I need an app for every single thing

https://www.youtube.com/watch?v=1VVwXJ5MVIo
1•gum_wobble•8m ago•0 comments

Software Survival 3.0

https://steve-yegge.medium.com/software-survival-3-0-97a2a6255f7b
1•jaybrueder•13m ago•0 comments

Tell HN: As AI gets better, are scripting languages losing their appeal?

1•delduca•15m ago•0 comments

Better Internet Dashboard UK: visualise the current fibre situation in your area

https://bidb.uk/
1•tomaytotomato•17m ago•0 comments

Google to foist Gemini pane on Chrome users in automated browsing push

https://www.theregister.com/2026/01/29/chrome_gemini_pane/
1•beardyw•17m ago•0 comments

mmdr: 500-1000x faster Mermaid rendering, zero browser dependencies

https://github.com/1jehuang/mermaid-rs-renderer
1•dochtman•18m ago•0 comments

Show HN: An AI chat app with no usage limits and 200+ models

https://tryscout.dev
1•mjupp1•18m ago•0 comments

Show HN: Moltbot state observability and persistance daemon

https://github.com/NmadeleiDev/moltbot_config_watcher
1•Gregoryy•19m ago•0 comments

Show HN: I built an AI Agent that turns prompts into a SaaS explainer videos

https://motionbase.design
1•mpoweredo•20m ago•0 comments

9front "GEFS SERVICE PACK 1" released

https://9front.org/releases/2026/01/24/0/
1•todsacerdoti•21m ago•0 comments

Administration Social Media Posts Echo White Supremacist Messaging

https://www.nytimes.com/2026/01/27/us/politics/white-supremacy-trump-administration-social-media....
1•zerosizedweasle•22m ago•2 comments

Improve your website's SEO fast with the SEO-Audit skill

https://skills.sh/coreyhaines31/marketingskills/seo-audit
2•steve200512•22m ago•0 comments

Add Skills to Your Vercel AI SDK Agent Without Building Infra

https://www.bluebag.ai/blog/add-skills-to-your-ai-sdk-agent-in-minutes
1•ohans•23m ago•1 comments

SQLpipe – move the result of a query from one database to another

https://www.sqlpipe.com/tools/sqlpipe
1•smartmic•24m ago•0 comments

Guardian OS

https://guardianfall.com/guardian_os
1•doener•24m ago•0 comments

Vivaldi 7.8: No AI Slop. Just Powerful Features

https://vivaldi.com/blog/vivaldi-on-desktop-7-8/
2•layer8•25m ago•0 comments

TACL (Programming Language)

https://en.wikipedia.org/wiki/TACL_(programming_language)
1•doener•27m ago•0 comments

I spent $2k on OpenAI before realizing one feature was 70% of it

https://withorbit.io/docs
1•harshit19932703•29m ago•0 comments

Docker 4.58 CPU spiking to high values by running lsof

https://github.com/docker/for-mac/issues/7839
2•phmx•30m ago•0 comments

Apple Creator Studio

https://www.apple.com/apple-creator-studio/
1•Brajeshwar•30m ago•0 comments

Show HN: Sorank All-in-one tool for SEO Agency

https://www.sorank.com/
1•thibaultbessonm•30m ago•0 comments

The Amiga clock icon commemorates the Space Shuttle Challenger

https://old.reddit.com/r/amiga/comments/1qpqt78/the_amiga_clock_icon_commemorates_the_space/
3•doener•33m ago•0 comments

Stunts DOS game mod SuperSight 2.00 released

https://marnetto.net/2026/01/27/camel
2•LowLevelMahn•35m ago•1 comments

Google to pay $135M to settle Android data transfer lawsuit

https://www.reuters.com/sustainability/boards-policy-regulation/google-pay-135-million-settle-and...
2•aspenmayer•35m ago•1 comments

'Halide' Co-Founder Sebastiaan de with Joins Apple's Design Team

https://www.macrumors.com/2026/01/28/sebastiaan-de-with-joins-apple/
1•tosh•37m ago•0 comments

Show HN: I built a vibe coding app for websites

1•heyarviind2•39m ago•0 comments