Is anyone working on replacing postgres? Feels like it might be very useful since a lot of new technologies came out since spinning disks.
> Feels like it might be very useful since a lot of new technologies came out since spinning disks. The MVCC that Postgres uses(and no one else) is like 50yo outdated concept they still cling to. So just by virtue of that, it makes PGSQL the most archaic db on the market nowadays. I never understood why PGSQL had so many fanboys, yet every major tech company always ditches it for mysql... i guess it is the case of "A…
Neki – Sharded Postgres by the team behind Vitess
31–40 of 43 posts
Re: Neki – Sharded Postgres by the team behind Vitess
#32Earlier quoted context omitted.
Your probably better off with the original flavor (the guy that made Vitesse) https://multigres.com/ He is making a open source version of porting Vitesse to Postgres.
Why? Neki is built by the the engineers who have built, maintain, and operate massive-scale Vitess databases.
Re: Neki – Sharded Postgres by the team behind Vitess
#33Earlier quoted context omitted.
Your probably better off with the original flavor (the guy that made Vitesse) https://multigres.com/ He is making a open source version of porting Vitesse to Postgres.
Why? Neki is built by the the engineers who have built, maintain, and operate massive-scale Vitess databases.
> I looked Neon recently, and it appears that it's designed as a SaaS product from the outset; while it is technically possible to self-host the individual components of the architecture, it does not look trivial, in large part because the control plane is closed source (and probably extremely specific to Neon's SaaS operations).
This is a good reason to go with multigres vs Neki (assuming Neki gets integrated into planetscale vs a standalone multigres ).
The two announcement's regarding Neki smells like its going to be proprietary or heavily tied into planetscale. See the gauging interest two months ago with sign ups. The current signing up ... Feel very marketing focused.
https://planetscale.com/blog/planetscale-for-postgres#nova-v...
> If your company runs Postgres at a significant scale and this is something that interests you, reach out.
> Sign up for the private preview of PlanetScale for Postgres waitlist here.
https://planetscale.com/blog/announcing-neki
> To stay up to date with the latest developments on Neki you can signup at neki.dev.
Where as the multigres via Supabase points to github repo's, the license, etc...
https://supabase.com/blog/multigres-vitess-for-postgres
> Like Vitess, Multigres will be open source using the same license: Apache 2. You can follow the repo here.
We shall see, but one is running and acting like pure open source project, and another is being announced how the marketing department of a proprietary software company works.
And the timing is interesting. Coincidence that both Neki and multigres got announced right at the same time? I am suspecting there has been some background drama going on with planetscale and supabase. But that is off-topic.
Like i said, and i agree with the poster i responded too: That Neki smells like its going to be tied into planetscale.
Re: Neki – Sharded Postgres by the team behind Vitess
#34I wonder how this compares to YugabyteDB?
These are forks or extensions of Postgresql.
Re: Neki – Sharded Postgres by the team behind Vitess
#35Earlier quoted context omitted.
> Feels like it might be very useful since a lot of new technologies came out since spinning disks. The MVCC that Postgres uses(and no one else) is like 50yo outdated concept they still cling to. So just by virtue of that, it makes PGSQL the most archaic db on the market nowadays. I never understood why PGSQL had so many fanboys, yet every major tech company always ditches it for mysql... i guess it is the case of "A…
By MVCC you mean the kind of MVCC that keeps old versions in the same space / requires vacuum? Because I'm pretty sure Oracle also does multiversioning using their undo log / rollback segment.
In Oracle's database engine, when transaction A updates a row, it begins by reading the old row, updating it in-place, and adding the old row to the undo log. The heap row has a header with a list of transactions currently accessing that row and pointers into the undo log. If a transaction B comes in (while A is still ongoing) and wants to read the row, it startsby reading the current row header, where it sees that someone else has modified it, and then goes to the undo log to read the old version. (This is all very simplified.)
The huge benefit of the undo log is that the main heap doesn't get bloated with old data. Deletes cause holes, of course, but updates do not. Meanwhile, the undo log can be trivially be truncated when rows are no longer needed. Postgres, since it effectively mixes undo data with current versions, needs to do vacuuming. Postgres may win when there's a huge amount of contention around hot spots, but arguably loses when it comes to "normal" transactional volume.
OrioleDB adopts Oracle-style undo logging, among other table layout improvements, and their own OLTP benchmarks show extreme performance improvement over mainline Postgres.
Re: Neki – Sharded Postgres by the team behind Vitess
#36Earlier quoted context omitted.
Why? Neki is built by the the engineers who have built, maintain, and operate massive-scale Vitess databases.
Multigres is made by the guy that made Vitess, Sugu, before it became a startup. Doesn't mean it will be better, but I think it's why people have high hopes for both products.
it is not at all accurate to say that neki is made by "the team that brought you vitess" and that multigres is somehow not
Re: Neki – Sharded Postgres by the team behind Vitess
#37This is exciting. The announcement says it will be open source. I really hope that this includes a functionally complete control plane so you realistically self-host. I looked Neon recently, and it appears that it's designed as a SaaS product from the outset; while it is technically possible to self-host the individual components of the architecture, it does not look trivial, in large part because the control plane i…
Your probably better off with the original flavor (the guy that made Vitesse) https://multigres.com/ He is making a open source version of porting Vitesse to Postgres.
Re: Neki – Sharded Postgres by the team behind Vitess
#38Maybe make the announcement after you've actually released code? Today I'm announcing I've cured cancer. Well not yet, but coming soon hopefully!
Re: Neki – Sharded Postgres by the team behind Vitess
#39I wonder how this compares to YugabyteDB?
Yugabyte is a 'postgresql compatible' database. These are forks or extensions of Postgresql.
https://www.yugabyte.com/blog/yugabytedb-moves-beyond-postgr...
> When we set out to make YugabyteDB Postgres-compatible, we took a fork of Postgres, and modified all of the operations that use shared memory or storage to instead talk to our LSM- and Raft-based distributed storage and transaction layer.
Re: Neki – Sharded Postgres by the team behind Vitess
#40Is anyone working on replacing postgres? Feels like it might be very useful since a lot of new technologies came out since spinning disks.
Who isn't? Cockroach rewrote Postgres in Go. CedarDB rewrote Postgres in C++. And then to lesser degrees you've got Yugabyte, AlloyDB, and Aurora DSQL (and certainly more I'm forgetting) that only replace parts of Postgres.