SHOW SYNC JOB
Descriptionβ
This statement displays the status of resident data synchronization jobs in all databases.
Syntaxβ
SHOW SYNC JOB [FROM <db_name>]
Optional Parametersβ
1. <db_name>
<db_name>
represents the database name, which is used to specify the database from which the information of the synchronization jobs is to be shown.
Access Control Requirementsβ
Users executing this SQL command must have at least one of the following privileges:
Privilege | Object | Notes |
---|---|---|
ADMIN_PRIV, SELECT_PRIV, LOAD_PRIV, ALTER_PRIV, CREATE_PRIV, DROP_PRIV, SHOW_VIEW_PRIV | Database db_name | This operation requires at least one of the listed privileges on the target database. |
Examplesβ
-
Display the status of all data synchronization jobs in the current database.
SHOW SYNC JOB;
-
Display the status of all data synchronization jobs in the
test_db
database.SHOW SYNC JOB FROM `test_db`;