表碎片分析(三种方法对比)
三种表碎片分析语句比较:insert into a select * from a;/delete a where rownum<100000;select bytes/1024/1024 from dba_segments where segment_name='A';analyze table wyq.a compute statistics;第一种: SELECT a.owner "用户", a.TABLE_NAME "表名", &n...
对rename的表进行日志挖掘
表重命名:alter table aa rename to a;目的:查询什么时间,谁,对a表,进行了rename。对ddl操作进行挖掘:需要开启补充日志功能:SELECT SUPPLEMENTAL_LOG_DATA_MIN FROM V$DATABASE;---查看是否开启了补充日志的功能数据库级补充日志分为:最小补充日志、标识关键字段补充日志  ...
关于dblink的ora-02020报错
1、在xxxx上进行使用dblink查询表空间的时候,遇到:ora-02020,导致无法再次使用dblink查询。oracle $ oerr ora 202002020, 00000, "too many database links in use"// *Cause: The current session has exceeded the INIT.ORA open_links maximum.// *Action: Increase the open_links limit, or free up some op...