---
title: "GV$OB_KVCACHE - OceanBase 数据库 V4.3.5 | OceanBase 文档中心"
description: GV$OB_KVCACHE 说明 该视图从 V4.0.0 版本开始引入。 功能描述 展示本租户在每台 OBServer 节点上的 KVcache 信息。 字段说明 字段名称 类型 是否可以为 NULL 描述 SVR_IP varchar(46) NO 服务器 IP 地址 SVR_PORT bigint(20) NO …
image: https://mdn.alipayobjects.com/huamei_22khvb/afts/img/A*OSPzQ6GUQF4AAAAAQHAAAAgAeiGDAQ/original
---
切换语言

- 中文站 - 简体中文
- International - English
- 日本站 - 日本語

文档反馈![](https://mdn.alipayobjects.com/huamei_22khvb/afts/img/A*P8CuR4UJ_FkAAAAAAAAAAAAADiGDAQ/original) OceanBase 数据库分布式版 - V 4.3.5 LTS

# GV$OB_KVCACHE

更新时间：2026-07-15 20:42:46

[编辑](https://github.com/oceanbase/oceanbase-doc/edit/V4.3.5/zh-CN/700.reference/700.system-views/400.system-view-of-mysql-mode/300.performance-view-of-mysql-mode/1200.gv-ob_kvcache-of-mysql-mode.md)

#### 说明

该视图从 V4.0.0 版本开始引入。

## 功能描述

展示本租户在每台 OBServer 节点上的 KVcache 信息。

## 字段说明

| 字段名称 | 类型 | 是否可以为 NULL | 描述 |
| --- | --- | --- | --- |
| SVR_IP | varchar(46) | NO | 服务器 IP 地址 |
| SVR_PORT | bigint(20) | NO | 服务器端口号 |
| TENANT_ID | bigint(20) | NO | 租户 ID |
| CACHE_NAME | varchar(128) | NO | CACHE 项名称 |
| PRIORITY | bigint(20) | NO | 优先级 |
| CACHE_SIZE | bigint(20) | NO | CACHE 大小 |
| HIT_RATIO | decimal(38,3) | NO | 命中率 |
| TOTAL_PUT_CNT | bigint(20) | NO | PUT 次数 |
| TOTAL_HIT_CNT | bigint(20) | NO | 命中次数 |
| TOTAL_MISS_CNT | bigint(20) | NO | 未命中次数 |

## 查询示例

用户租户查询本租户在每台 OBServer 节点上的 KVcache 信息。

```shell
obclient [oceanbase]> SELECT * FROM oceanbase.GV$OB_KVCACHE;

```

查询结果如下：

```shell
+----------------+----------+-----------+-----------------------+----------+------------+-----------+---------------+---------------+----------------+
| SVR_IP         | SVR_PORT | TENANT_ID | CACHE_NAME            | PRIORITY | CACHE_SIZE | HIT_RATIO | TOTAL_PUT_CNT | TOTAL_HIT_CNT | TOTAL_MISS_CNT |
+----------------+----------+-----------+-----------------------+----------+------------+-----------+---------------+---------------+----------------+
| 172.xx.xxx.xxx |     2882 |      1002 | index_block_cache     |       10 |   72824832 |    99.545 |         20906 |       5627353 |          25711 |
| 172.xx.xxx.xxx |     2882 |      1002 | user_block_cache      |        1 |  759478272 |    99.907 |         25314 |      29799447 |          27674 |
| 172.xx.xxx.xxx |     2882 |      1002 | user_row_cache        |        1 |   12483584 |    62.578 |          5048 |         15100 |           9030 |
| 172.xx.xxx.xxx |     2882 |      1002 | fuse_row_cache        |        1 |    6241280 |    99.815 |           497 |        759998 |           1405 |
| 172.xx.xxx.xxx |     2882 |      1002 | storage_meta_cache    |       10 |  297544704 |    99.844 |         60664 |      38776523 |          60766 |
| 172.xx.xxx.xxx |     2882 |      1002 | tx_data_kv_cache      |        2 |    6241280 |   100.000 |             2 |         55810 |              0 |
| 172.xx.xxx.xxx |     2882 |      1002 | log_kv_cache          |        1 | 2632168448 |     0.000 |         39208 |             0 |              0 |
| 172.xx.xxx.xxx |     2882 |      1002 | opt_table_stat_cache  |        1 |    6241280 |    91.495 |           472 |         42517 |           3952 |
| 172.xx.xxx.xxx |     2882 |      1002 | opt_column_stat_cache |        1 |   22887424 |    81.099 |          6688 |        187198 |          43628 |
| 172.xx.xxx.xxx |     2882 |      1002 | opt_ds_stat_cache     |        1 |    6241280 |    90.110 |             9 |            82 |              9 |
| 172.xx.xxx.xxx |     2882 |      1002 | opt_system_stat_cache |        1 |    6241280 |   100.000 |             2 |          5263 |              0 |
+----------------+----------+-----------+-----------------------+----------+------------+-----------+---------------+---------------+----------------+
11 rows in set

```

 上一篇 下一篇 ![有帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*y6ocSqN8cqsAAAAAAAAAAAAAARQnAQ)![无帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*BG9IQJyLHF8AAAAAAAAAAAAAARQnAQ)![反馈](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*eTWdQKCRKHwAAAAAAAAAAAAAARQnAQ)[AI](https://www.oceanbase.com/obi) 咨询热线
