diff --git a/xCAT-server/share/xcat/tools/createdb.sql b/xCAT-server/share/xcat/tools/createdb.sql index efa833364..929c27ab2 100755 --- a/xCAT-server/share/xcat/tools/createdb.sql +++ b/xCAT-server/share/xcat/tools/createdb.sql @@ -1,8 +1,4 @@ create db xcatdb on /var/lib/db2/data; -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 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; @@ -13,16 +9,16 @@ update dbm cfg using FCM_NUM_BUFFERS 4096; connect to xcatdb; -update db cfg for xcatdb using LOGBUFSZ 98; +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 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;