To stop the archiving without shutting down the DB i executed this command at the system schema user
ALTER SYSTEM ARCHIVE LOG STOP;
system altered.
after this i wanted to check at the SQL prompt connecting as system
to issues this command
select * from v$database;
when i enter username/password it is not getting me sql prompt. i waited for 2 5 minutes but still not getting the sql prompt
what could be the reason.?
As your database is in Archivelog mode and you have disabled the automatic archiving, do a manual archiving , its just waiting for the redo logs to be archived.
Originally posted by gajananpkini ORACLE Instance HNS - Can not allocate log, archival required
ARCH: Connecting to console port...
Thread 1 cannot allocate new log, sequence 2700154
All online logs needed archiving
Voilą!
Logon " / as sysdba" and restart the archiving e.g. ALTER SYSTEM ARCHIVE LOG START;
I suppose you could have issued log switches to ensure there wasn't anything left in your online redo logs that needed archiving before you switched it off.
Originally posted by gajananpkini manual says that we can stop archiving any time,
no need to restart the db
but what caused the issue here
As long as it's in ARCHIVELOG MODE the logs will need to be archived - so it should be very exceptional to stop the archiving process (which normally should be done automatically: ALTER SYSTEM ARCHIVE LOG START; ) Yes, you can stop the process, but WHY?
OK: What are you really trying to do? What is your objective?
Bookmarks