dba_segments is a view on sys_dba_segs which is: all "normal" segments union all all temp segs union all all rollback segs
the last two of which we rarely care about when it comes to checking space etc. You can get (some) gains by creating your own view on just the "normal" segs hth connor --- "Deshpande, Kirti" <[EMAIL PROTECTED]> wrote: > 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. > > - Kirti > > -----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@p To: > Multiple recipients of list > ORACLE-L <[EMAIL PROTECTED]> > s.net> cc: > > Sent by: Subject: > Total Extents > > root@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: [EMAIL PROTECTED] > -- > Please see the official ORACLE-L FAQ: > http://www.orafaq.com > -- > Author: Deshpande, Kirti > INET: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] (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). ===== Connor McDonald http://www.oracledba.co.uk (mirrored at http://www.oradba.freeserve.co.uk) "Some days you're the pigeon, some days you're the statue" __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: =?iso-8859-1?q?Connor=20McDonald?= INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).