3 ms·
Well you can almost get there (completely if you're not changing schemas): mysqldump --single-transaction This option sends a START TRANSACTION SQL statement
by nodata 16y ago
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.
- mrj 16y agoUnfortunately, mysql still doesn't have transactional DDL, I believe...
- koenigdavidmj 16y agoNor does Oracle, for what it's worth.