[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資料庫
- [20190124]bbed恢復資料遇到延遲塊清除的問題.txt
- [20210301]延遲顯示輸出.txt
- Redis資料操作長延遲分析Redis
- 從庫延遲案例分析
- 啟動優化之動態庫延遲載入優化
- [20190125]bbed恢復資料遇到延遲塊清除的問題3.txt
- [20190124]bbed恢復資料遇到延遲塊清除的問題2.txt
- [20180626]延遲塊清除與只讀表.txt
- [20190218]延遲約束問題2.txt
- MySQL 延遲從庫介紹MySql
- 一種透過延遲事務提升資料庫效能的方法資料庫
- MySQL主從資料庫同步延遲問題怎麼解決MySql資料庫
- MySQL 中讀寫分離資料延遲MySql
- win10開啟左下圖示有延遲怎麼辦 win10桌面圖示開啟有延遲如何解決Win10
- [20150409]只讀表空間與延遲塊清除.txt
- 延遲密碼驗證特性引起的資料庫HANG死及當機密碼資料庫
- 轉化率模型之轉化資料延遲模型
- UE4 ProjectileMovement Component 延遲啟動Project
- 知名手遊如何通過資料庫即服務降低遊戲延遲FC資料庫遊戲
- Spark雙流join-延遲資料--double_happySparkAPP
- [20201106]瞭解oracle資料庫啟動時間.txtOracle資料庫
- RabbitMQ延遲訊息的延遲極限是多少?MQ
- 資料庫的下一場革命:S3 延遲已降至原先的 10%,雲資料庫架構該進化了資料庫S3架構
- 延遲繫結
- 【還沒開始】每個前端開發人員都應瞭解的延遲資料前端
- RAC開啟資料庫歸檔資料庫
- Oracle資料庫開啟NUMA支援Oracle資料庫
- Laravel 開啟資料庫事務Laravel資料庫
- 怎樣開啟mongodb資料庫MongoDB資料庫
- 教你如何解決MySQL資料延遲跳動的問題MySql
- 技術分享 | 用圖資料庫來降低 MySQL 處理多層關係的延遲(一)資料庫MySql
- redis 延遲佇列Redis佇列
- Mybatis延遲查詢MyBatis
- WebGL之延遲著色Web
- Laravel 延遲佇列Laravel佇列
- 疫情延遲 題解