mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-16437: merge 5.7 P_S replication instrumentation and tables
Merge 'replication_applier_status_by_coordinator' table. This table captures SQL_THREAD status in case of both single threaded and multi threaded slave configuration. When multi_source replication is enabled this table will display each source specific SQL_THREAD status. Added new columns for: - LAST_SEEN_TRANSACTION - LAST_TRANS_RETRY_COUNT
This commit is contained in:
@@ -179,6 +179,26 @@ Last_SQL_Errno = '0'
|
||||
Slave_heartbeat_period = '60.000'
|
||||
Slave_heartbeat_period = '60.000'
|
||||
#
|
||||
#
|
||||
# MDEV:16437: merge 5.7 P_S replication instrumentation and tables
|
||||
#
|
||||
SELECT * FROM performance_schema.replication_applier_status_by_coordinator;
|
||||
CHANNEL_NAME master1
|
||||
THREAD_ID #
|
||||
SERVICE_STATE ON
|
||||
LAST_ERROR_NUMBER 0
|
||||
LAST_ERROR_MESSAGE
|
||||
LAST_ERROR_TIMESTAMP 0000-00-00 00:00:00
|
||||
LAST_SEEN_TRANSACTION 0-1-7
|
||||
LAST_TRANS_RETRY_COUNT 0
|
||||
CHANNEL_NAME
|
||||
THREAD_ID #
|
||||
SERVICE_STATE ON
|
||||
LAST_ERROR_NUMBER 0
|
||||
LAST_ERROR_MESSAGE
|
||||
LAST_ERROR_TIMESTAMP 0000-00-00 00:00:00
|
||||
LAST_SEEN_TRANSACTION 0-2-4
|
||||
LAST_TRANS_RETRY_COUNT 0
|
||||
select * from db1.t1;
|
||||
i f1
|
||||
1 one
|
||||
|
||||
Reference in New Issue
Block a user