将physical standby置于read-only模式

1.备库处于关闭状态

SQL> startup
ORACLE instance started.

Total System Global Area  430075904 bytes
Fixed Size                  2253944 bytes
Variable Size             184552328 bytes
Database Buffers          239075328 bytes
Redo Buffers                4194304 bytes
Database mounted.
Database opened.
SQL> select open_mode from v$database;

OPEN_MODE
--------------------
READ ONLY

SQL>

2.备库处于redo apply状态

SQL> select open_mode from v$database;

OPEN_MODE
--------------------
MOUNTED

SQL> alter database recover managed standby database cancel;

Database altered.

SQL> alter database open;

Database altered.

SQL> select open_mode from v$database;

OPEN_MODE
--------------------
READ ONLY

SQL>
时间: 2024-08-15 03:19:48

将physical standby置于read-only模式的相关文章

[Oracle] 临时将Physical Standby激活

Oracle 10g/11g下如何将物理Standby库临时激活用于测试 在实际运营环境中,我们经常碰到类似这样的需求,譬如想不影响现网业务评估DB补丁在现网环境中运行的时间,或者是想在做DB切换前想连接Standby DB做实际业务运行的测试,如果在9i版本的时候,想做到这样,在不搭建新测试环境的前提下,可以将Standby DB激活后进行测试,但是激活后的Standby DB将不能再用于容灾,必须重建Standby DB.在10g以及11g之后,可以利用新特性很好的解决这个问题,激活的Sta

11.2 Data Guard Physical Standby Switchover Best Practices using SQL*Plus (Doc ID 1304939.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Express Cloud Service - Version N/A and laterOracle Database Exadata Cloud Machine - Vers

18c & 19c Physical Standby Switchover Best Practices using SQL*Plus (Doc ID 2485237.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 18.3.0.0.0 and laterInformation in this document applies to any platform. GOAL This Document explain about switchover steps for 18c and 19c  本文档说明有关18c和19c的切换步骤 SOLUTION Prerequisites  先决条件 L

DGMGR-TO PHYSICAL STANDBY Failed (ORA12514 )解决方法

TO  PHYSICAL STANDBY  Failed  (ORA-12514: )解决方法: ==========DG 环境: DGMGRL> SHOW CONFIGURATION; Configuration - DRSolution Protection Mode: MaxAvailability Databases: PROD1 - Primary database SBDB1 - Physical standby database Fast-Start Failover: DISAB

How to create a logical standby database based on a physical standby database

The related steps about how to create a phisical standby database please refer:   http://blog.csdn.net/waterxcfg304/article/details/35991771 /* How to create a logical standby database based on a physical standby database   */ 以下是主库: 下列语句可以用来检查SQL应用能

OCM 11g升级考试第二场搭建DataGuard遇到: prod - Physical standby database (disabled) 错误

转载请注明出处:http://blog.csdn.net/guoyjoe/article/details/43989607 1.**************************DGMGRL DGMGRL> show configuration; Configuration - c1 Protection Mode: MaxPerformance  Databases:    orcl - Primary database    prod - Physical standby database

【翻译自mos文章】将一个失败的primary database 复原为physical standby 库的步骤

将一个失败的primary database 复原为physical standby 库的步骤 参考自: Step by Step Guide on How To Reinstate Failed Primary Database into Physical Standby (文档 ID 738642.1) 适用于: Oracle Database - Enterprise Edition - Version 10.1.0.2 and later Information in this docu

Oracle创建Physical Standby Database案例

The following is the detail steps of how to create a physical standby database: This case is created, operated and followed on the steps from oracle online help documentation. The configuration of the two sites server as following: Primary Database:

Oracle DG之--构建Physical Standby

Oracle DG之--构建Physical Standby 系统环境: 操作系统: RedHat EL4 Oracle:    Oracle 10.2.0.1.0                                   从以上图中所示:主库为bj(db_unique_name),备库为sh. 案例分析:  本案例采用RMAN Duplicate方式建立standby database. 一.配置主备库初始化参数 主库的初始化参数:initbj.ora [[email protect