How to Quiesce a Database
How to Quiesce a Database
By Alexander Geldutes
Quiesce a database is a new feature in Oracle 9i.It is similar to the restricted mode.When a database in a quiesced mode no one can connect to the database except SYS and SYSTEM and all current user sessions are suspended.As the result in the quiesced mode DBA can perform. some maintenance task.
In order to quiesce a database(oracle versions above 9i ):
Set the RESOURCE_MANAGER_PLAN parameter to a non-null value.
alter system set resource_manager_plan='SYSPLAN'scope=both;
(oracle versions above 10g )
SQL>conn / as sysdba
Connected.
SQL> alter system quiesce restricted;
System altered.
SQL> select status,active_state from v$instance;
STATUS ACTIVE_ST
------------ ---------
OPEN QUIESCED
To bring a database back in the fully operational mode, usethe following command:
SQL>alter system unquiesce;
System altered.
SQL>select active_state from v$instance;
ACTIVE_ST
---------
NORMAL
(oracle system Default)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/628922/viewspace-615001/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [原創] How to Quiesce a DatabaseUIDatabase
- Quiesce Database (330)UIDatabase
- How to Perform a Healthcheck on the DatabaseORMDatabase
- How to enable the flashback database:Database
- How a Database Is Mounted (293)Database
- Database Testing: How to Regression Test a Relational DatabaseDatabase
- How to Perform a Health Check on the DatabaseORMDatabase
- How a Standby Database Is Mounted (295)Database
- How a Clone Database Is Mounted (296)Database
- How to check Database corrupt BlockDatabaseBloC
- How does one rename a database?Database
- How to Relink Oracle Database SoftwareOracleDatabase
- How to Shrink Undo Segment In Oracle DatabaseOracleDatabase
- [轉]How to release space from databaseDatabase
- How to drop Oracle RAC database manually?OracleDatabase
- How to purge the Oracle Database Recycle BinOracleDatabase
- How to move progress database to different OSDatabase
- How a Database Is Quiesced (331)DatabaseUI
- How to use rman backup a noarchivelog databaseHiveDatabase
- How to Tell if the I/O of the Database is Slow - 1Database
- How to Move or Copy a Tablespace to Another Database (61)Database
- How to prevent blocking in your SQL Server databaseBloCSQLServerDatabase
- How a Database Is Mounted with Real Application Clusters (294)DatabaseAPP
- How to use the Automatic Database Diagnostic Monitor(一)Database
- How to Restore the Database Using AMDU after Diskgroup CorruptionRESTDatabase
- How to restore and recover a database from an RMAN backup_881395.1RESTDatabase
- How to move ASM database files from one diskgroup to anotherASMDatabase
- How to check whether the current database in using Oracle optionsDatabaseOracle
- How to Duplicate a Database in NOARCHIVELOG mode (Doc ID 275480.1)DatabaseHive
- How to Create Oracle Database QoS Management Administrator AccountsOracleDatabase
- How to create and relocate an 11gr2 RAC DATABASE SERVICEDatabase
- How To Size the Database Smart Flash Cache (Doc ID 1317950.1)Database
- How To List All The Named Events Set For A Database [ID 436036.1]Database
- How to release space from database( in other words: resize datafile ) (zt)Database
- How to release space from database( in other words: resize datafile ) 【zt】Database
- restricted_session_quiesce_suspendRESTSessionUI
- RESTRICT、QUIESCE和SUSPEND(三)RESTUI
- RESTRICT、QUIESCE和SUSPEND(二)RESTUI