You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
2.2 KiB
31 lines
2.2 KiB
create table performance_schema.replication_connection_status
|
|
(
|
|
CHANNEL_NAME char(64) not null
|
|
primary key using hash,
|
|
GROUP_NAME char(36) collate utf8mb4_bin not null,
|
|
SOURCE_UUID char(36) collate utf8mb4_bin not null,
|
|
THREAD_ID bigint unsigned null,
|
|
SERVICE_STATE enum ('ON', 'OFF', 'CONNECTING') not null,
|
|
COUNT_RECEIVED_HEARTBEATS bigint unsigned default '0' not null,
|
|
LAST_HEARTBEAT_TIMESTAMP timestamp(6) not null comment 'Shows when the most recent heartbeat signal was received.',
|
|
RECEIVED_TRANSACTION_SET longtext not null,
|
|
LAST_ERROR_NUMBER int not null,
|
|
LAST_ERROR_MESSAGE varchar(1024) not null,
|
|
LAST_ERROR_TIMESTAMP timestamp(6) not null,
|
|
LAST_QUEUED_TRANSACTION char(57) null,
|
|
LAST_QUEUED_TRANSACTION_ORIGINAL_COMMIT_TIMESTAMP timestamp(6) not null,
|
|
LAST_QUEUED_TRANSACTION_IMMEDIATE_COMMIT_TIMESTAMP timestamp(6) not null,
|
|
LAST_QUEUED_TRANSACTION_START_QUEUE_TIMESTAMP timestamp(6) not null,
|
|
LAST_QUEUED_TRANSACTION_END_QUEUE_TIMESTAMP timestamp(6) not null,
|
|
QUEUEING_TRANSACTION char(57) null,
|
|
QUEUEING_TRANSACTION_ORIGINAL_COMMIT_TIMESTAMP timestamp(6) not null,
|
|
QUEUEING_TRANSACTION_IMMEDIATE_COMMIT_TIMESTAMP timestamp(6) not null,
|
|
QUEUEING_TRANSACTION_START_QUEUE_TIMESTAMP timestamp(6) not null
|
|
)
|
|
engine = PERFORMANCE_SCHEMA;
|
|
|
|
create index THREAD_ID
|
|
on performance_schema.replication_connection_status (THREAD_ID)
|
|
using hash;
|
|
|