查詢資料集最佳化建議。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
quickbi-public:QueryCubeOptimization |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| WorkspaceId |
string |
是 |
工作空間 ID。 |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
array<object> |
||
|
array<object> |
|||
| AdviceType |
string |
建議的類型,取值說明:
|
OPENQUICKENGINE |
| CubePerformanceDiagnoseModel |
object |
資料集診斷資訊。 |
|
| CacheCostTimeAvg |
number |
命中緩衝平均耗時。 |
1 |
| CacheQueryCount |
integer |
命中緩衝次數。 |
2 |
| CostTimeAvg |
number |
平均查詢時間。 |
1.0 |
| CubeId |
string |
資料集 ID。 |
3e45b61a-9ba8-4c7c-8248-8dbe69945636 |
| CubeName |
string |
資料集名稱。 |
test |
| QueryCount |
integer |
查詢次數。 |
50 |
| QueryCountAvg |
number |
平均查詢次數。 |
2 |
| QueryOverFivePercentNum |
number |
查詢超過 5s 查詢次數佔比。 |
0.1 |
| QueryOverFiveSecPercent |
string |
查詢超過 5s 佔比。 |
0.5 |
| QueryOverTenSecPercent |
string |
查詢超過 10s 佔比。 |
0.1 |
| QueryOverTenSecPercentNum |
number |
查詢超過 10s 查詢次數佔比。 |
0.3 |
| QueryTimeoutCount |
integer |
圖表查詢逾時次數。 |
1 |
| QueryTimeoutCountPercent |
number |
圖表查詢逾時次數佔比。 |
0.3 |
| QuickIndexCostTimeAvg |
number |
命中 Quick 引擎平均查詢耗時。 |
1 |
| QuickIndexQueryCount |
integer |
命中 Quick 引擎次數。 |
2 |
| RepeatQueryPercent |
string |
重複查詢佔比。 |
0.1 |
| RepeatQueryPercentNum |
number |
重複查詢數。 |
2 |
| RepeatSqlQueryCount |
integer |
重複查詢次數。 |
2 |
| RepeatSqlQueryPercent |
string |
重複查詢佔比。 |
0.3 |
| WorkspaceId |
string |
工作空間 ID。 |
6ea74bff-c818-4188-b462-dbb45a24dbac |
| WorkspaceName |
string |
工作空間名稱。 |
eco0sh0prods |
| Success |
boolean |
是否請求成功。取值範圍:
|
true |
樣本
正常返回樣本
JSON格式
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": [
{
"AdviceType": "OPENQUICKENGINE",
"CubePerformanceDiagnoseModel": {
"CacheCostTimeAvg": 1,
"CacheQueryCount": 2,
"CostTimeAvg": 1,
"CubeId": "3e45b61a-9ba8-4c7c-8248-8dbe69945636",
"CubeName": "test",
"QueryCount": 50,
"QueryCountAvg": 2,
"QueryOverFivePercentNum": 0.1,
"QueryOverFiveSecPercent": "0.5",
"QueryOverTenSecPercent": "0.1",
"QueryOverTenSecPercentNum": 0.3,
"QueryTimeoutCount": 1,
"QueryTimeoutCountPercent": 0.3,
"QuickIndexCostTimeAvg": 1,
"QuickIndexQueryCount": 2,
"RepeatQueryPercent": "0.1",
"RepeatQueryPercentNum": 2,
"RepeatSqlQueryCount": 2,
"RepeatSqlQueryPercent": "0.3",
"WorkspaceId": "6ea74bff-c818-4188-b462-dbb45a24dbac",
"WorkspaceName": "eco0sh0prods"
}
}
],
"Success": true
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。