Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL query tuning method?

Re: SQL query tuning method?

From: Mirek Dylong (DYLO) <dylo_at_friko.onet.pl>
Date: Mon, 12 Mar 2001 11:38:34 +0100
Message-ID: <98i8mi$2u8$1@zeus.polsl.gliwice.pl>

Step by step "TUNINING SQL STATEMENT"

  1. You must execute script when create table "PLAN_TABLE $ORACLE_HOME\RDBMS\ADMIN\UTLXPLAN.SQL
  2. Run PLAN explain plan set statement_id ='a3' into plan_table for select * from test where code= :1;
  3. Select result select STATEMENT_ID, TIMESTAMP, REMARKS, OPERATION, OPTIONS, OBJECT_NODE, OBJECT_TYPE,OPTIMIZER,SEARCH_COLUMNS, ID, PARENT_ID, POSITION, COST, CARDINALITY, BYTES, OTHER_TAG, PARTITION_START, PARTITION_STOP, PARTITION_ID, other from plan_table where statement_id ='a2'

Mirek Dylong Received on Mon Mar 12 2001 - 04:38:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US