CREATE DB_DISCOVERY HEARTBEAT

Description

The CREATE DB_DISCOVERY HEARTBEAT syntax is used to create a database discovery heartbeat rule.

Syntax

  1. CreateDatabaseDiscoveryHeartbeat ::=
  2. 'CREATE' 'DB_DISCOVERY' 'HEARTBEAT' databaseDiscoveryHeartbaetDefinition ( ',' databaseDiscoveryHeartbaetDefinition )*
  3. databaseDiscoveryHeartbaetDefinition ::=
  4. discoveryHeartbeatName '(' 'PROPERTIES' '(' 'key' '=' 'value' ( ',' 'key' '=' 'value' )* ')' ')'
  5. discoveryHeartbeatName ::=
  6. identifier

Supplement

  • Names with - need to use " " when changing.

Example

Create HEARTBEAT

  1. CREATE DB_DISCOVERY HEARTBEAT db_discovery_group_1_heartbeat(
  2. PROPERTIES('keep-alive-cron'='0/5 * * * * ?')
  3. );

Reserved word

CREATE, DB_DISCOVERY, HEARTBEAT