ORACLE/10G2007. 8. 2. 20:12
반응형
[oracle 10g] 통계 수집 DB

 

* 데이터 딕셔러니 통계 수집

  - 통계 자료 수집 프로시저

    + dbms_stats.gather_schema_stats

    + dbms_stats.gather_database_stats

      -> 이전 버전에도 존재하는 프로시저이나 통계자료수집은 10G에서 추가 되었다.

  - 데이터 딕셔러리의 보다 자세한 분석

    + dbms_stats.gather_dictionary_stats

  - 데이터 딕셔러리 통계자료 삭제

    + dbms_stats.delete_diciionary_stats

  - SYSDBA권한 또는 analyze any dictionary권한이 있어여 사용가능

  - 고정된 테이블 통계 수집하기 : gather_fixed 파라메터를 TRUE로 설정 한다.

  - 고정된 객체에 대한 자료 수집, 삭제

    + dbms_stats.gather_fixed_objects_stats : 수집

    + dbms_stata.delete_fixed_objects_stats : 삭제 

반응형
Posted by [PineTree]