-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit removes the requirement for MySQL snapshot for requiring the exact number of rows it will snapshot in advance. We use the number of rows to show snapshot progress and also to know for sure that we have snapshoted the required number of rows. Querying the table to get the number of rows in MySQL requires a full index scan. This can be time consuming for large tables. We don't necessarlly need to know the exact number of tables. In a server with up to date table statistics the estimation of table rows will be pretty much accurate. Fixes: #REA-4886 Closes: #1386 Release-Note-Core: Improve MySQL snapshot performance by removing the need for exact row count for snapshot. Change-Id: Idf887a0b8abb8e20113b3585af49c75d3da8b05f
- Loading branch information
1 parent
080182a
commit 1d280b2
Showing
2 changed files
with
57 additions
and
95 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