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 > Page Size Determination

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-05, 02:31
ksolomon ksolomon is offline
Registered User
 
Join Date: Jun 2004
Posts: 38
Page Size Determination

Hi All,
I need to determine the page size to be used for a database under AIX5.2 using DB2 UDB V8.2. Can you please let me know the procedure to do the same.

I've the physical model of the database that needs to be created with me as an input.

Any help is appreciated.
Thanks, Vij.
Reply With Quote
  #2 (permalink)  
Old 10-10-05, 19:47
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
First, the page size must be large enough for the largest row possible (consider max varchar sizes). You may need different page sizes for the database.

In general, in a pure OLTP environment with relatively small to medium size rows (normalized) that are almost always accessed via an index (unless the table is very small), the page size should be 4K.

If you have a pure Data Warehouse environment, and SQL statements do a lot of table scans to access the data, the page size should usually be 32K.
__________________
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
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