mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 21:54:48 +00:00

Since now NibbleIterator can fallback to nibble (from one chunk) pt-osc can nibble tables even if due to unacurate stats, it choses one nible as the initial nibbling method.
16 lines
336 B
SQL
16 lines
336 B
SQL
DROP DATABASE IF EXISTS `test`;
|
|
|
|
CREATE DATABASE `test`;
|
|
|
|
CREATE TABLE `test`.`t1` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`f2` char(32) DEFAULT NULL,
|
|
`f3` ENUM('red','green','blue'),
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `c` (`f2`)
|
|
) ENGINE=InnoDB
|
|
AUTO_INCREMENT=0
|
|
DEFAULT CHARSET=utf8
|
|
STATS_AUTO_RECALC = 0
|
|
STATS_PERSISTENT = 1;
|