{ "opencollection": "1.0.0", "info": { "name": "TiDB Cloud API Keys Statistics API", "version": "v1beta1" }, "items": [ { "info": { "name": "Statistics", "type": "folder" }, "items": [ { "info": { "name": "Dump table statistics", "type": "http" }, "http": { "method": "GET", "url": "https://dedicated.tidbapi.com/v1beta1/stats/dump/:db/:table", "params": [ { "name": "db", "value": "", "type": "path", "description": "The database name." }, { "name": "table", "value": "", "type": "path", "description": "The table name within the specified database." }, { "name": "timestamp", "value": "", "type": "query", "description": "Optional Unix timestamp to retrieve historical statistics at a specific point in time." } ] }, "docs": "Returns the optimizer statistics for the specified table in JSON format. Statistics include histogram data, count-min sketch approximations, and correlation coefficients used by the TiDB query optimizer when generating execution plans. Optionally specify a timestamp to retrieve historical statistics." } ] } ], "bundled": true }