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: PL/SQL Performance Issue or Slow Cursor?

Re: PL/SQL Performance Issue or Slow Cursor?

From: Michael Bialik <bialik_at_isdn.net.il>
Date: 3 Oct 2001 13:55:01 -0700
Message-ID: <969f8022.0110031255.4035b581@posting.google.com>


Hi.

  1. Use EXPLAIN window of PLSQL Developer to get EXPLAIN PLAN and post it.
  2. What indexes do you have on P_TYPES table? Post:
    • Tables definitions
    • Index definitions ( Do you have an index on P_TYPES table with ID as leading column?)
    • Output of query "SELECT * FROM user_tables WHERE table_name in ('P_TYPES','TEMP_RESULT_TABLE')"

DECLARE
 CURSOR c_search IS

        SELECT PT.ID,
               PT.SET_TYPE,
               PT.LOCATION,
               PT.BACKUP,
               PT.ARCHIVE_ID
          FROM P_TYPES PT, TEMP_RESULT_TABLE TRT
          WHERE TRT.ID = PT.ID
          ORDER BY TRT.ID;
Received on Wed Oct 03 2001 - 15:55:01 CDT

Original text of this message

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