728x90

예전 카페에서 폐지 공지가 와서 자료를 옮겨 놓습니다.

이때도 플랜 테이블 생성안되어 있던 곳이 있었나 보네요.

 


create table PLAN_TABLE ( 
        statement_id    varchar2(30), 
        timestamp       date, 
        remarks         varchar2(80), 
        operation       varchar2(30), 
        options         varchar2(30), 
        object_node     varchar2(128), 
        object_owner    varchar2(30), 
        object_name     varchar2(30), 
        object_instance numeric, 
        object_type     varchar2(30), 
        optimizer       varchar2(255), 
        search_columns  number, 
        id              numeric, 
        parent_id       numeric, 
        position        numeric, 
        cost            numeric, 
        cardinality     numeric, 
        bytes           numeric, 
        other_tag       varchar2(255), 
        partition_start varchar2(255), 
        partition_stop  varchar2(255), 
        partition_id    numeric, 
        other           long, 
        distribution    varchar2(30)); 

 

create unique index plan_index 
on plan_table( statement_id, id ); 

table 생성후

view>option>oracle>general의 Explan Plan Table Name을 생성된 테이블 명과 동일하게 셋팅

728x90

+ Recent posts