is enough memory in the system. You can take this as a starting buffer pool 
configuration for a 2 GB RAM system.
Example 9 32   Increasing buffer pools
connect to sample;
   creating two buffer pools 256 MB and 64 MB
create bufferpool DATA_BP immediate size 65536 pagesize 4k;
create bufferpool TEMP_BP immediate size 16384 pagesize 4k;
   changing size of the default buffer pool
alter bufferpool IBMDEFAULTBP immediate size 16384;
   binding the tablespaces to buffer pools
alter tablespace DATASPACE bufferpool DATA_BP;
alter tablespace TEMPSPACE1 bufferpool TEMP_BP;
   checking the results 
select 
substr(bs.bpname,1,20) as BPNAME
,bs.npages 
,bs.pagesize
,substr(ts.tbspace,1,20) as TBSPACE
from syscat.bufferpools bs join syscat.tablespaces ts on
     bs.bufferpoolid = ts. bufferpoolid;
The results:
BPNAME               NPAGES      PAGESIZE    TBSPACE
                                                                 
IBMDEFAULTBP               16384        4096 SYSCATSPACE
IBMDEFAULTBP               16384        4096 USERSPACE1
DATA_BP                    65536        4096 DATASPACE
TEMP_BP                    16384        4096 TEMPSPACE1
The 
CHNGPGS_THRESH
 parameter specifies the percentage of changed pages at 
which the asynchronous page cleaners will be started. Asynchronous page 
cleaners will write changed pages from the buffer pool to disk. The default value 
for the parameter is 60%. When that threshold is reached, some users may 
experience a slower response time. Having larger buffer pools means more 
modified pages in memory and more work to be done by page cleaners, as 
shown on Figure 9 7. To guarantee more consistent response time and also 
shorter recovery phase, lower the value to 50 or 40 using the following command:
db2 update db cfg for sample using CHNGPGS_THRESH 40
302 
MySQL to DB2 UDB Conversion Guide






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

san diego web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved