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: Total Extents

RE: Total Extents

From: K Gopalakrishnan <kaygopal_at_yahoo.com>
Date: Thu, 28 Feb 2002 09:53:25 -0800
Message-ID: <F001.0041B5CA.20020228095325@fatcity.com>


Kirti,

In LMT you can query the X$KTFBUE which is roughly equivalent to UET$ in DMTs.

select v.name "FILE NAME",count(x.KTFBUEFNO) "TOTAL # of EXTENTS" from V$datafile v, X$KTFBUE x
where v.file#=X.ktfbuefno
group by v.name;

Ethan, Is this what you are looking for or something else?

Best Regards,
K Gopalakrishnan
Bangalore, INDIA

-----Original Message-----

Kirti
Sent: Thursday, February 28, 2002 7:13 AM To: Multiple recipients of list ORACLE-L

That's what I thought too, but it will skip extents from any LMTs in use. And getting extents info when LMTs are is use will be slower as compared to DMTs due the way this info is stored in the bitmap in each datafile for the LMT.

-----Original Message-----

Sent: Wednesday, February 27, 2002 4:47 PM To: Multiple recipients of list ORACLE-L

How about counting rows from uet$? I have not tried it.

Raj

                    "Post, Ethan"

                    <Ethan.Post_at_p        To:     Multiple recipients of list
ORACLE-L <ORACLE-L_at_fatcity.com>
                    s.net>               cc:

                    Sent by:             Subject:     Total Extents

                    root_at_fatcity.

                    com





                    February 27,

                    2002 05:13 PM

                    Please

                    respond to

                    ORACLE-L


Anyone recommend a faster access path for getting the total number of extents in the database? select sum(extents) from dba_segments is too slow for my purposes.

Ethan
--

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

Author: Post, Ethan
  INET: Ethan.Post_at_ps.net
--

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

Author: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.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 the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--

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

Author: K Gopalakrishnan
  INET: kaygopal_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 the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Feb 28 2002 - 11:53:25 CST

Original text of this message

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