Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mysqldump support for logical read ahead
Summary: Adds options to mysqldump: --lra-size=X --lra-sleep=X --lra-n-node-recs-before-sleep=X These just inject SET statements to set these session variables. Test Plan: Ran the mysqldump test on mysqld WITHOUT logical_read_ahead: --lra-size=5 Failed on "SET innodb_lra_size=5" with unknown variable: mysqldump: Couldn't execute 'SET innodb_lra_size=5': Unknown system variable 'innodb_lra_size' (1193) --lra-size=5 --lra-sleep=10 Failed on "SET innodb_lra_size=5" with unknown variable: mysqldump: Couldn't execute 'SET innodb_lra_size=5': Unknown system variable 'innodb_lra_size' (1193) --lra-sleep=10 Worked (passed nothing) - forced the code to send anyway, and got: mysqldump: Couldn't execute 'SET innodb_lra_sleep=10': Unknown system variable 'innodb_lra_sleep' (1193) ...and likewise for --lra-n-node-recs-before-sleep=X Ran all of this on mysqld WITH logical_read_ahead: Tests all passed without error. Reviewers: nizamordulu Reviewed By: nizamordulu
- Loading branch information