Database – what is the benefit of using key/value stores with respect to database sharding

databaseMySQLnosqlshardingsql server

What has key/value stores got to do with making database sharding easier?

Because if I do not use a key/value store, I can easily shard my database too right?

(Like say, I can easily say users with names that start with this character will have their data stored in this server, and those tables themselves aren't key/value stores. so what exactly had key/value stores got to do with database sharding?)

Best Answer

Disclosure - I'm working for ScaleBase - who builds a transparent Database Sharding solution.

I don't really think those two terms have allot to do with one another. To scale relational databases (a.k.a SQL databases) you usually use sharding. But, if you don't need relational database, you can use NoSQL solutions, some of which are key-value based (like the popular Cassandra, but see here for more).

So the first is a solution for database scaling, the second is a relational database alternative.

Related Topic