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)

All the Cool Kids Are Birding

https://www.theatlantic.com/health/2026/07/birding-millennials-genz/687910/
1•ep_jhu•8s ago•0 comments

Show HN: Free private AI audio tools in the browser

https://offlinetts.com/
1•twainyoung•20s ago•0 comments

How to Start a Successful Freelance Business as a Software Developer (2017)

https://nickjanetakis.com/blog/how-to-start-a-successful-freelance-business-as-a-software-developer
1•downbad_•2m ago•0 comments

Sue (Dinosaur)

https://en.wikipedia.org/wiki/Sue_(dinosaur)
1•thunderbong•10m ago•0 comments

Mirror your GitHub repos to tangled.org automatically

https://synchub.to/
1•wertyk•14m ago•0 comments

The Mighty Big Array of Finn Jensen LA8YB

https://la0by.darc.de/LA8YB_EME_MBA.htm
1•kalehmann•16m ago•0 comments

Facebook Down

https://downdetector.co.uk/status/facebook/
2•RupertWiser•17m ago•0 comments

Perforce charges $500 for training training videos.. and it's AI narrated

https://training.perforce.com/learn/courses/535/p4-helix-core-user-basic
2•TZubiri•21m ago•1 comments

Ask HN: Are you building agents? What do they need access to?

1•asim•21m ago•1 comments

Ollama: All Aboard Open Models

https://ollama.com/blog/all-aboard-open-models
1•inferhaven•22m ago•0 comments

Wolfram LLM Benchmarking Project

https://www.wolfram.com/llm-benchmarking-project/
1•rzk•23m ago•0 comments

Breeze – A High-Performance Go Web Framework with a Built-In Developer Dashboard

https://github.com/nelthaarion/breeze
1•ethanwinters•24m ago•1 comments

The Model Race Hangover

https://adlrocha.substack.com/p/adlrocha-the-model-race-hangover
1•adlrocha•25m ago•0 comments

2026 EuroLLVM – Rust or CHERI?

https://www.youtube.com/watch?v=3YJn2VULv8E
1•pjmlp•25m ago•0 comments

OpenAI reduces Codex Model Context Size from 372k to 272k

https://github.com/openai/codex/pull/33972/files
1•AmazingTurtle•27m ago•0 comments

Some Observations on Kimi

https://xcancel.com/deanwball/status/2078133895766114412#m
1•vrganj•28m ago•1 comments

Show HN: Use the document. Not the personal data

https://www.dokmine.com/
1•not_wowinter13•29m ago•0 comments

FckSignups: Open-source tools. No accounts, emails, tracking–just tools

https://github.com/BraveOPotato/FckSignups
1•wertyk•30m ago•0 comments

Analogies in Nature (1856) [pdf]

https://mimno.infosci.cornell.edu/papers/maxwell-analogies.pdf
1•rzk•32m ago•0 comments

Tech-Infused Pool Hall Startup Raises $55M

https://www.nytimes.com/2026/07/17/business/dealbook/poolhouse-fundraise-topgolf.html
1•gemanor•34m ago•0 comments

Reviewing AI Code Is Not a Viable Argument

https://www.softwaremaxims.com/blog/reviewing-ai-code
2•birdculture•35m ago•1 comments

Will AI Fix Prior Authorization – Or Make It Worse?

https://undark.org/2026/07/15/medicare-prior-authorization-ai/
1•thm•37m ago•0 comments

Valve/Collabora Release Holo Core Custom Aarch64 Arch Linux Port for Steam Frame

https://www.linuxcompatible.org/story/valve-and-collabora-release-holo-core-a-custom-aarch64-arch...
1•_____k•45m ago•1 comments

Email Is Crazy

https://samkhawase.com/blog/email-is-crazy/
1•fagnerbrack•45m ago•0 comments

Same Idea, Different Decade

https://fagnerbrack.com/same-idea-different-decade-4abaa13ed0f0
1•fagnerbrack•46m ago•0 comments

Lean Programming Language

https://lean-lang.org/
2•fagnerbrack•46m ago•0 comments

Prodigy – AI Workforce for professional teams

1•samayashar•47m ago•0 comments

Order of Magnitude Physics a Textbook with Applications to the Retinal Rod(1998) [pdf]

https://www.inference.org.uk/sanjoy/thesis/thesis-letter.pdf
1•nill0•50m ago•0 comments

The Art of Insight in Science and Engineering – Mastering Complexity(2014) [pdf]

https://ocw.mit.edu/courses/res-6-011-the-art-of-insight-in-science-and-engineering-mastering-com...
1•nill0•54m ago•0 comments

SIMD Vectors in the HotSpot JVM [video]

https://www.youtube.com/watch?v=KpCz6UtViEo
1•tosh•57m ago•0 comments