|
|
|
|
|
by fyrerise
3193 days ago
|
|
> Both MySQL and PostgreSQL support out-of-the-box partitioning. Are you referring to sharding? Hopefully it's fairly obvious from the context, but yes, I'm referring to horizontal partitioning [1], or sharding. --- [1] https://en.wikipedia.org/wiki/Partition_(database) |
|
The top post on HN right now is about PostgreSQL 10 features, of which the very first feature listed is "Native Partitioning" (and it's not about sharding). Relational databases have been using the term "partitioning" for a very long time so if you're going to compare features across comparable systems, you need to use the correct terminology.
https://dev.mysql.com/doc/refman/5.7/en/partitioning.html
https://www.postgresql.org/docs/9.1/static/ddl-partitioning....
Meanwhile the feature you're referring to is sharding and each of these databases refer to it accordingly:
https://docs.mongodb.com/manual/sharding/
https://wiki.postgresql.org/wiki/Built-in_Sharding (via forks)
https://www.mysql.com/products/cluster/scalability.html (via a separate product)
Let's also keep in mind we're discussing MongoDB which has a very rich history of using misleading benchmarks to showcase their product (e.g. benchmarking the number of requests/sec the server can select() versus the fsync() rate of a RDBMS), so I think it's useful to be extremely clear what we're talking about.