dcloud deploy host-database set-limit

Set the database size limit (MiB); over it the database is read only

IAM deploy:ManageHostDatabaseChanges state

1 GiB unless set, 64 MiB to 20 GiB. Over the limit the pool host makes the database read only (writes fail with "cannot execute … in a read-only transaction") and get says so in limitProblem; below 90 % of the limit it is writable again.

Synopsis

dcloud deploy host-database set-limit id --limit-mb limitMb

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --limit-mbRequired

    number

    The size limit in MiB, 64 (64 MiB) to 20480 (20 GiB); over it the database is read only

    Constraints: integer, 64-20480

Example

dcloud deploy host-database set-limit id --limit-mb 1

Generated from the API description, the same one the API checks requests against and the CLI is built from.