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

DescribeHotBigKeys - 實時獲取當前熱Key和大Key

調用DescribeHotBigKeys接口,實時獲取當前內存中的熱Key和大Key。

接口說明

對數據結構為 List、Hash、Set、Zset 的 Key,按照 Key 中元素的數量排序并展示排名前 3 的 Key,記錄為大 Key;當某個 Key 的 QPS 大于 3,000 時會被記錄為熱點 Key。

  • 在使用阿里云 SDK 時,需要保證 aliyun-sdk-core 的版本大于 4.3.3,建議使用最新版本。
  • 使用 DAS 的 SDK 的版本為 1.0.2 或以上。
  • 在使用 SDK 調用 DAS 服務時,需要將地域指定為 cn-shanghai。
  • 本接口只適用于如下 Redis 實例:
    • 實例為社區版(5.0 及以上版本)或企業版(性能增強型)。
    • 實例的小版本為最新。
說明 關于如何查詢小版本、升級小版本,詳情請參見 ModifyInstanceMinorVersion 、 DescribeEngineVersion

調試

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

授權信息

當前API暫無授權信息透出。

請求參數

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

備用參數。

None
InstanceIdstring

Redis 實例 ID,您可以調用 DescribeInstances 接口獲取。

r-bp18ff4a195d****
NodeIdstring

Redis 實例的數據分片 ID,您可以調用 DescribeRoleZoneInfo 接口獲取。

r-****-db-0

返回參數

名稱類型描述示例值
object
Codestring

返回的狀態碼。

200
Dataobject

詳情信息列表。

BigKeyMsgstring

獲取大 Key 失敗的原因。

current version doesn't support
BigKeysarray<object>

大 Key 的詳細列表。

BigKeyobject
Dbinteger

Key 所在的 DB。

0
Keystring

具體的 Key。

abc:def:eng
KeyTypestring

Key 類型。

zset
NodeIdstring

Redis 實例的數據分片 ID。

r-x****-db-0
Sizelong

元素的個數。

2
HotKeyMsgstring

獲取熱 Key 失敗的原因。

current version doesn't support
HotKeysarray<object>

熱鍵詳細列表。

HotKeyobject
Dbinteger

Key 所在的 DB。

0
Hotstring

Key 的訪問頻次,即 Key 的每秒訪問數。

5500~6000
Keystring

具體的 Key。

abc:def:eng
KeyTypestring

Key 的類型。

zset
Lfuinteger

LFU 算法的統計值。

253
NodeIdstring

Redis 實例的數據分片 ID。

r-x****-db-0
Messagestring

請求返回消息。

Successful
RequestIdstring

請求 ID。

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

請求是否執行成功:

  • true:執行成功。
  • false:執行失敗。
true

示例

正常返回示例

JSON格式

{
  "Code": "200",
  "Data": {
    "BigKeyMsg": "current version doesn't support",
    "BigKeys": {
      "BigKey": [
        {
          "Db": 0,
          "Key": "abc:def:eng",
          "KeyType": "zset",
          "NodeId": "r-x****-db-0",
          "Size": 2
        }
      ]
    },
    "HotKeyMsg": "current version doesn't support",
    "HotKeys": {
      "HotKey": [
        {
          "Db": 0,
          "Hot": "5500~6000",
          "Key": "abc:def:eng",
          "KeyType": "zset",
          "Lfu": 253,
          "NodeId": "r-x****-db-0"
        }
      ]
    }
  },
  "Message": "Successful",
  "RequestId": "B6D17591-B48B-4D31-9CD6-9B9796B2****",
  "Success": "true"
}

錯誤碼

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

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

變更歷史

變更時間變更內容概要操作
暫無變更歷史