Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

STANDBY- ORA-01275: Operation RENAME is not allowed if standby file management is automatic

$
0
0
Issue:-

While re-locating oracle datafile's below error we are getting.

SQL> alter database rename file '/u01/oradata/SAMPLE/data10.dbf' to '/u04/oradata/SAMPLE/data10.dbf';
alter database rename file '/u01/oradata/SAMPLE/data10.dbf' to '/u04/oradata/SAMPLE/data10.dbf'
*
ERROR at line 1:
ORA-01275: Operation RENAME is not allowed if standby file management is
automatic.

Cause:-

The standby file_management is set to auto on standby database.

Solution:

Run below command and try to re-run the query

alter system set standby_file_management=manual

once re-locating of datafile completed you can change back to "AUTO"

alter sytem set standby_file_management=auto

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>