Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> Re: segment from block#

Re: segment from block#

From: Wolfgang Breitling <>
Date: Fri, 14 Mar 2003 09:49:22 -0800
Message-ID: <>

You also need to specify the file_id in the predicate. However, on anything but a micky-mouse (T) database this query will take a long time which is why I run a nightly job to populate a "extent_to_object" table which will give me that answer quickly (except for any newly created extents) and without incurring too much overhead on the system.

At 08:03 AM 3/14/2003 -0800, you wrote:

>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

Wolfgang Breitling
Centrex Consulting Corporation

This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and if you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited. If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately. We honour similar requests relating to the privacy of email communications.

Cette communication par courrier electronique est une communication privee a l'usage exclusif du destinataire principal ainsi que des personnes dont les noms figurent en copie. Les renseignements contenus dans ce courriel sont confidentiels et si vous n'etes pas le destinataire prevu, vous etes avise, par les presentes que toute reproduction, tout transfert ou toute autre forme de diffusion de cette communication par quelque moyen que ce soit est interdit. Si vous n'etes pas specifiquement autorise a recevoir ce courriel ou si vous croyez l'avoir recu par erreur, veuillez en aviser l'expediteur original immediatement. Nous respectons les demandes similaires qui touchent la confidentialite des communications par courrier electronique.

Please see the official ORACLE-L FAQ:
Author: Wolfgang Breitling

Fat City Network Services    -- 858-538-5051
San Diego, California        -- Mailing list and web hosting services
To REMOVE yourself from this mailing list, send an E-Mail message
to: (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:49:22 CST

Original text of this message