Readit News logoReadit News
ik8s · 2 years ago
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?

samlambert · 2 years ago
FKs will be available on PlanetScale within weeks so it's probably worth just waiting.
tbarn · 2 years ago
Just wait until December, we will release more information about foreign key constraints on PlanetScale then!

It shouldn't be too many hoops, fairly standard foreign key constraint support. Let us (PlanetScale) know if it is!

phplovesong · 2 years ago
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.

getcrunk · 2 years ago
So while searching for something like this for postgres I came across citus. Any one know how that stacks up?

https://github.com/citusdata/citus

skyde · 2 years ago
in my opinion Citus is a lot better. its also available as a managed solution in azure under the marketting name of "Cosmosdb for Postgressql"

https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql...

jetru · 2 years ago
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.
ugh123 · 2 years ago
Not knowing what this was about, I immediately figured "planetscale.com" was some Space site and "Vitess 18" was a new moon discovered somewhere ¯\_(ツ)_/¯
samlambert · 2 years ago
If we ever have some spare marketing budget we will try and discover a moon for you.
ugh123 · 2 years ago
Too bad "io" is already discovered :)
ge96 · 2 years ago
Does it literally repaint the terminal for the completion suggestions? Dang

You telling me we can make a ReactJS for terminals? ha

aantix · 2 years ago
When will Postgres be supported?
billythemaniam · 2 years ago
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.
tristan957 · 2 years ago
If you want something similar to Planetscale, but Postgres, you can check out Neon, which is where I work in the interest of transparency.
sgammon · 2 years ago
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

samlambert · 2 years ago
Quite a stretch to say similar. Neon does not support sharding, Boost, or scale to anywhere near PlanetScale as reliably.
zaphirplane · 2 years ago
I wish people would disclose their association with a product in this “my favorite is better than yours” sub thread
shawnz · 2 years ago
I believe Citus is the closest alternative for Postgres.
Icathian · 2 years ago
You probably want to check out Greenplum for the postgres equivalent to this.
andrewmutz · 2 years ago
Isn't Greenplum intended for OLAP style workloads? I believe Vitess is intended to be used for OLTP workloads.
IceWreck · 2 years ago
Why is planetscale making release notes for vitess - a google project
samlambert · 2 years ago
We (PlanetScale) are the maintainers of Vitess.
caniszczyk · 2 years ago
Vitess is an open source and openly governed CNCF project

https://landscape.cncf.io/?selected=vitess

Operyl · 2 years ago
As far as I know, they’re the primary stewards for the project because the founders are the guys that made Vitess.

Deleted Comment

nilslice · 2 years ago
i believe the creators of the Vitess project originally founded Planetscale
capableweb · 2 years ago
Seems Vitess is a CNCF/Linux Foundation project?