sync database (synchronize database)

Synchronizes attributes of global services and GDS related parameters of a GDS pool database with the contents of the GDS catalog. The synchronize database command has the same options and usage.

Syntax

sync[hronize] database [-gdspool gdspool_name]
                       [-database database_name]

Options

Table 2-117 GDSCTL sync database Options

Option Description
-database database_name

Specify the name of a database in the database pool to use as a referential database, from which the configuration is queried.

-gdspool gdspool_name

Specify the GDS pool to which the database belongs. If not specified and there is only one GDS pool with access granted to user, it is used as the default GDS pool.

Usage Notes

  • If database has no GDS region assigned, an error is returned.

  • If a GDS pool is specified and the database option is not specified, then each database in the pool is synchronized.

  • Note that the GDS sync database command has the potential to cause services to restart.

Example

Synchronize a database in the default database pool with the database mydb.

GDSCTL> sync database -database mydb