文档首页/
    
      
      云数据库 GaussDB/
      
      
        
        
        开发指南(集中式_V2.0-2.x)/
        
        
        Schema/
        
        
        DBE_PERF Schema/
        
        
        Global Plancache/
        
      
      GLOBAL_PLANCACHE_STATUS
    
  
  
    
        更新时间:2025-02-27 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
GLOBAL_PLANCACHE_STATUS
GLOBAL_PLANCACHE_STATUS视图显示GPC全局计划缓存状态信息。
| 
       名称  | 
     
       类型  | 
     
       描述  | 
    
|---|---|---|
| 
       nodename  | 
     
       text  | 
     
       所属节点名称。  | 
    
| 
       query  | 
     
       text  | 
     
       查询语句text。  | 
    
| 
       refcount  | 
     
       integer  | 
     
       被引用次数。  | 
    
| 
       valid  | 
     
       bool  | 
     
       是否合法。  | 
    
| 
       databaseid  | 
     
       oid  | 
     
       所属数据库id。  | 
    
| 
       schema_name  | 
     
       text  | 
     
       所属schema。  | 
    
| 
       params_num  | 
     
       integer  | 
     
       参数数量。  | 
    
| 
       func_id  | 
     
       oid  | 
     
       该plancache所在存储过程oid,如果不属于存储过程则为0。  | 
    
   父主题: Global Plancache