(root@localhost) [sbdb] 11:42:45> show variables like '%gtid%';
|
+-------------------------+---------------+
|
| Variable_name | Value |
|
+-------------------------+---------------+
|
| gtid_binlog_pos | 1-1-7,101-1-9 |
|
| gtid_binlog_state | 1-1-7,101-1-9 |
|
| gtid_cleanup_batch_size | 64 |
|
| gtid_current_pos | 1-1-7,101-1-9 |
|
| gtid_domain_id | 101 |
|
| gtid_ignore_duplicates | ON |
|
| gtid_pos_auto_engines | |
|
| gtid_seq_no | 0 |
|
| gtid_slave_pos | |
|
| gtid_strict_mode | ON |
|
| last_gtid | 101-1-9 |
|
| wsrep_gtid_domain_id | 1 |
|
| wsrep_gtid_mode | ON |
|
+-------------------------+---------------+
|
13 rows in set (0.00 sec)
|
|
(root@localhost) [sbdb] 11:43:31> insert into jianm values(1);
|
Query OK, 1 row affected (0.00 sec)
|
|
(root@localhost) [sbdb] 11:43:43> show variables like '%gtid%';
|
+-------------------------+----------------+
|
| Variable_name | Value |
|
+-------------------------+----------------+
|
| gtid_binlog_pos | 1-1-7,101-1-10 |
|
| gtid_binlog_state | 1-1-7,101-1-10 |
|
| gtid_cleanup_batch_size | 64 |
|
| gtid_current_pos | 1-1-7,101-1-10 |
|
| gtid_domain_id | 101 |
|
| gtid_ignore_duplicates | ON |
|
| gtid_pos_auto_engines | |
|
| gtid_seq_no | 0 |
|
| gtid_slave_pos | |
|
| gtid_strict_mode | ON |
|
| last_gtid | 101-1-10 |
|
| wsrep_gtid_domain_id | 1 |
|
| wsrep_gtid_mode | ON |
|
+-------------------------+----------------+
|
13 rows in set (0.00 sec)
|
|
(root@localhost) [sbdb] 11:43:44> insert into jian values(1);
|
Query OK, 1 row affected (0.00 sec)
|
|
(root@localhost) [sbdb] 11:43:50> show variables like '%gtid%';
|
+-------------------------+----------------+
|
| Variable_name | Value |
|
+-------------------------+----------------+
|
| gtid_binlog_pos | 1-1-7,101-1-11 |
|
| gtid_binlog_state | 1-1-7,101-1-11 |
|
| gtid_cleanup_batch_size | 64 |
|
| gtid_current_pos | 1-1-7,101-1-11 |
|
| gtid_domain_id | 101 |
|
| gtid_ignore_duplicates | ON |
|
| gtid_pos_auto_engines | |
|
| gtid_seq_no | 0 |
|
| gtid_slave_pos | |
|
| gtid_strict_mode | ON |
|
| last_gtid | 101-1-11 |
|
| wsrep_gtid_domain_id | 1 |
|
| wsrep_gtid_mode | ON |
|
+-------------------------+----------------+
|
13 rows in set (0.00 sec)
|