RE: dba_extents and dba_segments

  • From: genegurevich@xxxxxxxxxxxxxxxxxxxxx
  • To: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • Date: Wed, 9 May 2007 16:40:38 -0500

I don't think this is the case:

  1* select sum(bytes/1024)/1024 from dba_segments where segment_name like
'BIN%' and tablespace_name = 'CCS_X_017'
SQL> /

SUM(BYTES/1024)/1024
--------------------

There is no dropped objects in this tablespace.

thank you

Gene Gurevich
Oracle MySQL Operations - OMO
224-405-4079


                                                                           
             "Allen, Brandon"                                              
             <Brandon.Allen@On                                             
             eNeck.com>                                                 To 
                                       <genegurevich@xxxxxxxxxxxxxxxxxxxxx 
             05/09/2007 04:26          >, <oracle-l@xxxxxxxxxxxxx>         
             PM                                                         cc 
                                                                           
                                                                   Subject 
                                       RE: dba_extents and dba_segments    
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Just a guess - maybe the dba_segments view filters out dropped objects
(i.e. those in the recycle bin), while dba_extents does not?

Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to the
official business of this company shall be understood as neither given nor
endorsed by it.





--
//www.freelists.org/webpage/oracle-l


Other related posts: