mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Recorded galera_sr_load_data_splitting, galera_sr_load_data
This commit is contained in:
parent
f06a0b5338
commit
f20dfeecc6
3 changed files with 12 additions and 2 deletions
|
|
@ -9,5 +9,5 @@ SELECT COUNT(*) = 20000 FROM t1;
|
|||
COUNT(*) = 20000
|
||||
1
|
||||
wsrep_last_committed_diff
|
||||
0
|
||||
1
|
||||
DROP TABLE t1;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,19 @@
|
|||
connection node_2;
|
||||
connection node_1;
|
||||
SET SESSION wsrep_trx_fragment_size = 512;
|
||||
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;
|
||||
connection node_2;
|
||||
connection node_1;
|
||||
connection node_2;
|
||||
SELECT COUNT(*) = 95000 FROM t1;
|
||||
COUNT(*) = 95000
|
||||
1
|
||||
wsrep_last_committed_diff
|
||||
1
|
||||
connection node_1;
|
||||
Warnings:
|
||||
Warning 1287 '@@wsrep_load_data_splitting' is deprecated and will be removed in a future release
|
||||
DROP TABLE t1;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
|||
SELECT COUNT(*) = 20000 FROM t1;
|
||||
# LOAD-ing 20K rows causes 3 commits to be registered
|
||||
--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
|
||||
|
||||
DROP TABLE t1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue