iSQL*Plus User's Guide and Reference
Release 9.0.1

Part Number A88826-01
GRORACLE GRORACLE
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

Command Reference, 6 of 38


ARCHIVE LOG

ARCHIVE LOG {LIST|STOP}|{START|NEXT|ALL|integer } [TO destination]

Starts or stops automatic archiving of online redo log files, manually (explicitly) archives specified redo log files, or displays information about redo log files.

Terms | Usage | Examples | Top

Refer to the following list for a description of each term or clause:

LIST

STOP

START

NEXT

ALL

integer

destination

Usage | Terms | Examples | Top

You must be connected to an open Oracle database as SYSOPER, or SYSDBA. For information about connecting to the database, see the CONNECT command.

If an online redo log file group fills and none are available for reuse, database operation is suspended. The condition can be resolved by archiving a log file group.

For information about specifying archive destinations, see your platform-specific Oracle documentation.


Note::

This command applies only to the current instance. To specify archiving for a different instance or for all instances in a cluster database, use the SQL command ALTER SYSTEM. For more information about using SQL commands, see the Oracle9i SQL Reference


Examples | Terms | Usage | Top

To start up the archiver process and begin automatic archiving, using the archive destination specified in LOG_ARCHIVE_DEST, enter

Keyboard icon
ARCHIVE LOG START

To stop automatic archiving, enter

Keyboard icon
ARCHIVE LOG STOP 

To archive the log file group with sequence number 1001 to the destination specified, enter

Keyboard icon
ARCHIVE LOG 1001 '/vobs/oracle/dbs/arch' 

'arch' specifies the prefix of the filename on the destination device; the remainder of the filename is dependent on the initialization parameter LOG_ARCHIVE_FORMAT, which specifies the filename format for archived redo log files.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
GRORACLE GRORACLE
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback