oracle 9i 後 maxdatafiles 與db_files的關係

paulyibinyi發表於2013-05-21
Problem Description
-------------------

The "alert.log" file shows the following message:

    kccrsz: expanded controlfile section 4 from 17 to 18 records
            number of logical blocks in section remains at 2
    Completed: alter tablespace tb1 add datafile


Solution Description
--------------------

Starting in Oracle8 the controlfile is automatically expanded.
A new datafile is added beyond the maxdatafiles limited specified
in the control file. 

This also happens if new records are added to the "log_history" section of
the control files and there are no entries that could be replaced. 

The routine that performs the expansion writes this message to the alert log.
The messages specifies the section that was expanded and the amount of
the expansion. Please note that this message cannot be turned off.

The automatic expansion only occurs up to the limit of the "init.ora" parameter
"DB_FILES".
 

References:
-----------

Server SQL Reference: create controlfile



Additional Search Words
-----------------------

kccrsz controlfile expanded

oracle 9i 控制檔案 maxdatafiles 會自動擴充套件 ,自動擴充套件的值不能超過db_files,

所以我們在規劃資料庫時,db_files的值一定要設定比較大。


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

相關文章