dcloud rds query-insights update-settings

Slow query log threshold, auto_explain, keeping values

IAM rds:ModifyDBQueryInsightsChanges state

Synopsis

dcloud rds query-insights update-settings id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --slow-log-msOptional

    number

    Log statements slower than this many ms (log_min_duration_statement); -1 is off

    Constraints: integer, -1-3600000

  • --auto-explainOptional

    boolean (--auto-explain / --no-auto-explain)

    Also log the plan of slow statements (auto_explain, single-node databases)

  • --plans-with-valuesOptional

    boolean (--plans-with-values / --no-plans-with-values)

    Show logged statements and plans with their literal values (off by default)

Example

dcloud rds query-insights update-settings id

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