Add or delete a log group at 10 Gb in Oracle
This error was found in the alert Log during routine inspection.
Thread 1 cannot allocate new log, sequence 319708
Checkpoint not complete
This is actually a common error. Generally, it is because when the log is fully written, the log group will be switched, and a checkpoint will be triggered. DBWR will write dirty blocks in the memory to the data file, this log Group will not be released as long as it is not completed. If the archive mode is enabled, the archive write process of ARCH is also involved. If the redo log is generated too fast, when CPK or archiving is not completed, LGWR has filled the remaining log groups and needs to write redo logs into the current log group, in this case, a conflict occurs and the database is suspended. The preceding error message is always written to alert. log.
Oracle provides the following suggestions:
Add additional log group
Increase size of redo logs
######################################## #################
Select * from v $ log;
Select bytes/1024/1024 from v $ log;
Select * from v $ logfile;
# Use the preceding command to view the status of the log group and Log File
# Add 3 new log groups
Alter database add logfile group 4'/u01/app/oradata/destdb/redo04.log 'size 300 m;
Alter database add logfile group 5'/u01/app/oradata/destdb/redo05.log 'size 300 m;
Alter database add logfile group 6'/u01/app/oradata/destdb/redo06.log 'size 300 m;
# Run the following command to change the status of the newly added log group to "non-unused" and switch the log group to "unused"
Alter system switch logfile;
# Delete the old log group. When adding a log group online, you can only delete the INACTIVE log group when deleting the log group.
Alter database drop logfile group 1;
Alter database drop logfile group 2;
Alter database drop logfile group 3;
# Delete the physical files of the old log group on the OS
Delete/u01/app/oradata/destdb/redo01, 02, 03.log
-------------------------------------- Split line --------------------------------------
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing Oracle 11gR2 in vmwarevm
Install Oracle 11g XE R2 In Debian
-------------------------------------- Split line --------------------------------------