GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  System Architecture
Go To First  |  Previous Question  |  Next Question 
 System Architecture  |  Question 4 of 33    Print  
What do Database Buffers contain ?
Database buffers store the most recently used blocks of database data. It can also contain modified data that has not yet been permanently written to disk.


  
Total Answers and Comments: 4 Last Update: July 02, 2009   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 18, 2006 05:32:38   #1  
manish hoiyani        

RE: What do Database Buffers contain ?

Database buffers: It stores the most recently executed blocks and apart from that it stores the rollback blocks which contains the previous record for those rows which have been updated.

Buffer also stores the dirty blocks means blocks which contains the new updated value which has been not yet committed by the user.


 
Is this answer useful? Yes | No
October 05, 2007 02:49:10   #2  
Mohammed Abdul Afroze        

RE: What do Database Buffers contain ?
Buffer Cache Stores the most recently used blocks of data. It can also have modified data that has not permenently written to disk. When a row in a table is updated the foreground server processes reads the datafile information on the disk in to the buffer cache. Hence modifying the data block in server memory. Oracle writes the block from the buffer cache to the LRU(Least Recently Used) Mechanism.
 
Is this answer useful? Yes | No
February 02, 2009 08:41:26   #3  
taya_ronak Member Since: November 2008   Contribution: 8    

RE: What do Database Buffers contain ?
Database buffer contains the data which server process reads recently from disk.


Database buffer may have three parts:
1. free buffer
2. dirty buffer
3. pinned buffer


Free buffer area is free to be used to store data.

Dirty buffer area contains the data which is updated since read from disk but not written to the disk till now.


Pinned buffer is a area where processing on specific data for current transaction is going on.


Database buffer may be of three types:
1. keep
2. recycle
3. default


Database buffer may be divided into five different block size buffers:

2k 4k 8k 16k 32k and 64k also but supported by most of the servers (HP IBM AIX SOLARIS 10)

 
Is this answer useful? Yes | No
July 02, 2009 03:10:37   #4  
saihaan Member Since: March 2009   Contribution: 2    

RE: What do Database Buffers contain ?
Database buffers consists of the dirty blocks. When ever we are trying to update some table/etc. First it verifies whether the data exists in database buffer If not it fetches the information from data files to database buffer. So the modified values exists in db buffer until a check point
occurrence. When the transaction is committed then the dirty blocks/modified blocks will be written on to the data files with the help of a db writer. If the transaction is not committed/rolled back then the data from the undo segment will be moved to data files.

What ever
SQL statement that is executed it checks in db buffer before retrieving the data from data files.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape