日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

DescribeCacheAnalysisJob - 查詢緩存分析任務(wù)詳情

調(diào)用DescribeCacheAnalysisJob接口,查詢緩存分析任務(wù)詳情。

接口說明

使用該接口需滿足以下前提條件:

  • 使用阿里云或 DAS 的 SDK 時,建議使用最新版本。
  • 使用 SDK 調(diào)用 DAS 服務(wù)時,需要將地域指定為 cn-shanghai。
  • 本接口只適用于 Redis 引擎。
說明 調(diào)用本接口可查詢實例緩存分析任務(wù)中排名前 500 的 Key 信息。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權(quán)信息

當(dāng)前API暫無授權(quán)信息透出。

請求參數(shù)

名稱類型必填描述示例值
InstanceIdstring

實例 ID。

r-bp18ff4a195d****
JobIdstring

緩存分析任務(wù) ID,您可通過調(diào)用 CreateCacheAnalysisJob 接口獲取返回參數(shù)的 JobId。

sf79-sd99-sa37-****

返回參數(shù)

名稱類型描述示例值
object
Codestring

返回的狀態(tài)碼。

200
Dataobject

詳細(xì)信息列表。

BigKeysarray<object>

大 Key 詳細(xì)信息,根據(jù) Key 占用字節(jié)數(shù)降序排列。

KeyInfoobject
Byteslong

Key 占用字節(jié)數(shù)。

12345
Countlong

Key 的元素個數(shù)。

127
Dbinteger

數(shù)據(jù)庫名稱。

0
Encodingstring

Key 內(nèi)部數(shù)據(jù)類型。

hashtable
ExpirationTimeMillislong

Key 過期時間,格式為 Unix 時間戳,單位為毫秒(ms),0 表示不過期。

1596256542547
Keystring

Key 的名稱。

task_x****
NodeIdstring

實例的數(shù)據(jù)節(jié)點(diǎn) ID。

r-x****-db-0
Typestring

Redis 數(shù)據(jù)結(jié)構(gòu)類型。

hash
BigKeysOfNumarray<object>

大 Key 詳細(xì)信息,根據(jù) Key 數(shù)量降序排列。

KeyInfoobject
Byteslong

Key 占用字節(jié)數(shù)。

12345
Countlong

Key 的元素個數(shù)。

127
Dbinteger

數(shù)據(jù)庫名稱。

0
Encodingstring

Key 內(nèi)部數(shù)據(jù)類型。

hashtable
ExpirationTimeMillislong

Key 過期時間,格式為 Unix 時間戳,單位為毫秒(ms),0 表示不過期。

1596256542547
Keystring

Key 的名稱。

task_x****
NodeIdstring

實例的數(shù)據(jù)節(jié)點(diǎn) ID。

r-x****-db-0
Typestring

Redis 數(shù)據(jù)結(jié)構(gòu)類型。

hash
ExpiryKeysLevelCountarray<object>

按過期時間分類的 Key 統(tǒng)計信息。

ExpiryLevelobject

按過期時間分類的 Key 統(tǒng)計信息。

AnalysisTslong

分析完成的時間,格式為 Unix 時間戳,單位為毫秒(ms)。

1717469347000
Levelinteger

過期時間級別。取值:

  • 0:不過期。
  • 1:已過期。
  • 2:過期 0~1 小時。
  • 3:過期 1~3 小時。
  • 4:過期 3~12 小時。
  • 5:過期 12~24 小時。
  • 6:過期 1~2 天。
  • 7:過期 3~7 天。
  • 8:過期超過 7 天。
0
TotalByteslong

按過期時間分類統(tǒng)計的 Key 占用的字節(jié)數(shù)。

8064
TotalKeyslong

按過期時間分類統(tǒng)計的 Key 總數(shù)。

62
InstanceIdstring

實例 ID。

r-bp18ff4a195d****
JobIdstring

緩存分析任務(wù) ID。

sf79-sd99-sa37-****
KeyPrefixesarray<object>

Key 前綴列表。

Prefixobject
Byteslong

Key 占用字節(jié)數(shù)。

12345
Countlong

Key 的元素個數(shù)。

127
KeyNumlong

該前綴 Key 的數(shù)量。

123
Prefixstring

Key 的前綴。

task_
Typestring

Redis 數(shù)據(jù)結(jié)構(gòu)類型。

hash
Messagestring

請求返回消息。

說明 請求成功時該參數(shù)返回 Successful,請求失敗時會返回請求異常信息(如錯誤碼等)。
Successful
NodeIdstring

實例的數(shù)據(jù)節(jié)點(diǎn) ID。

r-x****-db-0
TaskStatestring

緩存分析任務(wù)的狀態(tài):

  • BACKUP:備份中。
  • ANALYZING:分析中。
  • FINISHED:分析完成。
  • FAILED:出現(xiàn)錯誤。
