dcloud rds query-insights get-statementOne 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 statementIdArguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/<statementId>Requiredstring
Also accepted as
--statement-id.
Example
dcloud rds query-insights get-statement id statementIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.