zoukankan      html  css  js  c++  java
  • ORA-16003(18c)

    SQL> startup mount

    ORACLE instance started.

    Total System Global Area 2466249080 bytes
    Fixed Size 8898936 bytes
    Variable Size 671088640 bytes
    Database Buffers 1778384896 bytes
    Redo Buffers 7876608 bytes
    Database mounted.
    SQL> alter database open read write;
    alter database open read write
    *
    ERROR at line 1:
    ORA-16003: standby database is restricted to read-only access


    SQL>
    SQL> shutdown immediate
    ORA-01109: database not open


    Database dismounted.
    ORACLE instance shut down.
    SQL> startup nomount
    ORACLE instance started.

    Total System Global Area 2466249080 bytes
    Fixed Size 8898936 bytes
    Variable Size 671088640 bytes
    Database Buffers 1778384896 bytes
    Redo Buffers 7876608 bytes
    SQL> alter database mount standby database;

    Database altered.

    SQL> alter database activate standby database;

    Database altered.

    SQL> shutdown immediate;
    ORA-01109: database not open


    Database dismounted.
    ORACLE instance shut down.
    SQL> startup open;
    ORACLE instance started.

    Total System Global Area 2466249080 bytes
    Fixed Size 8898936 bytes
    Variable Size 671088640 bytes
    Database Buffers 1778384896 bytes
    Redo Buffers 7876608 bytes
    Database mounted.
    Database opened.
    SQL> select open_mode from v$database;

    OPEN_MODE
    --------------------
    READ WRITE

  • 相关阅读:
    Redis最佳实践:7个维度+43条使用规范,带你彻底玩转Redis | 附实践清单
    laravel生命周期
    日志写入
    商城表设计
    10个你不一定知道的PHP内置函数
    PHP函数详解:call_user_func()使用方法
    Dingo与JWT的使用
    商城-会员与用户的数据表设计
    MVVM模式
    vue面试题
  • 原文地址:https://www.cnblogs.com/hxlasky/p/14863801.html
Copyright © 2011-2022 走看看