Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Finding datafile alises with corresponding physical file on ASM

User_CGD4FNov 4 2016 — edited Nov 17 2016

We have a lot of datafiles in our multiple databases residing on same ASM. We create new datafiles with the alias name and access them using aliases from the database. We have a requirement to list all datafiles alias with the actual physical file on the ASM. I have tried to retrieving this information from V$ASM_ALIAS, but not able to find. Can you please help how I can get this information. Sample output needs to be as follows

alias_name                           file_name

--------------                         ----------------------------

+DATA/db/mydb01.dbf         +DATA/my_db/DATAFILES/mydb01.98.987689998

Getting alias names from v$datafiles, and then using ASMCMD to get the list where each alias is pointing to is quite lengthy process, and I want to use some oracle views to get this information if possible

SAQ

This post has been answered by AnnEdmund on Nov 16 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2016
Added on Nov 4 2016
21 comments
4,330 views