It's great to see support for foreign keys, at least for FKs in the same shards. I've been wanting to explore PlanetScale (Vitess) for a while and the lack of support for FK was a blocker because the application currently relies on them.
I wonder how practical it'd be to attempt using this now, or would I have to go through too many hoops or footguns?
I feel the integrity of data is WAY more important than pure performance and scalability. This is why i always shunned planetscale [vitess] (make no mistake, i really like their product and they have a nice free tier). When the need for sharding comes you have probably "made it" and most likely can afford a deeper refactor both in application and database design.
That said, true FK support is a very nice addition. However it really pains me to you MySQL, as it has a baggage it carries and is not SQL compliant. Thats why i always go for Postgres instead.
Interesting, foreign key constraints typically make sharding harder, interesting to see them add support for some type of fkey constraint (even though it's same-shard only) to the db. I wonder how it impacts use-cases like vreplication/online DDL - I suppose you have to be careful with the exact semantics of the fkeys.
Not knowing what this was about, I immediately figured "planetscale.com" was some Space site and "Vitess 18" was a new moon discovered somewhere ¯\_(ツ)_/¯
CockroachDB and Yugabyte are Postgres compatible. GCP Spanner also has a Postgres compatibility layer. CockroachDB and Spanner support foreign keys across shards which is an interesting feature.
Having tried Neon, it’s not really a replacement for Planetscale. PS’ in-cloud features are hard to replace. In my review, PS won on a feature and cost basis.
I think PlanetScale is the most mature option on the market right now by far
I wonder how practical it'd be to attempt using this now, or would I have to go through too many hoops or footguns?
It shouldn't be too many hoops, fairly standard foreign key constraint support. Let us (PlanetScale) know if it is!
That said, true FK support is a very nice addition. However it really pains me to you MySQL, as it has a baggage it carries and is not SQL compliant. Thats why i always go for Postgres instead.
https://github.com/citusdata/citus
https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql...
You telling me we can make a ReactJS for terminals? ha
I think PlanetScale is the most mature option on the market right now by far
https://landscape.cncf.io/?selected=vitess
Deleted Comment