3 ms·
> * Postgres is generally considered to scale to many concurrent connections and many cores. Useful for OLTP. But MySQL scales trivially to many servers. Postg
by vidarh 13y ago
> * Postgres is generally considered to scale to many concurrent connections and many cores. Useful for OLTP.
But MySQL scales trivially to many servers. Postgres replication is finally getting there, but it's been incredibly slow coming, while setting up huge MySQL installations with a dozen+ replicas, with selective sharding etc. has been effortless for about a decade.
- damncabbage 13y ago... while setting up huge MySQL installations with a dozen+ replicas ... If you're careful about your function calls, sure. Include a UUID() or SYSDATE() in your INSERT statements, and the replication goes to pieces as the function calls are run separately on each slave (with differing results).
- morgo 13y agoI recommend switching to Row-based Replication, which avoids this problem.