BACKUP
UnexBigKeysOfBytesarray<object>

永不過期 Key 的詳細(xì)信息,根據(jù) Key 占用字節(jié)數(shù)降序排列。

KeyInfoobject
Byteslong

Key 占用字節(jié)數(shù)。

12345
Countlong

Key 的元素個數(shù)。

127
Dbinteger

數(shù)據(jù)庫名稱。

0
Encodingstring

Key 內(nèi)部數(shù)據(jù)類型。

hashtable
ExpirationTimeMillislong

Key 過期時間,格式為 Unix 時間戳,單位為毫秒(ms),0 表示不過期。

1596256542547
Keystring

Key 的名稱。

task_x****
NodeIdstring

實例的數(shù)據(jù)節(jié)點(diǎn) ID

r-x****-db-0
Typestring

Redis 數(shù)據(jù)結(jié)構(gòu)類型。

hash
UnexBigKeysOfNumarray<object>

永不過期 Key 的詳細(xì)信息,根據(jù) Key 數(shù)量降序排列。

KeyInfoobject
Byteslong

Key 占用字節(jié)數(shù)。

12345
Countlong

Key 的元素個數(shù)。

127
Dbinteger

數(shù)據(jù)庫名稱。

0
Encodingstring

Key 內(nèi)部數(shù)據(jù)類型。

hashtable
ExpirationTimeMillislong

Key 過期時間,格式為 Unix 時間戳,單位為毫秒(ms),0 表示不過期。

1596256542547
Keystring

Key 的名稱。

task_x****
NodeIdstring

實例的數(shù)據(jù)節(jié)點(diǎn) ID。

r-x****-db-0
Typestring

Redis 數(shù)據(jù)結(jié)構(gòu)類型。

hash
Messagestring

請求返回消息。

說明 請求成功時該參數(shù)返回 Successful,請求失敗時會返回請求異常信息(如錯誤碼等)。
Successful
RequestIdstring

請求 ID。

B6D17591-B48B-4D31-9CD6-9B9796B2****
Successstring

請求是否執(zhí)行成功:

  • true:執(zhí)行成功。
  • false:執(zhí)行失敗。
true

示例

正常返回示例

JSON格式

{
  "Code": "200",
  "Data": {
    "BigKeys": {
      "KeyInfo": [
        {
          "Bytes": 12345,
          "Count": 127,
          "Db": 0,
          "Encoding": "hashtable",
          "ExpirationTimeMillis": 1596256542547,
          "Key": "task_x****",
          "NodeId": "r-x****-db-0",
          "Type": "hash"
        }
      ]
    },
    "BigKeysOfNum": {
      "KeyInfo": [
        {
          "Bytes": 12345,
          "Count": 127,
          "Db": 0,
          "Encoding": "hashtable",
          "ExpirationTimeMillis": 1596256542547,
          "Key": "task_x****",
          "NodeId": "r-x****-db-0",
          "Type": "hash"
        }
      ]
    },
    "ExpiryKeysLevelCount": {
      "ExpiryLevel": [
        {
          "AnalysisTs": 1717469347000,
          "Level": 0,
          "TotalBytes": 8064,
          "TotalKeys": 62
        }
      ]
    },
    "InstanceId": "r-bp18ff4a195d****",
    "JobId": "sf79-sd99-sa37-****",
    "KeyPrefixes": {
      "Prefix": [
        {
          "Bytes": 12345,
          "Count": 127,
          "KeyNum": 123,
          "Prefix": "task_",
          "Type": "hash"
        }
      ]
    },
    "Message": "Successful",
    "NodeId": "r-x****-db-0",
    "TaskState": "BACKUP",
    "UnexBigKeysOfBytes": {
      "KeyInfo": [
        {
          "Bytes": 12345,
          "Count": 127,
          "Db": 0,
          "Encoding": "hashtable",
          "ExpirationTimeMillis": 1596256542547,
          "Key": "task_x****",
          "NodeId": "r-x****-db-0",
          "Type": "hash"
        }
      ]
    },
    "UnexBigKeysOfNum": {
      "KeyInfo": [
        {
          "Bytes": 12345,
          "Count": 127,
          "Db": 0,
          "Encoding": "hashtable",
          "ExpirationTimeMillis": 1596256542547,
          "Key": "task_x****",
          "NodeId": "r-x****-db-0",
          "Type": "hash"
        }
      ]
    }
  },
  "Message": "Successful",
  "RequestId": "B6D17591-B48B-4D31-9CD6-9B9796B2****",
  "Success": "true"
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400InvalidParamsThe request parameters are invalid.請求參數(shù)錯誤
403NoPermissionYou are not authorized to do this action.沒有權(quán)限執(zhí)行該操作

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內(nèi)容概要操作
2024-06-05OpenAPI 錯誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更查看變更詳情
2023-03-30OpenAPI 錯誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更查看變更詳情