Debian Codegraph @

mysql-test/suite/perfschema/r/dml_replication_applier_status_by_worker.result

raw
1 SELECT * FROM performance_schema.replication_applier_status_by_worker
2 LIMIT 1;
3 SELECT * FROM performance_schema.replication_applier_status_by_worker
4 WHERE service_state='YES' OR last_error_message='ERROR';
5 INSERT INTO performance_schema.replication_applier_status_by_worker
6 SET service_state='YES', last_error_message='ERROR',
7 worker_id=1, thread_id=2, last_error_number=1234;
8 ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`replication_applier_status_by_worker`
9 UPDATE performance_schema.replication_applier_status_by_worker
10 SET worker_id=12;
11 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`replication_applier_status_by_worker`
12 UPDATE performance_schema.replication_applier_status_by_worker
13 SET worker_d=12 where service_state like "YES";
14 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`replication_applier_status_by_worker`
15 DELETE FROM performance_schema.replication_applier_status_by_worker
16 WHERE worker_id=1;
17 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`replication_applier_status_by_worker`
18 DELETE FROM performance_schema.replication_applier_status_by_worker;
19 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`replication_applier_status_by_worker`
20 LOCK TABLES performance_schema.replication_applier_status_by_worker READ;
21 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`replication_applier_status_by_worker`
22 UNLOCK TABLES;
23 LOCK TABLES performance_schema.replication_applier_status_by_worker WRITE;
24 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`replication_applier_status_by_worker`
25 UNLOCK TABLES;
26 #
27 # MDEV-25325 column_comment for performance_schema tables
28 #
29 select column_name, column_comment
30 from information_schema.columns
31 where table_schema='performance_schema' and table_name='replication_applier_status_by_worker';
32 column_name column_comment
33 CHANNEL_NAME Name of replication channel through which the transaction is received.
34 THREAD_ID Thread_Id as displayed in the performance_schema.threads table for thread with name 'thread/sql/rpl_parallel'. THREAD_ID will be NULL when worker threads are stopped due to error/force stop.
35 SERVICE_STATE Whether or not the thread is running.
36 LAST_SEEN_TRANSACTION Last GTID executed by worker
37 LAST_ERROR_NUMBER Last Error that occurred on a particular worker.
38 LAST_ERROR_MESSAGE Last error specific message.
39 LAST_ERROR_TIMESTAMP Time stamp of last error.
40 WORKER_IDLE_TIME Total idle time in seconds that the worker thread has spent waiting for work from SQL thread.
41 LAST_TRANS_RETRY_COUNT Total number of retries attempted by last transaction.