dcloud rds query-insights update-settingsSlow query log threshold, auto_explain, keeping values
IAM rds:ModifyDBQueryInsightsChanges state
Synopsis
dcloud rds query-insights update-settings id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/
Flags
--slow-log-msOptionalnumber
Log statements slower than this many ms (log_min_duration_statement); -1 is off
Constraints: integer, -1-3600000
--auto-explainOptionalboolean (--auto-explain / --no-auto-explain)
Also log the plan of slow statements (auto_explain, single-node databases)
--plans-with-valuesOptionalboolean (--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 idGenerated from the API description, the same one the API checks requests against and the CLI is built from.