개발 관련/ORACLE

oracle 테이블, 인덱스 분석 조회 쿼리

riberio 2017. 4. 11. 11:21

select 'analyze table ' || table_name || ' estimate statistics;' from user_tables;


select 'analyze index ' || index_name || ' estimate statistics;' from user_indexes;