Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: The index datafile contains which indexes.
Hi,
Dba_data_files tells you the file_id of the datafile you're after. Join this with the file_id in dba_extents to get the segment_name (that'll be the index_name you're after) where the segment_type='INDEX'.
HTH,
Ross
> -----Original Message-----
> From: Chuan Zhang [mailto:Chuan.Zhang_at_transact.com.au]
> Sent: Monday, 5 August 2002 11:53
> To: Multiple recipients of list ORACLE-L
> Subject: The index datafile contains which indexes.
>
>
> Dear All,
>
> Since one of my index files is corrupted partly, I would
> like to to rebuild those indexes affected. Is there any way
> to find out in that index datafile what indexes are.
>
> thanks in advance,
>
> Chuan
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ross Collado INET: Ross.Collado_at_techpac.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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 Sun Aug 04 2002 - 22:08:17 CDT
![]() |
![]() |