数据库静默模式(quiesce)实验
来源:互联网 发布:海西商品交易所软件 编辑:程序博客网 时间:2024/05/16 16:03
Occasionally you might want to put a database in a state that allows only DBA transactions, queries, fetches, or PL/SQL statements.
Such a state is referred to as a quiesced state, in the sense that no ongoing non-DBA transactions, queries, fetches, or PL/SQL statements are running in the system.
Such a state is referred to as a quiesced state, in the sense that no ongoing non-DBA transactions, queries, fetches, or PL/SQL statements are running in the system.
--Oracle® Database Administrator's Guide 11g Release 2 (11.2) p.138
--实验--切换到静默状态。SYS@PROD1> ALTER SYSTEM QUIESCE RESTRICTED; System altered.SYS@PROD1> select active_state from v$instance;ACTIVE_ST---------QUIESCEDYou can query the ACTIVE_STATE column of the V$INSTANCE view to see the currentstate of an instance. The column values has one of these values:■ NORMAL: Normal unquiesced state.■ QUIESCING: Being quiesced, but some non-DBA sessions are still active.■ QUIESCED: Quiesced; no non-DBA sessions are active or allowed.--Oracle® Database Administrator's Guide 11g Release 2 (11.2) p.140--另起一个SCOTT的session进行DML操作,结果hang住。SCOTT@PROD1> create table t as select * from emp;--在SYS成功DML操作。SYS@PROD1> create table scott.t2 as select * from scott.emp;Table created.--切换回正常状态。SYS@PROD1> ALTER SYSTEM UNQUIESCE; System altered.SYS@PROD1> select active_state from v$instance;ACTIVE_ST---------NORMAL--查看另一session。SCOTT@PROD1> create table t as select * from emp;create table t as select * from emp *ERROR at line 1:ORA-00955: name is already used by an existing objectSCOTT@PROD1> Non-DBA active sessions will continue until they become inactive.
0 0
- 数据库静默模式(quiesce)实验
- oracle数据库的静默(Quiesce)状态
- 『ORACLE』 数据库quiesce模式(11g)
- 数据库restricted、quiesce和suspend三种模式
- Linux安装oracle数据库(静默模式)
- Oracle数据库静默模式小节
- windows 静默模式部署Oracle数据库
- 静默数据库
- ORACLE数据库的三种状态:RESTRICT、QUIESCE和SUSPEND
- 重建em时,数据库会处于挂起状态quiesce mode
- 数据库的三种状态RESTRICT、QUIESCE和SUSPEND
- 静默方式安装数据库(无图形界面)
- weblogic静默模式启动
- orcle 数据库在scott模式下实验
- 实验四 数据库模式对象管理
- 静默安装oracle 11g 【实验笔记】
- ubuntu oracle10g 静默模式安装
- Oracle数据库静默安装实践
- LeetCode 386. Lexicographical Numbers
- 矩形运算
- GDOI2017模拟2.14
- 反射
- COM---注册表
- 数据库静默模式(quiesce)实验
- laravel如何输出最后一条执行的SQL
- C++中虚析构函数的作用
- C语言strcpy()函数:复制字符串
- Core Data入门
- 我的“第一个”春节
- [Android] 即时通信 Openfire + Smack 4.19 +百度定位
- KMP
- 技术宅找女朋友的技术分析