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: segment from block#

Re: segment from block#

From: Arup Nanda <orarup_at_hotmail.com>
Date: Fri, 14 Mar 2003 09:24:04 -0800
Message-ID: <F001.0056A51B.20030314092404@fatcity.com>


Join the file_id as well as follows

select segment_name
from dba_extents
where file_id = 123
and 259186 between blocks and blocks+block_id

HTH Arup

  Is this a good query to find segment where this block ( 259186 ) belongs ?

  select segment_name

  from dba_extents

  where block_id<= 259186 and 259186 <= block_id+blocks

  -ak

--

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

Author: Arup Nanda
  INET: orarup_at_hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Fri Mar 14 2003 - 11:24:04 CST

Original text of this message

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