Commit f20dfeec authored by Teemu Ollakka's avatar Teemu Ollakka

Recorded galera_sr_load_data_splitting, galera_sr_load_data

parent f06a0b53
...@@ -9,5 +9,5 @@ SELECT COUNT(*) = 20000 FROM t1; ...@@ -9,5 +9,5 @@ SELECT COUNT(*) = 20000 FROM t1;
COUNT(*) = 20000 COUNT(*) = 20000
1 1
wsrep_last_committed_diff wsrep_last_committed_diff
0 1
DROP TABLE t1; DROP TABLE t1;
connection node_2;
connection node_1;
SET SESSION wsrep_trx_fragment_size = 512; SET SESSION wsrep_trx_fragment_size = 512;
SET GLOBAL wsrep_load_data_splitting = TRUE; SET GLOBAL wsrep_load_data_splitting = TRUE;
Warnings:
Warning 1287 '@@wsrep_load_data_splitting' is deprecated and will be removed in a future release
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
connection node_2;
connection node_1;
connection node_2;
SELECT COUNT(*) = 95000 FROM t1; SELECT COUNT(*) = 95000 FROM t1;
COUNT(*) = 95000 COUNT(*) = 95000
1 1
wsrep_last_committed_diff wsrep_last_committed_diff
1 1
connection node_1;
Warnings:
Warning 1287 '@@wsrep_load_data_splitting' is deprecated and will be removed in a future release
DROP TABLE t1; DROP TABLE t1;
...@@ -33,7 +33,7 @@ CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB; ...@@ -33,7 +33,7 @@ CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
SELECT COUNT(*) = 20000 FROM t1; SELECT COUNT(*) = 20000 FROM t1;
# LOAD-ing 20K rows causes 3 commits to be registered # LOAD-ing 20K rows causes 3 commits to be registered
--disable_query_log --disable_query_log
--eval SELECT $wsrep_last_committed_after - $wsrep_last_committed_before = 3 AS wsrep_last_committed_diff; --eval SELECT $wsrep_last_committed_after - $wsrep_last_committed_before = 3 AS wsrep_last_committed_diff
--enable_query_log --enable_query_log
DROP TABLE t1; DROP TABLE t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment