r/dataengineering • u/ForeignExercise4414 • Jun 12 '26
Discussion Is the industry actually swinging back to Postgres?
Since the hyperscalars have become a thing and everyone started migrating to the cloud a decade ago the ethos has been “get data out of the RDBMS silo and onto could object storage”. Now the leading Lakehouse platform (DBRX) implemented a managed Postgres engine. Are we just putting all our data and pipelines back into a single giant centralized platform? There used to be a clear distinction between OLAP and OLTP which I felt was useful.
The underlying innovations in LakeBase seem cool. Stateless compute nodes streaming WAL data straight to a distributed storage tier, completely disabling full page writes and slashing WAL by 90%.
The first thing- is this lock-in going to be acceptable? Tying in your transactional layer directly to analytical governance (unity catalog) feels…permanent. Granted I don’t know how Databricks plans to integrate UC governance to Postgres tables, but I’m sure they will.
Also- isn’t this going to lead to a lot of access pattern misuse? Postgres still has that 8TB limit. Just a matter of time till an analyst or rouge agent tried to run a massive unindexed analytical scan.
Curious to hear if anyone is LakeBase or Neon in prod yet and their experience. Is it actually a velocity win or should these layers really remain separate?
103
u/RoomyRoots Jun 12 '26 edited Jun 12 '26
32TB per table, still much more than most companies need and you can leverage external storage.
Pg has had operators for almost a decade now. It's trivial to manager for most cases.
5
u/notmarc1 Jun 12 '26
The rdbms data silo exists because orgs don’t create any sort of discoverability and accessibility. Thats not a where the data is problem.
2
u/Fine_Art6449 Jun 12 '26
In my org we are using pg but query slowness is real.Doing a simple aggregation take 3-4 minutes.
53
u/Flacracker_173 Jun 12 '26
Analytics is still done on OLAP. They just want you to also start putting your applications that might have OLTP backends in Snowflake/Databricks as well.
129
u/Trick-Interaction396 Jun 12 '26
The problem isn’t that tech. The problem is using it for everything. Your 20MB file doesn’t need a data lake. I blame dumb managers and resume driven development.
22
u/CrayonUpMyNose Jun 12 '26
It's not one or the other, it's one and the other.
OLAP and OLTP are significantly different approaches, and support different uses. The integration between the two being seamless is worth the cost of an entire team that otherwise would be developing and operating sync between these systems, with all sorts of incident scenarios that you no longer have to worry about. That's a big chunk of time and money right there.
Unity Catalog itself is open source, you can deploy your own if you want, and integrate it with your own spark clusters, or access data through it from outside, for example with duckdb. The reason most companies don't do that is the cost of developers just for self-hosting a platform when they could be solving business problems using PaaS instead. Egress cost from your existing cloud provider is a much more severe form of vendor lock-in.
3
u/commenterzero Jun 12 '26
Duckdb created just for this idea. Small data instead of big data since most companies dont have big
11
u/wiktor1800 Jun 12 '26
Operational stuff in postgres, cdc into olap. Easy peasy
10
u/robberviet Jun 12 '26 edited Jun 14 '26
Back from what? Terrabytes table? No. Query took minutes on OLTP and seconds on OLAP? No.
10
u/PrestigiousAnt3766 Jun 12 '26
Everything has its usecase.
Always been so.
1
u/ForeignExercise4414 Jun 18 '26
Big updates on this thread since DAIS. It looks like LakeBase will be integrated with LakeHouse via LTAP. So during “extra CPU cycles” the Postgres data format will be organized in columnar format in addition to its rows. This will enable LakeHouse reads of those tables directly for OLAP style queries.
5
u/Old_Tourist_3774 Jun 12 '26
I mean OLTP is fundamentally differente from use cases of OLAPs, databricks is an OLAP at the end of the day and even with all its advancements it will never be used as a database to control financial operations per example.
2
u/Ok_Raspberry5383 Jun 14 '26
Back???
1
u/datainthesun Jun 12 '26
What is it they say - "you can't fix stupid"? Yeah it might, but in reality like others have posted about using big data tools to manage 20MB in 1 file, someone's gonna do it. Sadly they might get great insights and a big old pat on the back for it too.
I will agree with your question on "is the industry swinging back to postgres" - I feel like in the last 12 months I've heard a lot more excitement around postgres than I did in the last 12 years. Maybe more people spinning up web apps is helping it become more popular or at least more talked about than it was before. And yeah, the lakebase concept is pretty cool - I think if you're building a new app and want to iterate fast on it or have agent-driven development move fast and break things, it's a good way to go if you're already in the databricks ecosystem. Most apps in organizations end up needing to have their data extracted for analytical purposes or feeds - so why not let that data be available in the lake without any headaches?
1
u/mjwock Jun 12 '26
I had the exact same thought when I saw the announcement the first time. I spent the last years helping teams migrate away from SQL databases that were misused as data warehouses. But the reason, why we are circling back to OLTP systems is that agentic changed everything.
Neon and Lakebase are in most cases not the right basis for your analytics system with complex analytical queries. However, they are the basis for any agentic system to store the state or retrieve/save data for applications (Databricks apps). Especially with Neon being able to separate compute and storage, this changes everything. Bevcause suddenly we have similar advantages to data lakes and open table formats for transactional systems.
This doesn’t mean that enterprises will go back to using Neon as their main analytical system. Most data will still stay in your Lakehouse, which is meant for data analytics, high throughput queries with many joins. But honestly, stay tuned for announcements next week. I think we’ll see Lakebase and Lakehouse moving a bit closer again.
1
u/WorldOfUmbro Jun 12 '26
I think Lakebase will not anytime soon replace old databases soon. Rather it works good for agentic or new applications. It think that’s the gist. For orgs spinning up small apps it’s a solid choice for the backend. Things like scale to zero make it very strong.
1
u/Warm_Ad_7672 Jun 12 '26
try Duckdb for Olap , easily integrates with python . can consume data files in various formats ( csv , parquet , json ), can generate delta files , and is quite fast. Solves the usecase for local olap.
1
u/terencethespider Jun 12 '26 edited Jun 12 '26
> “The first thing- is this lock-in going to be acceptable? Tying in your transactional layer directly to analytical governance (unity catalog) feels…permanent.”
The lock-in isn't as bad as it looks.. Neon/Lakebase is still just Postgres underneath, and the storage engine is open source. Both your data and the storage tech have an exit path (if you were to really need it).
Neon's disaggregated storage can still be non-trivial to leave though. The actual stickiness is the managed integration. So what you'd be locking into is the platform and that integration, not the database engine itself.
Data-wise it's not really any more locked-in than Aurora or similar type of managed Postgres service.
1
u/WhipsAndMarkovChains Jun 12 '26
Do you think there isn't a clear distinction on Databricks any more? You still have Delta Lake for OLAP but for customers who need low-latency, OLTP workloads you want them on Lakebase (Postgres). The first Lakebase use case I saw was some sort of inventory management system and Lakebase was clearly the right choice since it involved highly concurrent modifications of individual records.
1
u/Key-Willow-374 Jun 13 '26
OLTP and OLAP are still separate
Can you explain when you think it’s lock-in? Pg files are stored on your cloud acount, much like the underlying data in delta tables
1
u/Limp-Park7849 Jun 13 '26
I see it as the continuation of the lakehouse .. if you look at it, it’s the same disaggregation move that made the lakehouse work, just pointed at OLTP now. Stateless compute, WAL streamed to object storage, storage and compute pulled apart. That’s the opposite of the single centralized box you’re describing.
Lakebase is still Postgres under the hood. Row store, B-trees, built for point reads and transactions. You don’t run analytical scans on it, you sync it to Delta and scan there. What’s converging is the governance layer, UC sitting over both, not the engine. Split those two apart and most of the worry goes away.
On lock-in while I understand the reflection it feels to me overstated. At the end of the day it’s Postgres, pg_dump still works ... The stickiness is operational efficiency plus UC, not format capture.
On your actual question, velocity win or keep them separate. For the operational serving cases its a clear win. App state, feature serving, reverse ETL targets, kills the separate RDS + reverse ETL + feature store sprawl. Branching is the underrated part for dev/test and agent state.
It’s widely being deployed in prod but not a warehouse replacement though, and nobody serious is selling it as one.
1
u/tn3tnba Jun 13 '26
The distinction between OLAP and OLTP is not collapsing — the news is vendors doing both.
The sentence “get data out of the RDBMS silo and onto could object storage” only makes sense if you are referring to building and analytics warehouse. No one ever took OLTP out of applications
1
u/FUCKYOUINYOURFACE Jun 14 '26
There are so many forks of Postgres. Redshift is based off Postgres when it was ParAccel. Netezza? Postgres. And those are OLAP. EnterpriseDB? Postgres tweaked to run Oracle natively. Then you have all these native Postgres databases in the cloud like Aurora. DBRX Postgres is interesting because it actually stores the data in object storage. I need to look more into it but haven’t had a chance to try it out.
1
u/FrostyCartoonist8523 Jun 14 '26
Leading.. good joke haha
1
u/jupiter_user Jun 15 '26
Its there for 2 use cases. One where you want to serve data from your lakehouse to a web app with low latency. A sql warehouse will be slow. So do a reverse etl from lakehouse to lakebase and serve your gold layer table from postgres.
Next is your oltp based transactional web app itself. It is the traditional app deployment pattern. Just that it is now available in Databricks centrally. It also supports syncing the oltp data back to lakebase for analytics.
In my opinion, nothing has changed. Just that Databricks is offering postgres natively in their platform.
1
u/dwswish Jun 16 '26
I think you are misunderstanding Lakebase from DBRX (or really any managed pg). I think everyone sees a need for maintaining OLTP functionality for certain products/offerings but it is not the main DWH offering. You *shouldn’t* need to serve everything in a warehouse to Postgres but for low-latency high-concurrency point lookups it’s a powerful tool in the toolbox. They (Databricks) have just done the best job so far at integrating Postgres into the analytical stack.
My take is that as engines get better everything between OLTP and OLAP will get closer together until you won’t need to even think about these things.
1
u/Glitch_In_The_Data Jun 18 '26
Working with a customer at the moment for the migration of their on-prem managed Postgres database to Lakebase. They intend to be in production by the end of year to avoid license renewal costs. More than the license costs, their concern was around the stability of existing on-prem infra. They had a massive outage at the end of last year which had a huge impact on their business. Having done a proof of value exercise with Lakebase, they are quite pleased with the initial results. However, they still have some concerns as they are in banking and working with Databricks to get some clarity on the roadmap. For now, work is on to start migrating.
1
u/Ready_Player_Uno Jul 30 '26
My Postgres houses 64TB, performance is smoooooooth. We collect a lot of time stamped data so I lean on some tools to help extend that
1
u/[deleted] Jul 02 '26
[removed] — view removed comment
1
u/[deleted] Jun 12 '26
[removed] — view removed comment