摘要: Wed May 23 17:46:14 2018TT01: Standby redo logfile selected for thread 1 sequence 42251 for destination LOG_ARCHIVE_DEST_10Wed May 23 17:46:15 2018Err 阅读全文
posted @ 2018-05-23 18:11 钱若梨花落 阅读(1030) 评论(0) 推荐(0) 编辑
摘要: 1. INDEX RANGE SCAN--请记住这个INDEX RANGE SCAN扫描方式drop table t purge;create table t as select * from dba_objects;update t set object_id=rownum;commit;crea 阅读全文
posted @ 2018-05-23 16:20 钱若梨花落 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一、查询索引的高度 select index_name,blevel,leaf_blocks,num_rows,distinct_keys,clustering_factorfrom user_ind_statisticswhere table_name in( 'T1','T2','T3'); 2 阅读全文
posted @ 2018-05-23 15:56 钱若梨花落 阅读(2488) 评论(0) 推荐(0) 编辑
摘要: select sql.*, (select SQL_TEXT from dba_hist_sqltext t where t.sql_id = sql.sql_id and rownum = 1) SQLTEXT from (select a.*, RANK() over(order by els 阅读全文
posted @ 2018-05-23 15:05 钱若梨花落 阅读(669) 评论(0) 推荐(0) 编辑