- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ALTER SYSTEM ARCHIVE...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 12:56 PM
тАО02-22-2002 12:56 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2002 10:48 AM
тАО02-23-2002 10:48 AM
Solution1. Enabling Automatic Archiving at Instance Startup:
To enable automatic archiving of filled groups each time an instance is started, include the "LOG_ARCHIVE_START" parameter, set to TRUE, in the database's parameter file:
LOG_ARCHIVE_START=TRUE
The new value takes effect the next time you start the database.
2. Enabling Automatic Archiving After Instance Startup
To enable automatic archiving of filled online redo log groups without shutting down the current instance, use the SQL command ALTER SYSTEM with the ARCHIVE LOG START parameter.
The following statement enables archiving:
SVRMGRL> ALTER SYSTEM ARCHIVE LOG START;
When using this option, the instance does not have to be shut down to enable automatic archiving.
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2002 12:18 AM
тАО02-25-2002 12:18 AM
Re: ALTER SYSTEM ARCHIVE...
To be able to use archiving in the first place you have to set the database in Archivelog mode. This can only be done with the database mounted (not open), so:
edit init.ora
LOG_ARCHIVE_START=true
(to enable the automatich archiver process)
SVRMGR>shutdown immediate
SVRMGR>startup mount
SVRMGR>alter database archivelog;
(to set the database in archivelog mode)
SVRMGR>alter database open;
Without the parameter LOG_ARCHIVE_START=true you still can set the database in archivelog but then the archiving have to be run manually by running the "alter system archive log all;" command that archives all online redologs, but you wouldn't want to have to do this al day...
rgds
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2002 01:01 AM
тАО02-25-2002 01:01 AM
Re: ALTER SYSTEM ARCHIVE...
do not mix up
archive start / archive stop
...which treats the archiver process
and
archivelog / noarchivelog
... which configures if the database is writing archivelogs at all.
The first ones can be used while the database is running. Normaly, you would start the archiver process via init.ora and never use them interactively. Two reasons to use them:
1) You need to reconfigure the archive destination. In this case, you'd like to stop the archiver process for a while, to have some time to unmount / mount filesystem or so.
2) You have a very active period of time in your database, and want to avoid archiving for performance reasons (very rare case!). You need to provide enough online redolog space (big online logs and several groups), stop the archiver, do your bigjob and restart the archiver afterwards with an additional "switch logfile" and "archivelog all"
The second one is toggled with an "ALTER DATABASE ARCHIVELOG" command and has to be used in mount state, so the database has to be taken down.
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2002 01:05 AM
тАО02-25-2002 01:05 AM
Re: ALTER SYSTEM ARCHIVE...
Just something additonal. Take care, that your archive directory ( set in config.ora ) has enough disk space left.
You should compress, backup and delete your offline redo. logs from time to time.
Attached file for compression, which we run every two hours for every database.
Rgds
Alexander M. Ermes