dcloud rds data query-statsTop statements by time, calls or rows from pg_stat_statements; installed: false until the extension is on
IAM rds:DescribeDBQueryStatsRead
Synopsis
dcloud rds data query-stats id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/
Flags
--orderOptionalenum
What the statements are ranked by; total_time when omitted
One of:
total_time,mean_time,calls,rowsDefault:
"total_time"--limitOptionalnumber
At most this many statements; 25 when omitted
Constraints: integer, 1-100
Default:
25
Example
dcloud rds data query-stats idGenerated from the API description, the same one the API checks requests against and the CLI is built from.