I am running Oracle 11g R2 single instance on Linux 6.7.
Data guard is also configured.
In a database I have 4 groups of redologs, each group has 2 members and each logfile size is 200mb.
The problem I am facing is that LGWR is switching every 4 minutes. The output size of archivelogs are maximum 90mb to 100mb.
What should I do to solve this problem?
Best Answer
Its not necessary to have archived log file should be same.
Its not necessary to have log switch occur when online redo log file is 100% full. There is also an algorithm inside Oracle which determines the timing for the log switch.
After the log switch, the archiver process will copy only the actual information from the redo log files. Since the redo logs are not 100% full after the log switch this results in uneven, smaller files than the original redo log files.
Some of the factors which may enforce frequent log switch are listed below:
LOG_BUFFER_SIZE
parameter.Details are given in an Oracle knowledge based document.(MOS account required) Archived redolog is (significant) smaller than the redologfile. (Doc ID 1356604.1)