Changing the Database Archiving Mode
来源:互联网 发布:wps数据透视图求和 编辑:程序博客网 时间:2024/05/22 16:43
ALTER DATABASE
statement with theARCHIVELOG
or NOARCHIVELOG
clause. To change the archiving mode, you must be connected to the database with administrator privileges (AS SYSDBA
).The following steps switch the database archiving mode fromNOARCHIVELOG
to automaticARCHIVELOG
:
Shut down the database instance.
SHUTDOWN
An open database must first be closed and any associated instances shut down before you can switch the database archiving mode. You cannot change the mode from
ARCHIVELOG
toNOARCHIVELOG
if any datafiles need media recovery.Back up the database.
Before making any major change to a database, always back up the database to protect against any problems. This will be your final backup of the database in
NOARCHIVELOG
mode and can be used if something goes wrong during the change toARCHIVELOG
mode.Edit the initialization parameter file to include the initialization parameters that specify the destinations for the archived redo log files
Start a new instance and mount, but do not open, the database.
STARTUP MOUNT
To enable or disable archiving, the database must be mounted but not open.
Change the database archiving mode. Then open the database for normal operations.
ALTER DATABASE ARCHIVELOG;ALTER DATABASE OPEN;
Shut down the database.
SHUTDOWN IMMEDIATE
Back up the database.
Changing the database archiving mode updates the control file. After changing the database archiving mode, you must back up all of your database files and control file. Any previous backup is no longer usable because it was taken in
NOARCHIVELOG
mode.
The following steps switch the database archiving mode fromNOARCHIVELOG
to matualARCHIVELOG
:
Shut down the database instance.
SHUTDOWN
An open database must first be closed and any associated instances shut down before you can switch the database archiving mode. You cannot change the mode from
ARCHIVELOG
toNOARCHIVELOG
if any datafiles need media recovery.Back up the database.
Before making any major change to a database, always back up the database to protect against any problems. This will be your final backup of the database in
NOARCHIVELOG
mode and can be used if something goes wrong during the change toARCHIVELOG
mode.Edit the initialization parameter file to include the initialization parameters that specify the destinations for the archived redo log files
Start a new instance and mount, but do not open, the database.
STARTUP MOUNT
To enable or disable archiving, the database must be mounted but not open.
Change the database archiving mode. Then open the database for normal operations.
ALTER DATABASE ARCHIVELOG MANUAL;ALTER DATABASE OPEN;
Shut down the database.
SHUTDOWN IMMEDIATE
Back up the database.
Changing the database archiving mode updates the control file. After changing the database archiving mode, you must back up all of your database files and control file. Any previous backup is no longer usable because it was taken in
NOARCHIVELOG
mode.
When you operate your database in manual ARCHIVELOG
mode, you must archive inactive groups of filled redo log files or your database operation can be temporarily suspended. To archive a filled redo log group manually, connect with administrator privileges. Ensure that the database is either mounted or open. Use the ALTER SYSTEM
statement with theARCHIVE LOG
clause to manually archive filled redo log files. The following statement archives all unarchived log files:
ALTER SYSTEM ARCHIVE LOG ALL;
When you use manual archiving mode, you cannot specify any standby databases in the archiving destinations.
Even when automatic archiving is enabled, you can use manual archiving for such actions as rearchiving an inactive group of filled redo log members to another location. In this case, it is possible for the instance to reuse the redo log group before you have finished manually archiving, and thereby overwrite the files. If this happens, the database writes an error message to the alert log.
- Changing the Database Archiving Mode
- how to changing the RAC 10g Database Archiving Mode
- 第八章configuring the database archiving mode
- Changing the rendering mode of a shared page
- 72.You want to enable archiving on your database. Presently, the database is running in NOARCHIVELOG
- Changing the database characterset from US7ASCII to WE8MSWIN1252
- 12c In-Database Archiving
- Programmatically Changing Database Icons
- ORACLE_基础二十(Archiving Mode)
- Windows Phone 7 The database encryption mode is invalid.
- Cannot drop a database link after changing the global_name ORA-02024 [ID 382994.1]
- Archiving
- 190 The database is configured in ARCHIVELOG mode and regular complete database backups are taken. T
- 74.The database is running in ARCHIVELOG mode. Examine the initialization parameters and their value
- 212876 - The new archiving tool SAPCAR
- 212876 - The new archiving tool SAPCAR
- Oracle 12c 新特性之 In-Database Archiving
- The changing marketplace of bioinformatics
- Go by Example: Range
- git指令速查表
- android中image文件的压缩与解压缩
- 通过RMAN 异机克隆数据库
- spring mvc 安全
- Changing the Database Archiving Mode
- Android Studio 手工更新小记
- bmp转yuv格式的视频
- unity3D-接口
- 加载cocos studio 2.0导出的csb文件
- poj1258 prime算法+距离表 还是47MS,搞不懂,过了就好。
- iOS输出%
- keil C51的Memory Model 说明[三种Model的选择对编译的影响]
- Lua中table内建排序与C/C++/Java/php/等内排序算法的排序效率比较