How
To Enable Archivlelog Mode In Oracle Datbase 11g
for enabling archive log mode in oracle 11g
steps are:-
- SQL> ARCHIVE LOG LIST;Database log mode NoArchive ModeAutomatic archival DisabledArchive destination /Database/archivelog/Oldest online log sequence 1129Next log sequence to archive 1131Current log sequence 1131
- Database is in noarchive log mode to change it to archivelog mode the first requirement is that database must be mounted not opened for mounting the database shutdown the database and then mount it for this issue the following commandSQL> SHUTDOWN IMMEDIATESQL> STARTUP MOUNT
after putting the database to mount stage issue the following
command
- SQL> ARCHIVE LOG LIST;Database log mode NoArchive ModeAutomatic archival DisabledArchive destination /Database/archivelog/Oldest online log sequence 1132Next log sequence to archive 1133Current log sequence 1134
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
now issue the command to check whether database is in archivelog
mode or not
No comments:
Post a Comment