mirror of
https://github.com/MariaDB/server.git
synced 2025-12-13 20:03:16 +03:00
25 lines
827 B
Plaintext
25 lines
827 B
Plaintext
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
|
|
set global tokudb_checkpoint_on_flush_logs=ON;
|
|
# Establish connection conn1 (user = root)
|
|
connect conn1,localhost,root,,;
|
|
connection default;
|
|
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
|
|
connection conn1;
|
|
set tokudb_checkpoint_lock=1;
|
|
connection default;
|
|
flush logs;;
|
|
connection conn1;
|
|
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;
|
|
connection default;
|
|
disconnect conn1;
|
|
set global tokudb_checkpoint_on_flush_logs=OFF;
|