签到成功

知道了

CNDBA社区CNDBA社区

Oracle 12C R2-新特性-同一个数据库中同时支持读写和只读实例

2018-01-05 10:39 2481 0 原创 Oracle 12C
作者: Expect-乐

说明

In previous releases, all database instancesunless they accessed a standby databasewere read/write. Starting in Oracle Database 12c Release 2 (12.2), read-only and read/write instances can co-exist within a single database. This configuration is useful for parallel SQL statements that both query and modify data, because both read/write and read-only instances can query, while the read/write instances modify.http://www.cndba.cn/Expect-le/article/2542http://www.cndba.cn/Expect-le/article/2542

12.2中,在同一个数据库中可以同时打开读写和只读两个实例。

http://www.cndba.cn/Expect-le/article/2542
http://www.cndba.cn/Expect-le/article/2542

只读实例特点:

http://www.cndba.cn/Expect-le/article/2542

1. Can only open a database that has already been opened by a read/write instancehttp://www.cndba.cn/Expect-le/article/2542

2. Disable many background processes, including the checkpoint and archiver processes, which are not necessaryhttp://www.cndba.cn/Expect-le/article/2542

3. Can mount a disabled redo thread or a thread without any online redo log

指定实例为只读

需要配置初始化参数INSTANCE_MODEREAD_ONLY,默认值为READ_WRITE

更多详细信息,参考官方文档:

https://docs.oracle.com/en/database/oracle/oracle-database/12.2/cncpt/oracle-database-instance.html#GUID-8BB8140D-63ED-454E-AAC3-1964F80D102Dhttp://www.cndba.cn/Expect-le/article/2542

http://www.cndba.cn/Expect-le/article/2542
http://www.cndba.cn/Expect-le/article/2542

版权声明:本文为博主原创文章,未经博主允许不得转载。

read_only read_write

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
Expect-乐

Expect-乐

关注

Without the continuous bitter cold, there can be no fragrant plum blossom

  • 336
    原创
  • 6
    翻译
  • 100
    转载
  • 41
    评论
  • 访问:1574866次
  • 积分:1957
  • 等级:核心会员
  • 排名:第4名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