Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: segment from block#
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