Quiesce Database (330)
You can put the system into quiesced state. The system is in quiesced state if there are
no active sessions, other than SYS and SYSTEM. An active session is defined as a
session that is currently inside a transaction, a query, a fetch or a PL/SQL procedure,
or a session that is currently holding any shared resources (for example,
enqueues--enqueues are shared memory structures that serialize access to database
resources and are associated with a session or transaction). Database administrators
are the only users who can proceed when the system is in quiesced state.
Database administrators can perform certain actions in the quiesced state that cannot
be safely done when the system is not quiesced. These actions include:
■ Actions that might fail if there are concurrent user transactions or queries. For
example, changing the schema of a database table will fail if a concurrent
transaction is accessing the same table.
■ Actions whose intermediate effect could be detrimental to concurrent user
transactions or queries. For example, suppose there is a big table T and a PL/SQL
package that operates on it. You can split table T into two tables T1 and T2, and
change the PL/SQL package to make it refer to the new tables T1 and T2, instead
of the old table T.
When the database is in quiesced state, you can do the following:
CREATE TABLE T1 AS SELECT ... FROM T;
CREATE TABLE T2 AS SELECT ... FROM T;
DROP TABLE T;
You can then drop the old PL/SQL package and re-create it.
For systems that must operate continuously, the ability to perform such actions
without shutting down the database is critical.
The Database Resource Manager blocks all actions that were initiated by a user other
than SYS or SYSTEM while the system is quiesced. Such actions are allowed to proceed
when the system goes back to normal (unquiesced) state. Users do not get any
additional error messages from the quiesced state.
靜默資料庫
1. 靜默狀態是指資料庫中只存在 SYS 和 SYSTEM 使用者建立的活動會話
2. 活動會話的定義是: 正在執行事務,查詢,資料提???PL/SQL過程的會話,或者是當前擁有
某種共享資源的會話
3. 佇列是一個共享的記憶體結構,她總是和事務或會話相關,用於序列化地訪問資料庫資源
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-989866/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to Quiesce a DatabaseUIDatabase
- [原創] How to Quiesce a DatabaseUIDatabase
- 330
- restricted_session_quiesce_suspendRESTSessionUI
- RESTRICT、QUIESCE和SUSPEND(三)RESTUI
- RESTRICT、QUIESCE和SUSPEND(二)RESTUI
- RESTRICT、QUIESCE和SUSPEND(一)RESTUI
- wait for possible quiesce finishAIUI
- v$blocking_quiesce 沒有資料BloCUI
- oracle資料庫的靜默(Quiesce)狀態Oracle資料庫UI
- 資料庫共有三種狀態:quiesce、resrict、suspend資料庫UI
- 華為盒子M330官方刷機教程 華為盒子M330系統升級方法
- 資料庫的三種狀態RESTRICT、QUIESCE和SUSPEND資料庫RESTUI
- mx330屬於什麼檔次的顯示卡 mx330獨顯能玩什麼遊戲遊戲
- 雷柏V330遊戲滑鼠怎麼樣?雷柏V330遊戲滑鼠詳細評測遊戲
- LC330-google面試2016Go面試
- [ABC330F] Minimize Bounding Square
- 華為網路機頂盒M330怎麼樣?華為網路機頂盒M330價格多少?
- CSC330程式設計語言專案程式設計
- standby database to primary database.Database
- Oracle 11G OCP 1Z0-053 330Oracle
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Create RAC Standby Database for RAC Primary DatabaseDatabase
- Types of Oracle Database Users : Database Users (6)OracleDatabase
- 330+ 個機器學習模型、庫探索工具!Papers With Code 重磅推出!機器學習模型
- COMP 330正則化邏輯迴歸分類邏輯迴歸
- ROBOTIS DYNAMXIEL XC330-M288-T 舵機介紹
- 【OH】Creating a Database with the CREATE DATABASE StatementDatabase
- Database Testing: How to Regression Test a Relational DatabaseDatabase
- Tasks of a Database Administrator : Plan the Database (9)Database
- Database performance gets slower the longer the database is runningDatabaseORM
- Database OverallDatabase
- Flashback DatabaseDatabase
- duplicate databaseDatabase
- v$databaseDatabase
- Size DatabaseDatabase
- standby databaseDatabase