oracle修改管理员账号密码如何启用和封锁数据库的Oracle归档模式

如何启用和封锁数据库的Oracle归档模式

 

Oracle培训:Oracle归档模式的运行模式

  以下的文章主要讲述的是正确的启动或者封锁Oracle归档模式的现实操作轨范,我们都知道Oracle数据库运行于2种模式,首要实施Oracle归档模式(archivelog)与非归档模式(noarchivelog)。  www.2cto.com  

 

  Oracle归档模式可以提高Oracle数据库的可恢复性(ocp培训选择腾科),出产数据库都应该运行在此模式下,归档模式应该和响应的备份策略相连系,只有归档模式没有响应的备份策略只会带来麻烦。

 

 简单介绍若何启用和封锁数据库的Oracle归档模式。

  <一>shutdown normal或shutdown immediate封锁数据库(ocm认证)

  1.oracle@jumper oracle]$ sqlplus “/ as sysdba”

  2.SQL*Plus: Release 9.2.0.4.0 – Production on Sat Oct 15 15:48:36 2005

  3.Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

  4.Connected to:

  5.Oracle9i Enterprise Edition Release 9.2.0.4.0 – Production

  6.With the Partitioning option

  7.JServer Release 9.2.0.4.0 – Production

  8.SQL》 shutdown immediate;

  9.Database closed.

  10.Database dismounted.

  11.ORACLE instance shut down.

  <2>启动数据库到mount状况

  1.SQL》 startup mount;

  2.ORACLE instance started.

  3.Total System Global Area 101782oracle账号828 bytes

  4.Fixed Size 451884 bytes

  5.Variable Size 37748736 bytes

  6.Database Buffers 62914560 bytes

  7.Redo Buffers 667648 bytes

  8.Database mounted.

 

  <三>启用或遏制归档模式,如不美观要启用Oracle归档模式,此处使用

    www.2cto.com  

  1.alter database archivelog 呼吁。

  2.SQL》 alter database archivelog;

  3.Database altered.

  4.SQL》 alter database open;

  5.Database altered.

  6.SQL》 archive log list;

  7.Database log mode Archive Mode

  8.Automatic archival Enabled

  9.Archive destination /opt/oracle/oradata/conner/archive

  10.Oldest online log sequence 148

  11.Next log sequence to archive 151

  12.Current log sequence 151
 

此条目发表在oracle metalink账号分类目录,贴了标签。将固定链接加入收藏夹。