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

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

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

# GV$OB_KVCACHE

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

[编辑](https://github.com/oceanbase/oceanbase-doc/edit/V4.2.5/zh-CN/700.reference/700.system-views/400.system-view-of-mysql-mode/300.performance-view-of-mysql-mode/1800.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 |   16645120 |   100.000 |          2571 |      10608221 |              0 |
| 172.xx.xxx.xxx |     2882 |      1002 | user_block_cache      |        1 |  218479616 |    99.996 |         10148 |     381985530 |          13986 |
| 172.xx.xxx.xxx |     2882 |      1002 | user_row_cache        |        1 |    8322048 |    99.970 |          3967 |      17590349 |           5192 |
| 172.xx.xxx.xxx |     2882 |      1002 | fuse_row_cache        |        1 |   12483584 |    99.946 |          2629 |      51600030 |          27666 |
| 172.xx.xxx.xxx |     2882 |      1002 | storage_meta_cache    |       10 |   12483584 |   100.000 |          9176 |         48683 |              0 |
| 172.xx.xxx.xxx |     2882 |      1002 | tx_data_kv_cache      |        2 |    6241280 |   100.000 |             1 |         49523 |              0 |
| 172.xx.xxx.xxx |     2882 |      1002 | opt_table_stat_cache  |        1 |    6241280 |    99.961 |           335 |       1169655 |            457 |
| 172.xx.xxx.xxx |     2882 |      1002 | opt_column_stat_cache |        1 |   12483584 |    99.760 |          3013 |       2413388 |           5798 |
| 172.xx.xxx.xxx |     2882 |      1002 | opt_system_stat_cache |        1 |    6241280 |   100.000 |             2 |          5436 |              0 |
+----------------+----------+-----------+-----------------------+----------+------------+-----------+---------------+---------------+----------------+
9 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) 咨询热线
