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: Please Help: Sudden Drop in SQL Performance

Re: Please Help: Sudden Drop in SQL Performance

From: Vincent Wittlin <vincent.wittlin_at_libertysurf.fr>
Date: Wed, 12 Jan 2000 09:52:51 +0100
Message-ID: <85hf45$7fs$1@jaydee.iway.fr>


SELECT DISTINCT EMPLID, EMPL_RCD#, NAME, SSN FROM PS_FSA_HC_SRCH WHERE EMPLID LIKE '12900%' AND OPRCLASS='ALLPANLS' ORDER BY EMPLID; Oracle Can choose to use the index on EMPLID or the index on ORPCLASS

The powserfull is the first one. Check with typing "Set sqltrace=true" at sqlplus prompt if Oracle uses the correct index You should certainly have to create the plan table ($ORACLE_HOME/rdbms/admin/utlxplan.sql) before setting the sqltrace variable.

Send us the execution plan... Received on Wed Jan 12 2000 - 02:52:51 CST

Original text of this message

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