---
title: "GV$OB_MEMSTORE_INFO - OceanBase 数据库 V4.2.2 | OceanBase 文档中心"
description: GV$OB_MEMSTORE_INFO 说明 视图 GV$MEMSTORE_INFO 从 V4.0.0 版本开始更名为 GV$OB_MEMSTORE_INFO ，V4.0.0 及之后版本需要使用新视图名 GV$OB_MEMSTORE_INFO 来查询，使用原视图名 GV$MEMSTORE_INFO 查询将会报错。 功…
---
切换语言

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

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

# GV$OB_MEMSTORE_INFO

更新时间：2026-04-10 11:58:37

[编辑](https://github.com/oceanbase/oceanbase-doc/edit/V4.2.2/zh-CN/700.reference/700.system-views/300.system-view-of-sys-tenant/300.performance-view-of-sys-tenant/9700.gv-ob_memstore_info-of-sys-tenant.md)

#### 说明

视图 `GV$MEMSTORE_INFO` 从 V4.0.0 版本开始更名为 `GV$OB_MEMSTORE_INFO`，V4.0.0 及之后版本需要使用新视图名 `GV$OB_MEMSTORE_INFO` 来查询，使用原视图名 `GV$MEMSTORE_INFO` 查询将会报错。

## 功能描述

展示所有服务器上所有租户的所有分区的 MemTable 的详细信息。

## 字段说明

| **字段名称** | **类型** | **是否可以为空** | **描述** |
| --- | --- | --- | --- |
| SVR_IP | varchar(46) | NO | 服务器的 IP 地址 |
| SVR_PORT | bigint(20) | NO | 服务器端口 |
| TENANT_ID | bigint(20) | NO | 租户 ID |
| LS_ID | bigint(20) | NO | 日志流 ID |
| TABLE_ID | bigint(20) | NO | 数据分片 ID |
| IS_ACTIVE | varchar(3) | NO | 是否是活跃的 |
| START_SCN | bigint(20) unsigned | NO | 存储开始位点 |
| END_SCN | bigint(20) unsigned | NO | 存储结束位点 |
| FREEZE_TS | bigint(20) | NO | 被冻结的时间点 |

## 查询示例

查询租户 ID 为 `1002` 的租户的所有服务器上所有分区的 MemTable 的详细信息。

```shell
obclient [oceanbase]> SELECT * FROM oceanbase.GV$OB_MEMSTORE_INFO WHERE TENANT_ID=1002;

```

查询结果如下：

```shell
+----------------+----------+-----------+-------+-----------+-----------+---------------------+---------------------+-----------+
| SVR_IP         | SVR_PORT | TENANT_ID | LS_ID | TABLET_ID | IS_ACTIVE | START_SCN           | END_SCN             | FREEZE_TS |
+----------------+----------+-----------+-------+-----------+-----------+---------------------+---------------------+-----------+
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |       378 | YES       | 1714068002572249530 | 4611686018427387903 |         0 |
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |         1 | YES       | 1714068112628329951 | 4611686018427387903 |         0 |
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |       377 | YES       | 1714068002572249530 | 4611686018427387903 |         0 |
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |       323 | YES       | 1714068002572249530 | 4611686018427387903 |         0 |
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |       331 | YES       | 1714068002572249530 | 4611686018427387903 |         0 |
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |       121 | YES       | 1714068114066199993 | 4611686018427387903 |         0 |
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |       431 | YES       | 1714031525703603309 | 4611686018427387903 |         0 |
| 172.xx.xxx.xxx |     2882 |      1002 |     1 |       373 | YES       |                   1 | 4611686018427387903 |         0 |
+----------------+----------+-----------+-------+-----------+-----------+---------------------+---------------------+-----------+
8 rows in set

```

## 相关视图

- [V$OB_MEMSTORE_INFO](https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000509395)
 - [GV$OB_MEMSTORE](https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000509303)

 上一篇 下一篇 ![有帮助](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) 咨询热线
