Problem solve Get help with specific problems with your technologies, process and projects.

Can't force a log switch

I still can't force a log switch. The result of archive log list on my database is as follows:

Database log mode    Archive mode
Automatic archival   Disabled
Archive destination  D:oracleora81RDBMS
Oldest online log sequence  332
Next log sequence           332
Current log sequence        335
With this result kindly tell me if anything is wrong. There is enough space in the archive destination.

Your database is in Archivelog mode, but you have not enabled automatic archival. Make sure that you have set the LOG_ARCHIVE_DEST or LOG_ARCHIVE_DEST_n parameters correctly. You'll also need to set LOG_ARCHIVE_FORMAT and set LOG_ARCHIVE_START=TRUE. Then shutdown your database and restart it. Now that you have LOG_ARCHIVE_START=TRUE, you should see "Automatic archival Enabled" when you issue ARCHIVE LOG LIST.

This was last published in July 2004

Dig Deeper on Oracle database backup and recovery

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.