This statement is used to set properties of the specified database. (administrator only)
2) Rename the database
illustrate: After renaming the database, use the REVOKE and GRANT commands to modify the appropriate user permissions, if necessary. The default data quota for the database is 1024GB, and the default replica quota is 1073741824.
- Set the specified database data volume quota
ALTER DATABASE example_db SET DATA QUOTA 10995116277760;
The above unit is bytes, which is equivalent to
ALTER DATABASE example_db SET DATA QUOTA 200M;
- Rename the database example_db to example_db2
- Set the quota for the number of copies of the specified database
ALTER DATABASE example_db SET REPLICA QUOTA 102400;