|
Zergduan clearly explains that the size of the raw device where you place the controlfile is irrelevant; it just sets an upper limit to the growth of the controlfile. Nowadays, though, nobody uses raw devices directly. The most common practice in industry is to use ASM, which is essentially raw devices but has an excellent management layer.
Back to the real question. guocun09's message #8 is the best explanation. There's no high water mark inside the controlfile. The rule is simple. If a new record must be inserted into the controlfile and there's no space and the oldest record is not old enough compared to control_file_record_keep_time, then the controlfile is expanded. If none of the conditions is met, the file is not expanded. Note that the controlfile never shrinks. Suppose it's expanded for the above reasons, due to heavy activity of the database and therefore lots of archive logs and RMAN backups in a short time. Later, when the database becomes quiet for months, the oldest record in the controlfile will never be newer than control_file_record_keep_time and so will always be overwritten by new records. The controlfile becomes stable in size. |
|