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: Slow USER_SEGMENTS query

RE: Slow USER_SEGMENTS query

From: Khemmanivanh, Somckit <somckit.khemmanivanh_at_weyerhaeuser.com>
Date: Wed, 13 Dec 2006 09:48:42 -0800
Message-ID: <65C0D8935651CB4D96E97CEFAC5A12B9038D1ABD@wafedixm10.corp.weyer.pri>


I tried it but it was pretty much the same...I didn't look at the plan super close...but it either ignored the hint or it made no difference....  

Here's the statement:  

SELECT /*+ FIRST_ROWS */
NVL(BYTES,-1) FROM USER_SEGMENTS
WHERE SEGMENT_NAME = 'mytab'
OR SEGMENT_NAME IN
(SELECT SEGMENT_NAME FROM USER_LOBS WHERE TABLE_NAME = 'mytab');

Thanks!  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Thomas Day Sent: Wednesday, December 13, 2006 9:12 AM To: oracle-l
Subject: Re: Slow USER_SEGMENTS query

OK. Here's a hint  

/* FIRST ROW */   If it works, great. If not, you're no worse off.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Dec 13 2006 - 11:48:42 CST

Original text of this message

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