我想在某个地方跟踪GTID和相应的mysqlbin日志。我看到这个mysql.gtid_executed表,但是在我的mariadb上,这个表中没有行。知道这是怎么弄到的吗?这些是与GTID相关的参数。任何帮助都是非常感谢的。
MariaDB [(none)]> show variables like '%gtid%';
+-------------------------+--------------+
| Variable_name | Value |
+-------------------------+--------------+
| gtid_binlog_pos | 0-10001-4866 |
| gtid_binlog_state | 0-10001-4866 |
| gtid_cleanup_batch_size | 64 |
| gtid_current_pos | 0-10001-4866 |
| gtid_domain_id | 0 |
| gtid_ignore_duplicates | OFF |
| gtid_pos_auto_engines | |
| gtid_seq_no | 0 |
| gtid_slave_pos | 0-10001-4866 |
| gtid_strict_mode | ON |
| last_gtid | |
| wsrep_gtid_domain_id | 0 |
| wsrep_gtid_mode | OFF |
| wsrep_gtid_seq_no | 0 |
+-------------------------+--------------+发布于 2021-03-26 02:35:08
gtid_executed表来自以前的MySQL实例。MariaDB不使用它。
您列出的全局gtid%pos变量跟踪gtid。
https://dba.stackexchange.com/questions/287731
复制相似问题