Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DB Buffer cache, Redo Cache, LGWR, DBWR and log file and datafiles

user12024849Jul 14 2010 — edited Jul 14 2010
Hi all Experts,

i m very sory to take your time for a very basic level question. actually in my mind i have a confusion about the DB Buffer cache and Log Buffer cache
my question is in DB Buffer cache the are three types of data i-e dirty, pinned and free. and in dirty they are all changed data data and are ready to flush by DBRW. and then write it datafiles.

but on the other hand redo bufers also working for changed data and all changed data is temporaryliy chacheed to redo bufers and the LGWR writes them into log files. and this data may be commited data or not . and when log switch is take place then it writes commited data to datafiles

my question is if a log file can have both type of data comited and uncommited and when a log switch occures then only commited data is transfered to datafiles then where is uncommited data goes ???


if dirty buffers also contain changed data so wath is the diffrence between log bufers data and dirty data.

i know this may be funny. but i m may be misguided abot the concept. please correct my concept regarding this

thanx alot

regards,
This post has been answered by Aman.... on Jul 14 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 11 2010
Added on Jul 14 2010
12 comments
2,565 views