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 > creating bufferpools on raw device

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-12-05, 14:50
aselar aselar is offline
Registered User
 
Join Date: Jun 2004
Posts: 19
creating bufferpools on raw device

Hi,

New to DB2. I would like to know how I can create a bufferpool in a raw device? This is on DB2 8.2 on HPUX.

Thanks

AR
Reply With Quote
  #2 (permalink)  
Old 10-12-05, 15:20
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
You create bufferpool in memory; you create tablespaces on raw device(or filesystem). When DB2 reads/writes data from a tablespace, it has to come to the bufferpool. If the tablespace is on a filesystem, the OS reads data from the file to filecache(which is OS buffer for filesystem I/O) and then DB2 reads it from filecahe to DB2 bufferpool; if tablespace is raw data goes directly to the DB2 bufferspace. If you use filesystem you have to reserve a good portion (20-30%) for filecache; if you use raw devices filecache can be smaller and bufferpools bigger than in filesystem systems.
__________________
mota
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