[20170515]引數fast_start_mttr_target
[20170515]fast_start_mttr_target容易混淆的地方.txt
--//自己很少關注這個引數.但是確實非常容易混淆.
1.環境:
SYS@book> @ &r/ver1
PORT_STRING VERSION BANNER
------------------- ---------- --------------------------------------------------------------------------------
x86_64/Linux 2.4.xx 11.2.0.4.0 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
--//如果不設定,也是預設設定.
$ strings spfilebook.ora | grep -i fast_start_mttr_target
SYS@book> show spparameter fast_start_mttr_targ
SID NAME TYPE VALUE
-------- ----------------------------- ------- -------
* fast_start_mttr_target integer
SYS@book> show parameter fast_start_mttr_targ
NAME TYPE VALUE
---------------------- ------- ------
fast_start_mttr_target integer 0
--//alert*.log:
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SYS@book> select WRITES_AUTOTUNE from v$instance_recovery ;
WRITES_AUTOTUNE
---------------
52
--//實際上這個時候是開啟自動調整.
--//如果你設定0,自動關閉這個功能.
2.設定fast_start_mttr_target=0;
SYS@book> alter system set fast_start_mttr_target=0;
System altered.
SYS@book> shutdown immediate ;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@book> startup
ORACLE instance started.
Total System Global Area 634732544 bytes
Fixed Size 2255792 bytes
Variable Size 197133392 bytes
Database Buffers 427819008 bytes
Redo Buffers 7524352 bytes
Database mounted.
Database opened.
--//alert*.log:
Mon May 15 10:40:15 2017
ARC0 started with pid=22, OS id=34420
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0: STARTING ARCH PROCESSES
Thread 1 opened at log sequence 745
Current log# 3 seq# 745 mem# 0: /mnt/ramdisk/book/redo03.log
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
--//提示一樣,但是現在是關閉的.
SYS@book> show parameter fast_start_mttr_targ
NAME TYPE VALUE
---------------------- ------- -----
fast_start_mttr_target integer 0
SYS@book> show spparameter fast_start_mttr_targ
SID NAME TYPE VALUE
-------- ---------------------- ------- ------
* fast_start_mttr_target integer 0
--//你等很久觀察,這是WRITES_AUTOTUNE一直是0.
SYS@book> select WRITES_AUTOTUNE from v$instance_recovery ;
WRITES_AUTOTUNE
---------------
0
3.設定fast_start_mttr_target=200:
SYS@book> alter system set fast_start_mttr_target=200;
System altered.
--//重啟:
SYS@book> show parameter fast_start_mttr_targ
NAME TYPE VALUE
---------------------- ------- ------
fast_start_mttr_target integer 200
SYS@book> show spparameter fast_start_mttr_targ
SID NAME TYPE VALUE
-------- ---------------------- ------- -----
* fast_start_mttr_target integer 200
--//alert沒有mttr的相關顯示,表示已經MTTR advisory is enabled.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2139066/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- FAST_START_MTTR_TARGET引數AST
- 關於FAST_START_MTTR_TARGET引數AST
- 關於引數fast_start_mttr_targetAST
- 引數FAST_START_MTTR_TARGET的理解AST
- 10G FAST_START_MTTR_TARGET引數AST
- [轉]FAST_START_MTTR_TARGET 幾個引數AST
- 11G中FAST_START_MTTR_TARGET引數AST
- FAST_START_MTTR_TARGET引數是怎麼工作了AST
- 對引數FAST_START_MTTR_TARGET = 0 的誤解及設定AST
- FAST_START_MTTR_TARGETAST
- kettle 引數——變數引數和常量引數變數
- buffer cache實驗4-ckptq的工作機制與增量檢查點及fast_start_mttr_target引數AST
- 理解FAST_START_MTTR_TARGETAST
- Oracle引數-隱藏引數Oracle
- 什麼是請求引數、表單引數、url引數、header引數、Cookie引數?一文講懂HeaderCookie
- Swift語言中為外部引數設定預設值可變引數常量引數變數引數輸入輸出引數Swift變數
- c# 方法引數_值引數C#
- c# 方法引數_引用引數C#
- 動態引數,靜態引數
- C#中的值引數,引用引數及輸出引數C#
- Swift學習筆記(三十三)——常量引數,變數引數和inout引數Swift筆記變數
- python疑問5:位置引數,預設引數,可變引數,關鍵字引數,命名關鍵字引數區別Python
- JavaScript形式引數和實際引數JavaScript
- Oracle引數檔案解析——引數解析Oracle
- c#方法引數_輸出引數C#
- c# 方法引數_陣列引數C#陣列
- [20170515]檢查資料庫scn指令碼.txt資料庫指令碼
- 12.MyBatis學習--對映檔案_引數處理_單個引數&多個引數&命名引數MyBatis
- 引數和變數變數
- Java對比有引數和無引數Java
- nodejs接收get引數和post引數NodeJS
- iOS可變引數(不定引數)的用法iOS
- C#引數傳遞之值引數C#
- Oracle引數檔案 各引數解釋Oracle
- Mysql 引數MySql
- MongoDB引數MongoDB
- INITRANS引數
- oracle 引數Oracle