update-database

This CDP CLI beta command for Cloudera Operational Database (COD) updates an operational database in an environment.

Command syntax

update-database

--environment-name <value>
--database-name <value>
[--auto-scaling-parameters <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
  • --environment-name (string)

    The name of the environment.

    cdp opdb update-database --environment <environment-name>
  • --database-name

    The name of the database.

    cdp opdb update-database --environment <environment-name> --database <database-name>
  • --auto-scaling-parameters (object)

    This is a parameter to configure autoscaling.

    cdp opdb update-database --environment <environment-name> --database <database-name> --auto-scaling-parameters

    Shorthand syntax:

    targetedValueForMetric=integer,maxWorkersForDatabase=integer,maxWorkersPerBatch=integer,
    minWorkersForDatabase=integer,evaluationPeriod=integer,minimumBlockCacheGb=integer

    JSON syntax:

    {
      "targetedValueForMetric": integer,
      "maxWorkersForDatabase": integer,
      "maxWorkersPerBatch": integer,
      "minWorkersForDatabase": integer,
      "evaluationPeriod": integer,
      "minimumBlockCacheGb": integer
    }