Veri kümesi optimizasyon önerilerini sorgular.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryCubeOptimization |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
Çalışma alanı kimliği. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
array<object> |
The query results are returned. |
|
|
array<object> |
Return the result of the interface execution. |
||
| AdviceType |
string |
Önerinin türü. Geçerli değerler:
|
OPENQUICKENGINE |
| CubePerformanceDiagnoseModel |
object |
Veri kümesi hakkındaki tanılama bilgileri. |
|
| CacheCostTimeAvg |
number |
Önbellek isabetlerinin ortalama süresi. |
1 |
| CacheQueryCount |
integer |
Önbellek isabet sayısı. |
2 |
| CostTimeAvg |
number |
SQL deseniyle ilişkili ortalama sorgu süresi. |
1.0 |
| CubeId |
string |
Veri kümesi kimliği. |
3e45b61a-9ba8-4c7c-8248-8dbe69945636 |
| CubeName |
string |
Veri kümesinin adı. |
test |
| QueryCount |
integer |
Sorgu sayısı. |
50 |
| QueryCountAvg |
number |
Ortalama sorgu sayısı. |
2 |
| QueryOverFivePercentNum |
number |
5 saniyeyi aşan sorgu sayısının yüzdesi. |
0.1 |
| QueryOverFiveSecPercent |
string |
5 saniyeyi aşan sorguların oranı. |
0.5 |
| QueryOverTenSecPercent |
string |
10 saniyeyi aşan sorguların yüzdesi. |
0.1 |
| QueryOverTenSecPercentNum |
number |
10 saniyeyi aşan sorguların yüzdesi. |
0.3 |
| QueryTimeoutCount |
integer |
Grafik sorgusunun zaman aşımına uğrama sayısı. |
1 |
| QueryTimeoutCountPercent |
number |
Grafik sorgularındaki zaman aşımı yüzdesi. |
0.3 |
| QuickIndexCostTimeAvg |
number |
Quick motoru sorgusu tarafından harcanan ortalama süre. |
1 |
| QuickIndexQueryCount |
integer |
Quick motoru isabet sayısı. |
2 |
| RepeatQueryPercent |
string |
Yinelenen sorguların oranı. |
0.1 |
| RepeatQueryPercentNum |
number |
Yinelenen sorgu sayısı. |
2 |
| RepeatSqlQueryCount |
integer |
Sorgunun yinelenme sayısı. |
2 |
| RepeatSqlQueryPercent |
string |
Yinelenen sorguların oranı. |
0.3 |
| WorkspaceId |
string |
Çalışma alanı kimliği. |
6ea74bff-c818-4188-b462-dbb45a24dbac |
| WorkspaceName |
string |
Çalışma alanının adı. |
eco0sh0prods |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:
|
true |
Examples
Success response
JSON format
{
"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
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.