Files
mip/Documentation/SupportingDocumentation/DatabaseScripts/archivelog.sql
2008-08-28 09:56:01 +00:00

15 lines
413 B
SQL

REM $Id$
conn &&user/&&password as sysdba;
shutdown immediate;
conn &&user/&&password as sysdba;
startup mount;
alter database force logging;
alter system set log_archive_dest_1='location=s:\orabackup\webmip\archivelogs\' scope=both;
/*
set the time by which archive logs
should lag the redo in seconds
*/
alter system set archive_lag_target=2700;
alter database archivelog;
alter database open;