dcloud rds query-insights get-statement

One statement with its generic plan and the index it suggests

IAM rds:DescribeDBQueryInsightsRead

EXPLAIN (GENERIC_PLAN) of the normalised text, never ANALYZE; a suggested index is a CREATE INDEX CONCURRENTLY to run yourself.

Synopsis

dcloud rds query-insights get-statement id statementId

Arguments

  • <id>Required

    string

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

  • <statementId>Required

    string

    Also accepted as --statement-id.

Example

dcloud rds query-insights get-statement id statementId

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