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

Thread: multiplexed redo logs - how enhance performance

  1. #1
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865

    multiplexed redo logs - how enhance performance

    We know that we need to multiplex redo logs, so we have more than one redo log member in each group on seperate physical disks to safeguard against media loss.

    Now, how does this multiplexing of redo logs enhance performance. In other words, can we enhance the performance of 'multiplexing of redo logs'.

    TIA.

  2. #2
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    Since a commit is not complete until the redo information is physically written to all members of the group, you have actually increased the chances of something slowing down the commit! (Ditto for log switches). You need to make sure that all the redo disks have no other activity that will conflict with writing the redo logs.

  3. #3
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865
    I have collected some more information about this...

    Asynchronous I/O will be used, if available to make the write parallel, otherwise these writes are done sequentially one member after the other. However, LGWR has to wait until I/Os to all member logfiles are complete before the 'log file parallel write' wait event is complete.

    BTW, to reduce 'logfile parallel write' wait time, the following can be done...
    - reduce redo generated (NOLOGGING)
    - reduce redo log members (RAID 1 - with 1 member per group?)
    OR
    - use RAW devices
    - place members on storage locations to avoid parallel write contention
    - use faster disks

  4. #4
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758

    Re: multiplexed redo logs - how enhance performance

    Originally posted by ggnanaraj
    Now, how does this multiplexing of redo logs enhance performance.
    BTW, who said that??
    Sanjay G.
    Oracle Certified Professional 8i, 9i.

    "The degree of normality in a database is inversely proportional to that of its DBA"

  5. #5
    Join Date
    Apr 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    1,203
    Originally posted by ggnanaraj

    BTW, to reduce 'logfile parallel write' wait time, the following can be done...
    - reduce redo generated (NOLOGGING)
    - reduce redo log members (RAID 1 - with 1 member per group?)
    And neither are satisfactory options.
    OCP 8i, 9i DBA
    Brisbane Australia

  6. #6
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    By multiplexing redo logs, archive process can read any one of the redo logs that has been finished first. This perf gain is very small. By multiplexing redo, you are safe guarding the redo log.

    If you really want to enhance the perf of redo, then you have to place them in RAW DEVICES.

    If you put them in FILE SYSTEM, then there is a small lock conflict occurred becuase of WRITER (LGWR) blocks READER (ARCH) and the internal structure of inodes handled by UNIX OS. This lock conflict will not occur on RAW DEVICES.

    Tamil

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