---
title: "information_schema.QUERY_RESPONSE_TIME - OceanBase 数据库 V4.2.5 | OceanBase 文档中心"
description: information_schema.QUERY_RESPONSE_TIME 说明 该视图从 V4.0.0 版本开始引入。 功能描述 展示 RESPONSE TIME 直方图等数据类型（Histogram）供 Prometheus 进行监控。 字段说明 字段名称 类型 是否可以为 NULL 描述 RESPONSE_T…
---
切换语言

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

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

# information_schema.QUERY_RESPONSE_TIME

更新时间：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/200.dictionary-view-of-mysql-mode/1700.information_schema-query_response_time-of-mysql-mode.md)

#### 说明

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

## 功能描述

展示 RESPONSE TIME 直方图等数据类型（Histogram）供 Prometheus 进行监控。

## 字段说明

| 字段名称 | 类型 | 是否可以为 NULL | 描述 |
| --- | --- | --- | --- |
| RESPONSE_TIME | bigint(14) | NO | 响应时间 |
| COUNT | bigint(14) | NO | 响应时间内的请求个数 |
| TOTAL | bigint(14) | NO | 请求的总响应时间 |

## 查询示例

查看当前租户下 RESPONSE TIME 直方图。

```shell
obclient[test]> SELECT * FROM information_schema.information_schema.QUERY_RESPONSE_TIME;

```

查询结果如下：

```shell
+----------------+----------+---------------+--------+-----------+
| SVR_IP         | SVR_PORT | RESPONSE_TIME | COUNT  | TOTAL     |
+----------------+----------+---------------+--------+-----------+
| 172.xx.xxx.xxx |     2882 |             1 |      0 |         0 |
| 172.xx.xxx.xxx |     2882 |            10 |      0 |         0 |
| 172.xx.xxx.xxx |     2882 |           100 | 699903 |  41179133 |
| 172.xx.xxx.xxx |     2882 |          1000 | 659849 | 115135926 |
| 172.xx.xxx.xxx |     2882 |         10000 |   8881 |  24131188 |
| 172.xx.xxx.xxx |     2882 |        100000 |    570 |  12560344 |
| 172.xx.xxx.xxx |     2882 |       1000000 |     15 |   2826919 |
| 172.xx.xxx.xxx |     2882 |      10000000 |      1 |   1214148 |
| 172.xx.xxx.xxx |     2882 |     100000000 |      1 |  10403360 |
| 172.xx.xxx.xxx |     2882 |    1000000000 |      0 |         0 |
| 172.xx.xxx.xxx |     2882 |   10000000000 |      0 |         0 |
| 172.xx.xxx.xxx |     2882 |  100000000000 |      0 |         0 |
| 172.xx.xxx.xxx |     2882 | 1000000000000 |      0 |         0 |
+----------------+----------+---------------+--------+-----------+
13 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) 咨询热线
