What Happens When You Open a Database (297)

tsinglee發表於2007-12-02

Opening a mounted database makes it available for normal database operations. Any
valid user can connect to an open database and access its information. Usually, a
database administrator opens the database to make it available for general use.

When you open the database, Oracle opens the online datafiles and redo log files. If a
tablespace was offline when the database was previously shut down, the tablespace
and its corresponding datafiles will still be offline when you reopen the database.

If any of the datafiles or redo log files are not present when you attempt to open the
database, then Oracle returns an error. You must perform recovery on a backup of any
damaged or missing files before you can open the database.

開啟資料庫時發生了什麼
1. 開啟資料庫時,Oracle 將開啟所有聯機的資料檔案及重做日誌檔案
2. 在資料庫之前offline的表空間,在資料庫重新開啟之後該表空間及他關聯的資料檔案依然為offline狀態
3. 如果 Oracle 在開啟資料庫時找不到所需的資料檔案或重做日誌檔案,系統將返回錯誤資訊.
管理員必須從備份中恢復損壞或缺失的檔案後,才能開啟資料庫.

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-987417/,如需轉載,請註明出處,否則將追究法律責任。

相關文章