If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Bufferpool - Real memory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-09, 19:25
deshaipet deshaipet is offline
Registered User
 
Join Date: Aug 2008
Posts: 76
Lightbulb Bufferpool - Real memory

Hi Friends,

Is bufferpool created only in Real memory or can it be also created in virtual memory ?

Thanks,
panditt
Reply With Quote
  #2 (permalink)  
Old 12-08-09, 19:28
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
DB2 is the real thing, and therefore only uses real memory. If you don't have enough real memory (or are allocating too much memory for DB2), you are likely to encounter some very serious problems with DB2, including possible instance crash.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 12-08-09, 21:09
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
To be precise, in any modern operating system all memory is virtual. In theory you could create a bufferpool that exceeds the amount of available real memory, but that would be like shooting yourself in the foot with a Gatling gun, as Marcus mentioned.
Reply With Quote
  #4 (permalink)  
Old 12-09-09, 09:15
db2aix db2aix is offline
Registered User
 
Join Date: Jul 2009
Location: USA
Posts: 50
Is bufferpool pinned in real memory or can it be paged out?
Reply With Quote
  #5 (permalink)  
Old 12-09-09, 14:38
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
As far as I know, db shared memory (including bufferpools) is only pinned on Solaris. There is a registry variable that will allow you to pin it on other Unix/Linux platforms. Please take a look at db2_pinned_bp if you're interested. Note that this registry variable will not just pin the bufferpools but the entire db shared memory set.
Reply With Quote
  #6 (permalink)  
Old 12-11-09, 22:09
deshaipet deshaipet is offline
Registered User
 
Join Date: Aug 2008
Posts: 76
Thanks a lot..

Thanks a lot friends !!! Thanks for all the explanation. My question is answered.


Thanks
Panditt
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On