Bug #12999 mysqldump consistent dump of MyISAM and InnoDB tables with minimal locking
| Submitted: | 5 Sep 2005 22:28 | Modified: | 4 Oct 2005 21:46 |
|---|---|---|---|
| Reporter: | Timothy Smith | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: mysqldump Command-line Client | Severity: | S4 (Feature request) |
| Version: | all | OS: | Any (all) |
| Assigned to: | CPU Architecture: | Any |
[5 Sep 2005 22:28]
Timothy Smith
[7 Oct 2005 11:09]
MySQL Verification Team
Here is another solution how it could be implemented (in this way InnoDB table are locked only for a short period of time, not for duration of dumping all MyISAM tables): connection 1) lock all myisam tables; connection 2) set autocommit=0; lock all innodb tables; Grab master and slave positions; connection 3) set autocommit=0; start transaction with consistent read; connection 2) close connection; connection 1) dump myisam tables; connection 3) dump innodb tables;
[5 Aug 2010 13:03]
Valeriy Kravchuk
Bug #23344 was marked as a duplicate of this one. See https://launchpad.net/mydumper for possible solution.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.058 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.