DB_FILE_NAME_CONVERT datafiles from 1 path on primary to multiple paths on standby

Hi,

Can I use DB_FILE_NAME_CONVERT to convert from 1 primary path to multiple paths on the standby?  If yes please provide the syntax.  is this valid:

db_file_name_convert=/oracle/oradata/ to /dup/oracle/oradata/ and /dup1/oracle/oradata

Thanks.
issa7860Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

issa7860Author Commented:
just to clarify the question.  I want to convert the datafiles from 1 location to multiple locations on the standby since the space is limited on 1 location.
0
issa7860Author Commented:
Any one there to answer this question?
0
MikeOM_DBACommented:

You would need to list ALL the files separately like this:

db_file_name_convert=(/oracle/oradata/orcl/sysaux01.dbf,/dup/oracle/oradata/orcl/,
/oracle/oradata/orcl/system01.dbf,/dup/oracle/oradata/orcl/,
/oracle/oradata/orcl/undotbs01.dbf,/dup/oracle/oradata/orcl/,
/oracle/oradata/orcl/data01.dbf,/dup1/oracle/oradata/orcl/,
/oracle/oradata/orcl/index01.dbf,/dup1/oracle/oradata/orcl/,
/oracle/oradata/orcl/tools.dbf,/dup1/oracle/oradata/orcl/,
/oracle/oradata/orcl/users01.dbf,/dup1/oracle/oradata/orcl/)

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard OlutolaConsultantCommented:
The short answer to your question is NO.

You can convert multiple locations to multiple locations or multiple locations to single location.

To convert multiple locations to multiple locations, you need to pair the source and target locations in a list:
db_file_name_convert=(/oracle/oradata/orcl/,/dup/oracle/oradata/orcl/,/oracle/oradata/orcl2/,/dup/oracle/oradata/orcl2/... You get the idea.
Alternatively, you'll need to specify file by file like MikeOM_DBA suggests above.

Richard.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.