| 1 |
include/master-slave.inc |
| 2 |
Warnings: |
| 3 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 4 |
Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information. |
| 5 |
[connection master] |
| 6 |
[connection master] |
| 7 |
[connection slave] |
| 8 |
include/stop_slave.inc |
| 9 |
SET @@global.binlog_transaction_compression=FALSE; |
| 10 |
include/start_slave.inc |
| 11 |
[connection master] |
| 12 |
include/rpl_reset.inc |
| 13 |
[connection master] |
| 14 |
include/rpl_reset.inc |
| 15 |
[connection slave] |
| 16 |
include/stop_slave.inc |
| 17 |
# compression DISABLED |
| 18 |
[connection master] |
| 19 |
SET @@session.binlog_transaction_compression=FALSE; |
| 20 |
[connection slave] |
| 21 |
include/start_slave_io.inc |
| 22 |
[connection master] |
| 23 |
CREATE TABLE t1 (c1 INT UNSIGNED PRIMARY KEY, c2 LONGTEXT); |
| 24 |
[connection master] |
| 25 |
include/sync_slave_io_with_master.inc |
| 26 |
include/include/rpl_get_end_of_relay_log.inc |
| 27 |
include/start_slave_sql.inc |
| 28 |
[connection master] |
| 29 |
include/sync_slave_sql_with_master.inc |
| 30 |
include/stop_slave_sql.inc |
| 31 |
[connection master] |
| 32 |
BEGIN; |
| 33 |
INSERT INTO t1 VALUES (10, REPEAT('a', 1000000)); |
| 34 |
INSERT INTO t1 VALUES (9, REPEAT('a', 1000000)); |
| 35 |
INSERT INTO t1 VALUES (8, REPEAT('a', 1000000)); |
| 36 |
INSERT INTO t1 VALUES (7, REPEAT('a', 1000000)); |
| 37 |
INSERT INTO t1 VALUES (6, REPEAT('a', 1000000)); |
| 38 |
INSERT INTO t1 VALUES (5, REPEAT('a', 1000000)); |
| 39 |
INSERT INTO t1 VALUES (4, REPEAT('a', 1000000)); |
| 40 |
INSERT INTO t1 VALUES (3, REPEAT('a', 1000000)); |
| 41 |
INSERT INTO t1 VALUES (2, REPEAT('a', 1000000)); |
| 42 |
INSERT INTO t1 VALUES (1, REPEAT('a', 1000000)); |
| 43 |
COMMIT; |
| 44 |
BINLOG EVENTS on master ['NONE'] |
| 45 |
include/assert_binlog_events.inc [!Gtid_or_anon # !Begin # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Xid] |
| 46 |
[connection master] |
| 47 |
include/sync_slave_io_with_master.inc |
| 48 |
RELAY LOG EVENTS for 'NONE' |
| 49 |
include/assert_binlog_events.inc [!Gtid_or_anon # !Begin # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Xid] |
| 50 |
include/start_slave_sql.inc |
| 51 |
[connection master] |
| 52 |
include/sync_slave_sql_with_master.inc |
| 53 |
include/assert.inc [Assert that master and slave tables have the same content] |
| 54 |
BINLOG EVENTS on slave ['NONE'] (no compression, since slave applier has binlog_transaction_compression = NONE) |
| 55 |
include/assert_binlog_events.inc [!Gtid_or_anon # !Begin # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Xid] |
| 56 |
[connection master] |
| 57 |
DROP TABLE t1; |
| 58 |
include/sync_slave_sql_with_master.inc |
| 59 |
[connection master] |
| 60 |
include/rpl_reset.inc |
| 61 |
[connection slave] |
| 62 |
include/stop_slave.inc |
| 63 |
# ZSTD compression ENABLED |
| 64 |
[connection master] |
| 65 |
SET @@session.binlog_transaction_compression=TRUE; |
| 66 |
[connection slave] |
| 67 |
include/start_slave_io.inc |
| 68 |
[connection master] |
| 69 |
CREATE TABLE t1 (c1 INT UNSIGNED PRIMARY KEY, c2 LONGTEXT); |
| 70 |
[connection master] |
| 71 |
include/sync_slave_io_with_master.inc |
| 72 |
include/include/rpl_get_end_of_relay_log.inc |
| 73 |
include/start_slave_sql.inc |
| 74 |
[connection master] |
| 75 |
include/sync_slave_sql_with_master.inc |
| 76 |
include/stop_slave_sql.inc |
| 77 |
[connection master] |
| 78 |
BEGIN; |
| 79 |
INSERT INTO t1 VALUES (10, REPEAT('a', 1000000)); |
| 80 |
INSERT INTO t1 VALUES (9, REPEAT('a', 1000000)); |
| 81 |
INSERT INTO t1 VALUES (8, REPEAT('a', 1000000)); |
| 82 |
INSERT INTO t1 VALUES (7, REPEAT('a', 1000000)); |
| 83 |
INSERT INTO t1 VALUES (6, REPEAT('a', 1000000)); |
| 84 |
INSERT INTO t1 VALUES (5, REPEAT('a', 1000000)); |
| 85 |
INSERT INTO t1 VALUES (4, REPEAT('a', 1000000)); |
| 86 |
INSERT INTO t1 VALUES (3, REPEAT('a', 1000000)); |
| 87 |
INSERT INTO t1 VALUES (2, REPEAT('a', 1000000)); |
| 88 |
INSERT INTO t1 VALUES (1, REPEAT('a', 1000000)); |
| 89 |
COMMIT; |
| 90 |
BINLOG EVENTS on master ['ZSTD'] |
| 91 |
include/assert_binlog_events.inc [!Gtid_or_anon # Transaction_payload # !Begin # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Xid] |
| 92 |
[connection master] |
| 93 |
include/sync_slave_io_with_master.inc |
| 94 |
RELAY LOG EVENTS for 'ZSTD' |
| 95 |
include/assert_binlog_events.inc [!Gtid_or_anon # Transaction_payload # !Begin # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Xid] |
| 96 |
include/start_slave_sql.inc |
| 97 |
[connection master] |
| 98 |
include/sync_slave_sql_with_master.inc |
| 99 |
include/assert.inc [Assert that master and slave tables have the same content] |
| 100 |
BINLOG EVENTS on slave ['ZSTD'] (no compression, since slave applier has binlog_transaction_compression = NONE) |
| 101 |
include/assert_binlog_events.inc [!Gtid_or_anon # !Begin # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Table_map # Write_rows # Xid] |
| 102 |
[connection master] |
| 103 |
DROP TABLE t1; |
| 104 |
include/sync_slave_sql_with_master.inc |
| 105 |
[connection master] |
| 106 |
[connection master] |
| 107 |
include/assert.inc [Compressed transaction is a lot smaller than uncompressed] |
| 108 |
[connection master] |
| 109 |
SET @@global.binlog_transaction_compression=SAVED; |
| 110 |
[connection slave] |
| 111 |
SET @@global.binlog_transaction_compression=SAVED; |
| 112 |
include/stop_slave.inc |
| 113 |
include/start_slave.inc |
| 114 |
[connection master] |
| 115 |
include/rpl_reset.inc |
| 116 |
include/rpl_end.inc |