-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replicators: Enhance MySQL Snapshot.
Adjust the MySQL snapshot to use the new snapshot type. The snapshot type checks if table has a primary key or unique key and uses it to define batches to query the table, making it less intrusive, specially for large tables. In case the table does not have a primary key or unique key, the snapshot will do a full table scan. Fixes: REA-4477 Fixes: #1303 Release-Note-Core: Enhance MySQL snapshot to use Primary Key or unique key when available. This makes the snapshot less intrusive than a `SELECT *` (Full Table Scan) for large tables. Change-Id: Iafda6ea6c74888262a0eea8bc1e880a3214b068a
- Loading branch information
1 parent
d6f38ab
commit 053a0f1
Showing
3 changed files
with
81 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters