Oracle OCP認證考試題庫
Oracle開發的關係數據庫產品因性能卓越而聞名,Oracle數據庫產品爲財富排行榜上的前1000家公司所採用,許多大型網站也選用了Oracle系統,是世界最好的數據庫產品。以下是小編整理的關於Oracle OCP認證考試題庫,希望大家認真閱讀!
QUESTION 1
You notice that the performance of the database has degraded because of frequent checkpoints.
Which two actions resolve the issue? (Choose two.)
A. Disable automatic checkpoint tuning
B. Check the size of the redo log file size and increase the size if it is small
C. Set the FAST_START_MTTR_TARGET parameter as per the advice given by the MTTR Advisor
D. Decrease the number of redo log members if there are more than one redo log members available in each redo log group
Correct Answer: BC
Explanation/Reference:
檢查點進程:
The checkpoint process (CKPT) updates the control file and data file headers with checkpoint information and signals DBWn to write blocks to disk. Checkpoint information includes the checkpoint position, SCN, location in online redo log to begin recovery, and so on. CKPT does not write data blocks to data files or redo blocks to online redo log files.
檢查點作用:
(1)定期促進DBWn進程把內存的髒塊寫回到數據文件,數據庫故障時不會丟數據
(2)減少實例恢復的時間
(3)確保所有已提交的數據在一致性關閉期間會被寫入數據文件
實例恢復時間:
指的是將數據文件的最後一個檢查點(檢查點位置)推進到控制文件中記錄的最新SCN所需的時間.管理員可以通過設置MTTR 目標以及調整重做日誌組的大小來控制該時間.
MTTR:
Mean Time To Repair,即平均修復時間.是指可修復產品的平均修復時間,就是從出現故障到修復中間的`這段時間越短表示易恢復性越好.在數據庫中可以通過設置參數FAST_START_MTTR_TARGET(單位爲秒),控制數據庫對單個實例執行崩潰恢復所花費的時間.
FAST_START_MTTR_TARGE=非0值, 啓用快速啓動檢查點功能,自動控制發檢查點速度.
FAST_START_MTTR_TARGE=0,禁用快速啓動檢查點功能.
如果重做日誌文件的size太小,會頻繁切換日誌,即會頻繁發生檢查點,故可以增大重做日誌文件的size減少檢查點發生頻率.
FAST_START_MTTR_TARGET如果設置的太小,爲了要控制數據庫單實例的實例恢復時間,則必須頻繁發生檢查點,確保內存中已修改的數據塊能夠定期寫入到磁盤,故可以使用MTTR Advisor來設置推薦的值.
QUESTION 2
Identify the memory component from which memory may be allocated for:Session memory for the shared server, Buffers for I/O slaves Oracle Database Recovery Manager (RMAN) backup and restore operations
A. Large Pool
B. Redo Log Buffer
C. Database Buffer Cache
D. Program Global Area (PGA)
Correct Answer: A
Explanation/Reference:
Large Pool
The large pool is an optional memory area intended for memory allocations that are larger than is appropriate for the shared pool. The large pool can provide large memory allocations for the following:
UGA for the shared server and the Oracle XA interface (used where transactions interact with multiple databases)
Message buffers used in the parallel execution of statements
Buffers for Recovery Manager (RMAN) I/O slaves
By allocating session memory from the large pool for shared SQL, the database avoids performance overhead caused by shrinking the shared SQL cache. By allocating memory in large buffers for RMAN operations, I/O server processes, and parallel buffers, the large pool can satisfy large memory requests better than the shared pool.
QUESTION 3
You executed the following command to create a tablespace called SALES_DATA:
SQL> CREATE TABLESPACE sales_data
DATAFILE SIZE 100M
SEGMENT SPACE MANAGEMENT AUTO;
Which two statements are true about the SALES_DATA tablespace? (Choose two)
A. The database automatically determines the extent-sizing policy for the tablespace.
B. The segments are automatically shrunk when the contents are removed from them.
C. The allocation of extents within the tablespace is managed through the dictionary tables.
D. The space utilization description of the data blocks in segments is recorded in bitmap blocks.
E. The space utilization description of the data blocks in segments is managed through free lists.
Correct Answer: AD
Explanation/Reference:
段空間管理: 本地管理的表空間中的段空間管理方式可指定爲:
自動:Oracle DB 使用位圖管理段中的空閒空間.位圖描述了段中每個數據塊的狀態,該狀態與可插入行的塊中的空間量有關.當數據塊中可用空間增多或減少時,位圖中會反映數據塊的新狀態.通過使用位圖,Oracle DB 可以提高管理空閒空間的自動化程度.因此,這種空間管理方式稱爲"自動段空間管理(ASSM)".
手動:此方法指定要使用空閒列表來管理段中的空閒空間.空閒列表是由一些數據塊組成的列表,這些數據塊中有可插入行的空間.由於這種管理段空間的方式需要爲在表空間中創建的方案對象指定並優化PCTUSED、FREELISTS和FREELIST GROUPS存儲參數,因此這種方式稱爲"手動段空間管理".支持使用此方法是爲了向後兼容,建議使用ASSM.
可通過dba_tablespaces查看分區和段空間管理方式:
SYS@ENMOEDU> select tablespace_name,extent_management,segment_space_management from dba_tablespaces;
TABLESPACE_NAME EXTENT_MAN SEGMEN
SYSTEM LOCAL MANUAL
SYSAUX LOCAL AUTO
TEMP LOCAL MANUAL
USERS LOCAL AUTO
EXAMPLE LOCAL AUTO
UNDOTBS1 LOCAL MANUAL
QUESTION 4
In which of the scenario will the DBA perform recovery? (Choose all that apply.)
A. The alert log file is corrupted
B. A tablespace is accidentally dropped
C. One of the redo log members is corrupted
D. A database user terminates the session abnormally
E. The hard disk on which the data files is stored is corrupted
Correct Answer: BE
Explanation/Reference:
DBA一般在數據庫出現介質損壞的時候執行恢復操作.
A: 錯誤,alert日誌損壞數據庫不會丟失數據,不需要恢復.
B: 正確,表空間在操作系統改名需要執行恢復,數據庫找不到表空間對應的數據文件.
C: 錯誤,丟失redo成員,不會丟失數據,不需要執行恢復操作.
D: 錯誤,會話異常終止不會丟失數據,不需要恢復,數據庫會釋放異常會話佔用的資源.
E: 正確,磁盤損壞會導致在該磁盤的數據文件損壞,需要執行恢復操作.
相關文章
-
2017年Oracle OCP認證考試題庫解析
Oracle公司頒佈並實施的一項權威品的服務與支持。並具有嫺熟的專業技術標準,它是專爲認證那些有操作能力與廣泛理論知識的專業人。下面是小編整理的Oracle OCP認證考試題庫解析,歡迎大家參考! QUESTION 1You notice -
Oracle OCP認證要通過哪些考試
Oracle OCP DBA認證是所有Oracle認證中最普及的一種認證,這一認證過程是專爲那些想要從事Oracle管理的專業數據庫管理人員設計的,適用於Oracle9I DBAs的OCP認證通過改進,刪除了備份和恢復以及網絡考試,而且,PL/SQL、SQL也 -
Oracle認證:Oracle內存結構研究-PGA篇
一、概述SGA,PGA,UGA都是Oracle管理的內存區。SGA(System Global Area),即系統全局區,Oracle中最重要的內存區。PGA(Process Global Area),即程序全局區,一個進程的專用的內存區。UGA(User Global Area),即用戶全局區,與 -
Oracle認證考試題庫下載
Oracle WDP 全稱爲Oracle Workforce Development Program,是Oracle (甲骨文)公司專門面向學生、個人、在職人員等羣體開設的職業發展力課程。以下是關於Oracle認證考試題庫下載,歡迎大家參考! SQLtuning類1:列舉幾種 -
Oracle認證獲得OCP認證的好處
Oracle的技術廣泛應用於各行各業,其中電信、電力、金融、政府及大量製造業都需要Oracle技術人才。下面是小編整理的Oracle認證獲得OCP認證的好處,歡迎大家參考!獲得OCP認證的好處總的來說,IT業對專家的要求很高,職業競爭 -
Oracle OCP DBA認證類型簡介
晴朗的夜晚,彎彎的月亮從樓房後面升起來了。柔和的月光下,我和媽媽手牽手走在幽靜的小路上。瞧!路邊的大樹、小草像是睡着了,一動不動。草叢裏的蟈蟈、蛐蛐已經開始了二重唱。不時迎面拂來一陣晚風,輕輕的,就像媽媽的手撫摸 -
Oracle OCP認證
甲骨文一向都有在第四財季末公佈樂觀財務數字的傳統,公司銷售部門在財年末的時候總是喜歡提供大幅折扣提高業績,以致很多客戶會把其採購推遲到5月份以獲得很低的價格。下面是小編整理的關於Oracle OCP認證,歡迎大家參考! -
Oracle認證:OracleTRUNC函數詳解
C 函數Oracle TRUNC函數可以截取數字和日期類型: C截取數字TRUNC(number)函數返回n1截取到n2位小數。如果省略n2時,則n1截取到0位置(即截取所有小數位)。如果n2爲負數時,表示截取小數點左邊的n2位,被截取部分記爲0 -
oracle oca認證考試的費用
Oracle專業認證要求通過4門具有一定難度的考試,以證實在Oracle數據庫管理領域內的熟練程度.下面是小編整理的關於oracle oca認證考試的費用,歡迎大家參考! 考試科目Oracle提供了3級認證 :OCA認證專員、OCP認證專家、 -
Oracle認證:ORACLE綁定變量BINDPEEKING
ORACLE 在9i之後引入了bind peeking,通過bind peeking,oracle可以在硬解析的時候窺探綁定變量的值,並根據當前綁定變量的值生成執行計劃。在oracle 9i之前的版本中,oracle僅僅通過統計信息來生成執行計劃。下面看一下不