zoukankan      html  css  js  c++  java
  • 收集统计信息 不会更新DDL时间

    
    收集统计信息不会更新DDL时间
    
    
    
    SQL>  select owner,object_name,created,last_ddl_time  from dba_objects a where a.object_name='TEST200' and owner='TLCBUSER';
    
    OWNER                   OBJECT_NAME              CREATED          LAST_DDL_TIME
    ------------------------------ ------------------------------ ------------------- -------------------
    TLCBUSER               TEST200                  2018-05-22 17:10:58 2018-05-22 17:11:48
    
    SQL> BEGIN
      DBMS_STATS.GATHER_TABLE_STATS(ownname          => 'TLCBUSER',
                                    tabname          => 'TEST200',
                                    estimate_percent => 100,
                                    method_opt       => 'for all columns size repeat',
                                    no_invalidate    => FALSE,
                                    degree           => 8,
                                    cascade          => TRUE);
    END;  2    3    4    5    6    7    8    9  
     10  /
    
    PL/SQL procedure successfully completed.
    
    SQL>  select owner,object_name,created,last_ddl_time  from dba_objects a where a.object_name='TEST200' and owner='TLCBUSER';
    
    OWNER                   OBJECT_NAME              CREATED          LAST_DDL_TIME
    ------------------------------ ------------------------------ ------------------- -------------------
    TLCBUSER               TEST200                  2018-05-22 17:10:58 2018-05-22 17:11:48
    
  • 相关阅读:
    Grove.net实践ORM学习笔记
    COM+的事务
    Delphi中MIDAS线程模型
    Delphi中封装ADO之我重学习记录。。。
    100 多个JaveScript 常用函数
    javascript 事件
    js 收藏
    js 常用函数
    表单11种Input的高级用法
    UltraEdit 使用技巧
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349034.html
Copyright © 2011-2022 走看看