create db xcatdb on /var/lib/db2/data;
connect to xcatdb;
CREATE BUFFERPOOL BP16K SIZE 2000 PAGESIZE 16K;
Create tablespace xcattbs16k pagesize 16k managed by system using('/var/lib/db2/ts16')  BUFFERPOOL BP16K;
CREATE BUFFERPOOL BP32K SIZE 2000 PAGESIZE 32K;
Create tablespace xcattbs32k pagesize 32k managed by system using('/var/lib/db2/ts32')  BUFFERPOOL BP32K;
update db cfg for xcatdb using LOCKLIST 2087;
update db cfg for xcatdb using APPGROUP_MEM_SZ 40000;
update db cfg for xcatdb using GROUPHEAP_RATIO 80;
update db cfg for xcatdb using APP_CTL_HEAP_SZ 512;
update db cfg for xcatdb using MAXLOCKS 100;
update db cfg for xcatdb using NUM_IOSERVERS 4;
update db cfg for xcatdb using SOFTMAX 120;
update db cfg for xcatdb using DBHEAP 2500;
update db cfg for xcatdb using STMTHEAP 4096;
update db cfg for xcatdb using APPLHEAPSZ 2500;
