Re:MySQL Editions
by jarin on Thursday November 04, 2010 @04:21AM
(#1868139)
Wow, yeah hello PostgreSQL
[ Parent
| on HN ]
I think the reason you are being downvoted is that you are comparing PostgreSQL with the commercial version of MySQL. A better comparison would be between EnterpriseDB and the commercial version of MySQL.
Afaik, the free version of MySQL doesn't let you do a live transaction-safe database dump of InnoDB tables.
A pretty basic feature I thought, which is included in the free version of PostgreSQL.
Well you can almost get there (completely if you're not changing schemas):
mysqldump --single-transaction
This option sends a START TRANSACTION SQL statement to the server before dumping data. It is useful only with transactional tables such as InnoDB, because then it dumps the consistent state of the database at the time when BEGIN was issued without blocking any applications.
Unfortunately, mysql still doesn't have transactional DDL, I believe...
Re:MySQL Editions
by koenigdavidmj on Thursday November 04, 2010 @01:19PM
(#1869817)
Nor does Oracle, for what it's worth.
This is incorrect. You can use XtraBackup for this which is an open source alternative to innodb hot backup. Alternately you can quickly lock tables and take a filesystem snapshot or even run mysqldump with --single-transaction all which will let you get a consistent dump of a set of InnoDB tables.
Ah yes, my mistake.
Yeah, and also Drizzle, MariaDB and Percona Server.
Drizzle probably is the future of "mysql in the cloud", but it's not quite there yet.
It's certainly not worse than Oracle MySQL...
I guess it's mainly this mindset of something must have years of testing or it's not really ACID compliant. Drizzle works fantastic, however there needs to be more drivers written to take advantage of it (and it's asynchronous facilities, especially for the Node.JS people).
If you're not familiar with Drizzle, it's MySQL that has a bunch of crap you'll never use stripped out.