6. Find the file and block using the above dba..
undef dba
select
dbms_utility.DATA_BLOCK_ADDRESS_FILE(&&dba)|| ', '||
dbms_utility.DATA_BLOCK_ADDRESS_BLOCK(&&dba)
from dual
/
7. You can also dump this lob block to confirm that this analysis is
correct..
-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of DENNIS WILLIAMS
Sent: Wednesday, August 04, 2004 4:01 PM
To: 'oracle-l@(protected) '
Subject: From row to datafile
List - Does anyone know how to relate a database row to the datafile
where it is stored? Here is the situation: we are going to test the
recovery of a database, removing a few data files and then recovering
them from RMAN backup. These data files store image blobs out-of-line. I
would like to be able to list a few images from a particular data file
so after recovery we could retrieve those images. There are some queries
for dealing with database corruption where you can take a given file and
block and relate it back using dba_segments and sys.uet$. I 'm not sure
how to work for a specific row or with out-of-line blobs. Any ideas
appreciated.
Dennis Williams
DBA
Lifetouch, Inc.
"We all want progress, but if you 're on the wrong road, progress means
doing an about-turn and walking back to the right road; in that case,
the man who turns back soonest is the most progressive. "
-- C.S. Lewis
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected) put
'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
-- Attached file included as plaintext by Ecartis --
-- Desc: Signature
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any
attachments is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete the material from any
computer.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --