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: Analyze script written by Connor McDonald

RE: Analyze script written by Connor McDonald

From: Koivu, Lisa <Lisa.Koivu_at_Cendant-TRG.com>
Date: Thu, 29 Jan 2004 08:25:12 -0500
Message-ID: <840C139B79E7CC4496B2594E9E35E9670419257E@floexmailbe2.ffci.com>


Hi Connor,=20

Thanks for your response. Yes, the reason I was so confused was because = I have never taken the time to learn the tables it's reading. = Decomposing the sql statement didn't help much. I will probably tweak = it a little bit to read the ALL* views instead. =20

Thanks again
Lisa

-----Original Message-----
From: Connor McDonald [mailto:hamcdc_at_yahoo.co.uk]=20 Sent: Wednesday, January 28, 2004 7:52 PM To: oracle-l_at_freelists.org
Subject: RE: Analyze script written by Connor McDonald=20

Hi Lisa,

That'll teach you for using stuff written in 2002, especially when its = based on a script written
in 2001 :-) =20

Seriously though, I'd take a (very) thorough look at the driving select = statement. I put it
together like that because at the time I was at a client with tens of = thousands of segments so
queries to DBA_SEGMENTS just took forever, so I delved into the = underlying view definition to get
some speedup. =20

The DBA_SEGMENTS definition is one of those things that changes *very* = frequently (as our good
friends at Oracle add IOT's, compressed table, partitioned domain = objects etc etc etc etc etc).

The basic concepts within the script remain valid, but you might want to = put together a more
"version-robust" query to DBA_SEGMENTS/TABLES/INDEXES etc.

hth
connor

=3D=3D=3D=3D=3D
Connor McDonald
Co-author: "Mastering Oracle PL/SQL - Practical Solutions" - available = now
web: http://www.oracledba.co.uk
web: http://www.oaktable.net
email: connor_mcdonald_at_yahoo.com

"GIVE a man a fish and he will eat for a day. But TEACH him how to fish, = and...he will sit in a boat and drink beer all day"



BT Yahoo! Broadband - Free modem offer, sign up online today and save = =A380 http://btyahoo.yahoo.co.uk

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

"The sender believes that this E-Mail and any attachments were free of =
any virus, worm, Trojan horse, and/or malicious code when sent. This =
message and its attachments could have been infected during =
transmission.  By reading the message and opening any attachments, the =
recipient accepts full responsibility for taking proactive and remedial =
action about viruses and other defects. The sender's business entity is =
not liable for any loss or damage arising in any way from this message =
or its attachments."

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Jan 29 2004 - 07:25:12 CST

Original text of this message

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