Created by lucky.lau
Date:2005-5-31
创建逻辑standby数据库
======================================================================
[@more@]/*准备创建逻辑standby数据库*/ Microsoft Windows 2000 [Version 5.00.2195] (C) 版权所有 1985-2000 Microsoft Corp. C:Documents and SettingsAdministrator.LUCKY>set oracle_sid=lucky C:Documents and SettingsAdministrator.LUCKY>sqlplus /nolog SQL*Plus: Release 9.2.0.6.0 - Production on 星期二 5月 31 09:45:29 2005 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> conn / as sysdba 已连接到空闲例程。 SQL> startup ORACLE 例程已经启动。 Total System Global Area 135340020 bytes Fixed Size 454644 bytes Variable Size 109051904 bytes Database Buffers 25165824 bytes Redo Buffers 667648 bytes 数据库装载完毕。 数据库已经打开。 SQL> grant logstdby_administrator to sys; 授权成功。 SQL> grant select_catalog_role to sys; 授权成功。 SQL> SQL> select force_logging from v$database; FOR --- YES SQL> archive log list 数据库日志模式 存档模式 自动存档 启用 存档终点 d:oracleoratest 最早的概要日志序列 31 下一个存档日志序列 33 当前日志序列 33 SQL> SQL> show parameter log_archive_dest_1 NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ log_archive_dest_1 string location=d:oracleoratest man datory log_archive_dest_10 string SQL> SQL> show parameter log_parallelism NAME TYPE VALUE ------------------------------------ ----------- -------------------- log_parallelism integer 1 SQL> SQL> select distinct owner,table_name from dba_logstdby_unsupported; OW
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/4584/viewspace-799918/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/4584/viewspace-799918/