[20210529]延遲開啟資料庫.txt
[20210529]延遲開啟資料庫.txt
--//不知道這樣操作有什麼作用,記錄一下:
SYS@book> set timing on
SYS@book> startup mount;
ORACLE instance started.
Total System Global Area 676491264 bytes
Fixed Size 2256192 bytes
Variable Size 239076032 bytes
Database Buffers 427819008 bytes
Redo Buffers 7340032 bytes
Database mounted.
SYS@book> oradebug setmypid
Statement processed.
SYS@book> set timing on
SYS@book> oradebug event db_open_begin delay=20
Statement processed.
SYS@book> alter database open ;
Database altered.
Elapsed: 00:00:21.64
SYS@book> select sysdate from dual ;
SYSDATE
-------------------
2021-06-02 08:59:32
Elapsed: 00:00:00.00
--//看看alter的記錄:
alter database open
--//執行前等20秒後採用如下資訊。
Wed Jun 02 08:59:30 2021
LGWR: STARTING ARCH PROCESSES
Wed Jun 02 08:59:30 2021
ARC0 started with pid=22, OS id=36296
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0: STARTING ARCH PROCESSES
Thread 1 opened at log sequence 1173
Current log# 2 seq# 1173 mem# 0: /mnt/ramdisk/book/redo02.log
Successful open of redo thread 1
Wed Jun 02 08:59:31 2021
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Jun 02 08:59:31 2021
SMON: enabling cache recovery
Wed Jun 02 08:59:31 2021
ARC1 started with pid=23, OS id=36298
[36291] Successfully onlined Undo Tablespace 2.
Undo initialization finished serial:0 start:1054168652 end:1054168722 diff:70 (0 seconds)
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is ZHS16GBK
No Resource Manager plan active
replication_dependency_tracking turned off (no async multimaster replication found)
WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.
--//不過執行如下效果一樣:
SYS@book> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@book> startup mount;
ORACLE instance started.
Total System Global Area 676491264 bytes
Fixed Size 2256192 bytes
Variable Size 239076032 bytes
Database Buffers 427819008 bytes
Redo Buffers 7340032 bytes
Database mounted.
SYS@book> set timing on
SYS@book> alter system set events 'db_open_begin delay=10' ;
System altered.
Elapsed: 00:00:00.00
SYS@book> alter database open;
Database altered.
Elapsed: 00:00:11.63
--//alert:
alter database open
Wed Jun 02 09:06:39 2021
LGWR: STARTING ARCH PROCESSES
Wed Jun 02 09:06:39 2021
ARC0 started with pid=22, OS id=36475
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0: STARTING ARCH PROCESSES
Thread 1 opened at log sequence 1173
Current log# 2 seq# 1173 mem# 0: /mnt/ramdisk/book/redo02.log
Successful open of redo thread 1
Wed Jun 02 09:06:40 2021
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Jun 02 09:06:40 2021
SMON: enabling cache recovery
Wed Jun 02 09:06:40 2021
ARC1 started with pid=23, OS id=36477
[36469] Successfully onlined Undo Tablespace 2.
Undo initialization finished serial:0 start:1054597802 end:1054597862 diff:60 (0 seconds)
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is ZHS16GBK
No Resource Manager plan active
replication_dependency_tracking turned off (no async multimaster replication found)
WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70014851/viewspace-2868392/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle資料庫密碼延遲驗證Oracle資料庫密碼
- SQL資料庫開發中的SSIS 延遲驗證方法SQL資料庫
- Redis資料操作長延遲分析Redis
- 從庫延遲案例分析
- 啟動優化之動態庫延遲載入優化
- win10開啟左下圖示有延遲怎麼辦 win10桌面圖示開啟有延遲如何解決Win10
- MySQL 延遲從庫介紹MySql
- MySQL主從資料庫同步延遲問題怎麼解決MySql資料庫
- 一種透過延遲事務提升資料庫效能的方法資料庫
- MongoDB從庫延遲讀取資料問題的解決思路MongoDB
- MySQL 中讀寫分離資料延遲MySql
- Mysql配置從庫延遲應用MySql
- 轉化率模型之轉化資料延遲模型
- 知名手遊如何通過資料庫即服務降低遊戲延遲FC資料庫遊戲
- 延遲密碼驗證特性引起的資料庫HANG死及當機密碼資料庫
- [20190124]bbed恢復資料遇到延遲塊清除的問題.txt
- UE4 ProjectileMovement Component 延遲啟動Project
- mysql的主從複製資料延遲問題MySql
- RabbitMQ延遲訊息的延遲極限是多少?MQ
- 延遲釋出
- [Flashback]開啟資料庫閃回資料庫功能資料庫
- [20190124]bbed恢復資料遇到延遲塊清除的問題2.txt
- oracle dg 延遲120分鐘主庫同步資料到備份庫Oracle
- Spark雙流join-延遲資料--double_happySparkAPP
- 資料庫開啟監聽資料庫
- 資料庫的下一場革命:S3 延遲已降至原先的 10%,雲資料庫架構該進化了資料庫S3架構
- [20150818]模擬wan網路延遲.txt
- [20190125]bbed恢復資料遇到延遲塊清除的問題3.txt
- 針對Oracle資料庫業務使用者延遲密碼登入的處理方法Oracle資料庫密碼
- Laravel 延遲佇列Laravel佇列
- WebGL之延遲著色Web
- Mybatis延遲查詢MyBatis
- 疫情延遲 題解
- redis 延遲佇列Redis佇列
- 教你如何解決MySQL資料延遲跳動的問題MySql
- 從Mysql slave system lock延遲說開去MySql
- 實現簡單延遲佇列和分散式延遲佇列佇列分散式
- 基於rabbitmq延遲外掛實現分散式延遲任務MQ分散式