DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: redo logs

  1. #1
    Join Date
    Oct 2000
    Posts
    211
    Hi friends,
    In my alert_log file, I often get the following message.

    Thread 1 cannot allocate new log, sequence 1030
    Checkpoint not complete
    Current log# 2 seq# 1038 mem# 0: /tools/oracle/database/dev/redo_2.log

    What is wrong and how does it may affect the performance?

    Thanks
    manjunath



  2. #2
    Join Date
    Feb 2001
    Posts
    163
    1. How many redo logs do you have in your system.

    2. How often are they switching ( Whats the average time between switches )

    3. How large are they

    uday

  3. #3
    Join Date
    Oct 2000
    Posts
    211
    Details of redo logs are as under:

    GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHAN FIRST_TIME
    ---------- ---------- ---------- ---------- ---------- --- ---------------- ---------- --------------------
    1 1 1179 52428800 1 NO INACTIVE 3263039 09-MAR-01
    2 1 1180 52428800 1 NO CURRENT 3263961 09-MAR-01


    they are switching every minute.

  4. #4
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    You have only two redo groups, which is not enough for your database activity. Are they switching ecery menute on average or only during peek hours? If they realy do switch so often, you should consider enlarging your redo log files.

    I would advise at least 4 groups of redo logs, I would also enlarge them from current 50M to at least 200M. It also appears that you only have one member in each group. This is not safe at all, consider adding another member to each group, if possible locate them on another disk drive, possibly under different controler.

    You also obviously run in noarchive mode. If yor database crashes you won't be able to recover your database, you will only be able to restore it from your last cold backup.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  5. #5
    Join Date
    Feb 2001
    Posts
    163
    I agree with jmodic

    I would even go further due to your noarchivelog situation and increase each log to 25M so that it switches at alteast a 5 min interval.

    also consider adding 6 groups so that you always have 30 min between overwrites of the online redo logs.

    If you make the redo logs the right size, the checkpoints due to log switches decrease, hence better performance


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width