Sim*_*mon 13 postgresql index-statistics
在 Postgres 8.4 上执行以下操作时:
select * from pg_stat_all_indexes where relname = 'table_name';
Run Code Online (Sandbox Code Playgroud)
它返回字段 idx_tup_read 和 idx_tup_fetch,有什么区别?
idx_tup_read is number of index entries returned by scans on this index
idx_tup_fetch is number of live table rows fetched by simple index scans using this index
Run Code Online (Sandbox Code Playgroud)
因此,read
s 是指索引返回所需行的位置,fetch
es 是指索引返回表行本身。
归档时间: |
|
查看次数: |
7308 次 |
最近记录: |