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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: queries too slow

RE: queries too slow

From: Rajesh Dayal <Rajesh_at_ohitelecom.com>
Date: Tue, 11 Jul 2000 09:14:40 +0400
Message-Id: <10554.111627@fatcity.com>


Hi Prakash,

   I had reformatted your outputs (on notepad), even this time I did the same
thing. There is no value of rows column in the execution plan :~((

   Anyway..... Another thing you could try is create two more indexes.

  1. Composite index having keys DBSTS,SKU, say IND_DBSTS_SKU).
  2. Single column index on DBSTS, say IND_DBSTS.

   Use various combination of these indexes as hint in following order:

  1. /* INDEX (ECPRDITM, EC_PRDITM_SKU_UK) INDEX (ECPRDITM, IND_DBSTS)*/
  2. /* INDEX (ECPRDITM, IND_DBSTS_SKU) */
Also try to change the where clause as

WHERE DBSTS = 'A' AND SKU = :b7

   I had faced similar situation, and solved the things using diff index hints. Hope this helps.....

Rajesh
-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Steve Boyd Sent: Monday, July 10, 2000 10:17 PM
To: Multiple recipients of list ORACLE-L Subject: Re: queries too slow

Just for fun, try running the update with the following hint:

UPDATE /*+ FULL(ECPRDITM) */ EC_PRDITM SET DSCR=:b1 || ', ' || :b2 ,PRDITMNAME=:b1 || ', ' || :b2

   || '; ' || :b5 || ', ' || :b6
WHERE
 SKU = :b7 AND DBSTS = 'A'

See if this runs faster, and what tkprof says then.


Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/
-- 
Author: Steve Boyd
  INET: pimaco_oracle_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
Received on Tue Jul 11 2000 - 00:14:40 CDT

Original text of this message

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