Tüm Ürünler
Search
Belge Merkezi

:QueryCubeOptimization

Son Güncelleme:Oct 01, 2026

Veri kümesi optimizasyon önerilerini sorgular.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • OPEN_CACHE: Önbelleği aç.

  • OPEN_QUICK_ENGINE: FAST Cache'i aç.

  • INCREASE_CACHE_TIME: Önbellek süresini artır.

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: İstek başarılı oldu.

  • false: İstek başarısız oldu.

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.