1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set global tokudb_checkpoint_on_flush_logs=ON;
# Establish connection conn1 (user = root)
select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Sleep NULL
flush logs;
select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Sleep NULL
set tokudb_checkpoint_lock=1;
flush logs;;
select DB, command, state, info from information_schema.processlist where id != connection_id();
DB command state info
test Query init flush logs
set tokudb_checkpoint_lock=0;
set global tokudb_checkpoint_on_flush_logs=OFF;
|