Settings

Theme

Robert Haas: MySQL vs. PostgreSQL, Part 2: VACUUM vs. Purge

rhaas.blogspot.com

41 points by rhaas 15 years ago · 2 comments

Reader

jpitz 15 years ago

The style of tradeoff taken, in both cases, really exemplifies the difference in engineering priorities for MySQL and PostgreSQL. MySQL optimizes for reads, at the expense of a higher write load. PostgreSQL optimizes more for writes, at the expense of in-line bloat and reads.

When you go to scale out a RDBMS, traditionally you do it with single-master multi slave replication, to scale reads. Today, that's not an inordinately hard task. Scaling writes is a LOT harder, and I think PostgreSQL made the better choice, in the end.

  • mikeyk 15 years ago

    Plus, PostgreSQL built in master-slave streaming replication in release 9, so scaling out reads is even less of an issue.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection