您可以通过polar_stat_io_info视图和polar_stat_io_latency视图查看I/O统计信息和I/O延迟分布信息。
I/O统计视图
通过polar_stat_io_info视图可以查看I/O统计视图。
列名 | 类型 | 说明 |
---|---|---|
filetype | text | 文件类型,例如WAL、DATA、LOG等。 |
fileloc | text | 本地文件。 |
open_count | numeric | 打开文件个数。 |
open_latency_us | double precision | 打开文件延迟,单位为微秒。 |
close_count | numeric | 关闭文件个数。 |
read_count | numeric | 读取文件个数。 |
write_count | numeric | 写文件个数。 |
read_throughput | numeric | 读取文件总长度,单位为Bytes。 |
write_throughput | numeric | 写文件总长度,单位为Bytes。 |
read_latency_us | double precision | 读文件总延迟,单位为微秒。 |
write_latency_us | numeric | 写文件总延迟,单位为微秒。 |
seek_count | numeric | 文件寻址次数。 |
seek_latency_us | double precision | 文件寻址总延迟,单位为微秒。 |
creat_count | numeric | 创建文件个数。 |
creat_latency_us | double precision | 创建文件总延迟,单位为微秒。 |
fsync_count | numeric | 文件同步次数。 |
fsync_latency_us | double precision | 文件同步总延迟,单位为微秒。 |
falloc_count | numeric | falloc文件个数。 |
falloc_latency_us | double precision | falloc 文件总延迟,单位为微秒。 |
polar_stat_io_latency
通过polar_stat_io_latency视图可以查看I/O延迟分布视图。
列名 | 类型 | 说明 |
---|---|---|
iokind | text | I/O类别,例如OPEN、OPEN、CREATE、READ、WRITE等。 |
num_lessthan200us | numeric | 延迟小于200微秒的次数。 |
num_lessthan400us | numeric | 延迟小于400微秒的次数。 |
num_lessthan600us | numeric | 延迟小于600微秒的次数。 |
num_lessthan800us | numeric | 延迟小于800微秒的次数。 |
num_lessthan1ms | numeric | 延迟小于1毫秒的次数。 |
num_lessthan10ms | numeric | 延迟小于10毫秒的次数。 |
num_lessthan100ms | numeric | 延迟小于100毫秒的次数。 |
num_morethan100ms | numeric | 延迟大于100毫秒的次数。 |