Won't Do
Details
Assignee
UnassignedUnassignedReporter
lpjirasynclpjirasync(Deactivated)Priority
Low
Details
Details
Assignee
Unassigned
UnassignedReporter
lpjirasync
lpjirasync(Deactivated)Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created January 24, 2018 at 9:59 AM
Updated March 4, 2025 at 9:03 PM
Resolved March 4, 2025 at 9:03 PM
**Reported in Launchpad by Ryan Brothers last update 07-08-2016 12:00:05
I am running Percona Server 5.6 and using mysqldump to do partial table dumps for a large number of tables. I'm doing this by calling mysqldump once for each table, passing in a different --where clause for each table.
This method works great except that the dump as a whole isn't consistent because mysqldump created a separate transaction each time it was called.
I see that Percona Server supports the following statement where it pulls the snapshot details from another session:
START TRANSACTION WITH CONSISTENT SNAPSHOT FROM SESSION <session_id>;
Would it be possible to allow the session_id to be passed to mysqldump, perhaps as an argument to --single-transaction, and have it use that session rather than create a new snapshot?
Thanks for your help.