Retro Eye care Haitian Deep Dark Default

REFRESH DATABASE METADATA FROM GOVERNANCE CENTER

Description

The REFRESH DATABASE METADATA syntax is used to refresh the metadata of the local logic database.

Syntax

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 without FORCE, 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