監(jiān)聽(tīng)的作用就是給客戶端電腦和中心數(shù)據(jù)庫(kù)電腦建立數(shù)據(jù)的連接。一旦建立連接就不對(duì)兩者造成任何影響,連接上的客戶端上的用戶可以做任何操作和查詢,哪怕監(jiān)聽(tīng)已經(jīng)關(guān)閉或者被破壞,只是在停止后新的遠(yuǎn)程連接不能再連接到數(shù)據(jù)庫(kù)。
UNDO表空間的用途:
1. Rolling back a transaction explicitly with a ROLLBACK statement
2. Rolling back a transaction implicitly (for example, through recovery of a failed transaction)
3. Reconstructing a read-consistent p_w_picpath of data
4. Recovering from logical corruptions .
1)回滾事務(wù): rollback
2)讀一致性:正在做 DML 操作的數(shù)據(jù)塊,事務(wù)結(jié)束前,其他用戶讀 undo 里面的數(shù)據(jù)前
鏡像
3)實(shí)例的恢復(fù): instance recover(undo -------->rollback)
4)閃回技術(shù) : flashback query、 flashback table 等
因?yàn)閿?shù)據(jù)庫(kù)異常停止,則在數(shù)據(jù)庫(kù)發(fā)出最后一個(gè)檢查點(diǎn)到數(shù)據(jù)庫(kù)異常停止這段時(shí)間內(nèi)的改變只是記錄到了重做日志文件中,還未被寫到數(shù)文件中,所以,在進(jìn)行數(shù)據(jù)庫(kù)實(shí)例恢復(fù)的過(guò)程中,需要最后一個(gè)檢查點(diǎn)后所有的重做日志文件,將相應(yīng)的改變寫到數(shù)據(jù)文件中去。
增加非空約束是使用modify而不是ADD CONSTRAINT
確定下面那兩種情況你可以使用Data Recovery Advisor來(lái)恢復(fù)?
the one when you cannot start up the database (because required database files are missing, inconsistent, or corrupted) and the one when file corruptions are discovered during run time.
A. The database files are corrupted when the database is open
D. The database is not opening because the required database files are missing
延遲完整性約束。
http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=516
角色:
http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=509
SQL調(diào)優(yōu)。
http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=518
數(shù)據(jù)庫(kù)里那兩種文件在RMAN里可以通過(guò)自動(dòng)備份功能配置為自動(dòng)備份?
The automatic backup of the control file occurs independently of any backup of the current control file explicitly requested as part of your backup command. If you enable control file autobackups, then RMAN automatically backs up the control file and the current server parameter file。
SQL*LOADER
http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=521
在下面那種情況下即使參數(shù)UNDO_RETENTION指定了值也可能被忽略?
For fixed-size undo tablespaces, the system automatically tunes for the best possible undo retention period on the basis of undo tablespace size and usage history; it ignores UNDO_RETENTION unless retention guarantee is enabled.
你想要使包含在平面文件中的員工信息作為EMPLOYEES的一部分去訪問(wèn),因此你打算為EMPLOYEES表增加一個(gè)列來(lái)實(shí)現(xiàn);
這個(gè)新的列你將使用那種數(shù)據(jù)類型?
CLOB使用CHAR來(lái)保存數(shù)據(jù)。
BLOB就是使用二進(jìn)制保存數(shù)據(jù)。
BFILE 的數(shù)據(jù)是存儲(chǔ)在操作系統(tǒng)文件中的,而不是在數(shù)據(jù)庫(kù)中。
LING RAW此數(shù)據(jù)類型用于存儲(chǔ)不是由 Oracle 解釋的二進(jìn)制數(shù)據(jù).
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。