REFRESH DATABASE METADATA FROM GOVERNANCE CENTER
Description
The REFRESH DATABASE METADATA
syntax is used to refresh the metadata of the local logic database.
Syntax
Grammar Railroad diagram
RefreshDatabaseMetadata ::=
'FORCE'? 'REFRESH' 'DATABASE' 'METADATA' databaseName?
databaseName ::=
identifier
Supplement
When
databaseName
is not specified, the default is to refresh all database metadata.When using
FORCE
to refresh metadata, the latest metadata will be obtained locally and written to the governance center. If withoutFORCE
, it will be pulled from the governance center.
Example
- Refresh metadata for specified database
REFRESH DATABASE METADATA sharding_db;
- Refresh all database metadata
REFRESH DATABASE METADATA;
- Force refresh all database metadata
FORCE REFRESH DATABASE METADATA;
Reserved word
FORCE
, REFRESH
, DATABASE
, METADATA
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .