DROP DB_DISCOVERY HEARTBEAT
语法用于为指定逻辑库删除数据库发现心跳
DropDatabaseDiscoveryHeartbeat ::=
'DROP' 'DB_DISCOVERY' 'HEARTBEAT' ifExists? dbDiscoveryHeartbeatName (',' dbDiscoveryHeartbeatName)* ('FROM' databaseName)?
ifExists ::=
'IF' 'EXISTS'
dbDiscoveryHeartbeatName ::=
identifier
databaseName ::=
identifier
databaseName
时,默认是当前使用的 DATABASE
。 如果也未使用 DATABASE
则会提示 No database selected
;ifExists
子句用于避免 Database discovery heartbeat not exists
错误。DROP DB_DISCOVERY HEARTBEAT group_0_heartbeat, group_1_heartbeat FROM discovery_db;
DROP DB_DISCOVERY HEARTBEAT group_0_heartbeat;
ifExists
子句删除数据库发现心跳DROP DB_DISCOVERY HEARTBEAT IF EXISTS group_0_heartbeat;
DROP
、DB_DISCOVERY
、HEARTBEAT
、FROM