
# 数据库级性能指标
#### **General Overview**
图1General Overview   
![](https://support.huaweicloud.com/bestpractice-rds-pg/zh-cn_image_0000002229707970.png "点击放大")
表1Calls字段解释 
| 字段              | 说明           |
|:---|:---|
| Queries per sec | 每秒执行查询的次数。   |
| Runtime per sec | 每秒内执行查询的总耗时。 |
| Avg runtime     | 查询的平均耗时。     |
   
表2Blocks字段解释 
| 字段                        | 说明            |
|:---|:---|
| Total shared buffers hit  | 命中共享缓冲区的数据量。  |
| Total shared buffers miss | 未命中共享缓冲区的数据量。 |
   
#### **Database Objects**
图2Database Objects   
![](https://support.huaweicloud.com/bestpractice-rds-pg/zh-cn_image_0000002264627509.png "点击放大")
表3Access pattern字段解释 
| 字段                | 说明            |
|:---|:---|
| Index scans ratio | 索引扫描/序列扫描的比率。 |
| Index scans       | 每秒索引扫描次数。     |
| Sequential scans  | 每秒顺序扫描次数。     |
   
表4DML activity字段解释 
| 字段                 | 说明            |
|:---|:---|
| Tuples inserted    | 每秒插入的行数。      |
| Tuples updated     | 每秒更新的行数。      |
| Tuples HOT updated | 每秒更新(HOT)的行数。 |
| Tuples deleted     | 每秒删除的行数。      |
   
表5Vacuum activity字段解释 
| 字段            | 说明         |
|:---|:---|
| # Vacuum      | 每秒手动清理的次数。 |
| # Autovacuum  | 每秒自动清理的次数。 |
| # Analyze     | 每秒手动分析的次数。 |
| # Autoanalyze | 每秒自动分析的次数。 |
   
#### **Details for all databases**
图3Details for all databases   
![](https://support.huaweicloud.com/bestpractice-rds-pg/zh-cn_image_0000002229548130.png "点击放大")
表6Details for all databases字段解释 
| 字段                   | 注释          |
|:---|:---|
| Query                | 执行的SQL。     |
| (Execution) #        | 执行该SQL次数。   |
| (Execution) Time     | 执行该SQL总时间。  |
| (Execution) Avg time | 执行该SQL平均时间。 |
| (I/O Time) Read      | 读I/O等待时间。   |
| (I/O Time) Write     | 写I/O等待时间。   |
| (Blocks) Read        | 磁盘读页面数。     |
| (Blocks) Hit         | 共享缓冲区命中页面数。 |
| (Blocks) Dirtied     | 脏页面数。       |
| (Blocks) Written     | 磁盘写页面数。     |
| (Temp blocks) Read   | 磁盘读临时页面数。   |
| (Temp blocks) Write  | 磁盘写临时页面数。   |
   
