Queries the performance logs of a dataset.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryCubePerformance |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| QueryType |
string |
Yes |
The query type. Valid values:
|
sevenDays |
| WorkspaceId |
string |
Yes |
The workspace ID. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
| CubeId |
string |
No |
The dataset ID. |
7c7223ae-****-3c744528014b |
| PageNum |
integer |
No |
The current page number of the workspace member list:
|
1 |
| PageSize |
integer |
No |
The number of rows per page in a paged query.
|
100 |
| CostTimeAvgMin |
integer |
No |
The average duration (minutes). |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
685072a0-1fd5-40ef-ae6b-cf94e79e718f |
| Result |
array<object> |
Array of report objects |
|
|
object |
The diagnostic information about the dataset. |
||
| CacheCostTimeAvg |
number |
The average duration of cache hits. |
1 |
| CacheQueryCount |
integer |
The number of cache hits. |
1 |
| CostTimeAvg |
number |
The average query duration associated with the SQL pattern. |
1 |
| CubeId |
string |
The dataset ID. |
7c7223ae-****-3c744528014b |
| CubeName |
string |
The name of the dataset. |
test |
| QueryCount |
integer |
The number of queries. |
50 |
| QueryCountAvg |
number |
The average number of queries. |
1 |
| QueryOverFivePercentNum |
number |
The percentage of queries that exceed 5 seconds. |
1.0 |
| QueryOverFiveSecPercent |
string |
The proportion of queries that exceed 5 seconds. |
1.0 |
| QueryOverTenSecPercent |
string |
The percentage of queries that exceed 10s. |
1.0 |
| QueryOverTenSecPercentNum |
number |
The percentage of queries that exceed 10s. |
1.0 |
| QueryTimeoutCount |
integer |
The number of times that the chart query times out. |
1 |
| QueryTimeoutCountPercent |
number |
The percentage of chart queries that time out. |
1 |
| QuickIndexCostTimeAvg |
number |
The average query duration for the Quick engine. |
1 |
| QuickIndexQueryCount |
integer |
The number of Quick engine hits. |
1 |
| RepeatQueryPercent |
string |
The proportion of duplicate queries. |
0.3 |
| RepeatQueryPercentNum |
number |
The number of duplicate queries. |
1 |
| RepeatSqlQueryCount |
integer |
The number of repeated queries. |
1 |
| RepeatSqlQueryPercent |
string |
The proportion of duplicate queries. |
1 |
| WorkspaceId |
string |
The ID of the workspace to which the dataset belongs. |
87c6b145-090c-43e1-9426-8f93be23**** |
| WorkspaceName |
string |
The name of the workspace. |
测试工作空间 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "685072a0-1fd5-40ef-ae6b-cf94e79e718f",
"Result": [
{
"CacheCostTimeAvg": 1,
"CacheQueryCount": 1,
"CostTimeAvg": 1,
"CubeId": "7c7223ae-****-3c744528014b",
"CubeName": "test",
"QueryCount": 50,
"QueryCountAvg": 1,
"QueryOverFivePercentNum": 1,
"QueryOverFiveSecPercent": "1.0",
"QueryOverTenSecPercent": "1.0",
"QueryOverTenSecPercentNum": 1,
"QueryTimeoutCount": 1,
"QueryTimeoutCountPercent": 1,
"QuickIndexCostTimeAvg": 1,
"QuickIndexQueryCount": 1,
"RepeatQueryPercent": "0.3",
"RepeatQueryPercentNum": 1,
"RepeatSqlQueryCount": 1,
"RepeatSqlQueryPercent": "1",
"WorkspaceId": "87c6b145-090c-43e1-9426-8f93be23****",
"WorkspaceName": "测试工作空间"
}
],
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.