Skip to main content
ALTER DATABASE configures the properties of the specified database. Tip This operation requires the ALTER privilege on the target database. You can follow the instructions in GRANT to grant this privilege.

Syntax

  1. Set database data quota in B/K/KB/M/MB/G/GB/T/TB/P/PB.
  2. Rename a database.
  3. Set database replica quota.
  4. Set database storage volume
Note:
text

Examples

  1. Set data quota for a database.
  2. Rename the database example_db as example_db2.
  3. Set database replica quota.
  4. Set database storage volume.

References