mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 18:30:16 +00:00
Fix a pt-osc test by analyzing table to get accurate explain estimate.
This commit is contained in:
@@ -6,5 +6,5 @@ CREATE TABLE `bits` (
|
|||||||
`val` ENUM('M','E','H') NOT NULL,
|
`val` ENUM('M','E','H') NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO `bits` VALUES (1, 'M'), (2, 'E'), (3, 'H');
|
INSERT INTO `bits` VALUES (1, 'M'), (2, 'E'), (3, 'H');
|
||||||
|
ANALYZE TABLE bits;
|
||||||
|
Reference in New Issue
Block a user