xcat-core/xCAT-server/share/xcat/tools/createdb.sql

28 lines
1.2 KiB
MySQL
Raw Normal View History

create db xcatdb on /var/lib/db2/data;
CREATE BUFFERPOOL BP32K SIZE 2000 PAGESIZE 32K
Create tablespace xcattbs32k pagesize 32k managed by system using('/var/lib/db2/ts32') BUFFERPOOL BP32K
update dbm cfg using dft_mon_bufpool on dft_mon_lock on dft_mon_sort on dft_mon_stmt on dft_mon_table on dft_mon_uow on health_mon on;
update dbm cfg using java_heap_sz 4096 num_initagents 2 max_querydegree any intra_parallel yes;
update dbm cfg using MON_HEAP_SZ 256;
update dbm cfg using MAXAGENTS 500;
update dbm cfg using NUM_POOLAGENTS 250;
update dbm cfg using FCM_NUM_BUFFERS 4096;
connect to xcatdb;
update db cfg for xcatdb using LOGBUFSZ 98;
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 LOGFILSIZ 10024;
update db cfg for xcatdb using LOGPRIMARY 10;
update db cfg for xcatdb using LOGSECOND 20;
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;