Remix.run Logo
jacques_chester 3 hours ago

> db9 is a PostgreSQL-compatible distributed SQL database. Your data is stored in a distributed TiKV cluster, and each database (tenant) gets its own isolated keyspace. [0]

I feel like the lede is a bit buried here, bordering on deceptive.

That or the architecture doc is wrong. Both plausible I guess, in this day and age.

[0] https://db9.ai/docs/sql

TheTaytay 11 minutes ago | parent | next [-]

Doltgres actually is a true versioned Postgres under the hood (or MySql).

This sounds really interesting, and I like the ease with which I could spin something up here and get embeddings for sure! But I would think the actual runtime perf of this would be “fine” for some text, but nowhere near Postgres level for all sorts of other stuff, right?

I am a huge fan of Postgres as a database, and of SQL, etc. but I don’t think I understand the benefit of using Postgres’ wire format here since it’s not Postgres behind the scenes. I guess that lets you use psql as the client?

c4pt0r 3 hours ago | parent | prev [-]

Hello, the developer of db9 here. You’re right, that section is indeed a bit too brief. We will add more architecture documentation later. What I wanted to convey is that, unlike a standard PostgreSQL, db9 is more like a pg SQL-compatible layer built on top of a large distributed KV store. I also shared a brief introduction in this tweet, which might help clarify things. https://x.com/dxhuang/status/2032016443114733744

esafak 3 hours ago | parent [-]

If you're using TiKV why not use TiDB too, which is MySQL compatible?

nullpoint420 2 hours ago | parent [-]

Wonder if that’s what it is, with a few changes to make it postgres wire compatible