更新时间:2025-03-13 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
STATIO_ALL_TABLES
STATIO_ALL_TABLES视图将包含数据库中每个表(包括TOAST表)的一行,显示出特定表I/O的统计。
| 
       名称  | 
     
       类型  | 
     
       描述  | 
    
|---|---|---|
| 
       relid  | 
     
       oid  | 
     
       表OID。  | 
    
| 
       schemaname  | 
     
       name  | 
     
       该表模式名。  | 
    
| 
       relname  | 
     
       name  | 
     
       表名。  | 
    
| 
       heap_blks_read  | 
     
       bigint  | 
     
       从该表中读取的磁盘块数。  | 
    
| 
       heap_blks_hit  | 
     
       bigint  | 
     
       该表缓存命中数。  | 
    
| 
       idx_blks_read  | 
     
       bigint  | 
     
       从表中所有索引读取的磁盘块数。  | 
    
| 
       idx_blks_hit  | 
     
       bigint  | 
     
       表中所有索引命中缓存数。  | 
    
| 
       toast_blks_read  | 
     
       bigint  | 
     
       该表的TOAST表读取的磁盘块数(如果存在)。  | 
    
| 
       toast_blks_hit  | 
     
       bigint  | 
     
       该表的TOAST表命中缓冲区数(如果存在)。  | 
    
| 
       tidx_blks_read  | 
     
       bigint  | 
     
       该表的TOAST表索引读取的磁盘块数(如果存在)。  | 
    
| 
       tidx_blks_hit  | 
     
       bigint  | 
     
       该表的TOAST表索引命中缓冲区数(如果存在)。  | 
    
   父主题: Cache/IO