From 5b35504606dc40e2bf636801191c95be306b6ae6 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 11 Aug 2010 12:04:26 +0000 Subject: [PATCH] add LL db creating configuration git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/createdb.sql | 24 ++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/xCAT-server/share/xcat/tools/createdb.sql b/xCAT-server/share/xcat/tools/createdb.sql index a090bbe4e..27cdaca5c 100755 --- a/xCAT-server/share/xcat/tools/createdb.sql +++ b/xCAT-server/share/xcat/tools/createdb.sql @@ -4,13 +4,23 @@ 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 MAXLOCKS AUTOMATIC; +update db cfg for xcatdb using LOCKLIST AUTOMATIC; 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 NUM_IOCLEANERS AUTOMATIC; +update db cfg for xcatdb using NUM_IOSERVERS AUTOMATIC; 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; +update db cfg for xcatdb using APP_CTL_HEAP_SZ 512; +update db cfg for xcatdb using DBHEAP AUTOMATIC; +update db cfg for xcatdb using SORTHEAP AUTOMATIC; +update db cfg for xcatdb using STMTHEAP AUTOMATIC; +update db cfg for xcatdb using APPLHEAPSZ AUTOMATIC; +update db cfg for xcatdb using DATABASE_MEMORY AUTOMATIC; +update db cfg for xcatdb using PCKCACHESZ AUTOMATIC; +update db cfg for xcatdb using SHEAPTHRES_SHR AUTOMATIC; +update db cfg for xcatdb using APPL_MEMORY AUTOMATIC; +update db cfg for xcatdb using STAT_HEAP_SZ AUTOMATIC; +update db cfg for xcatdb using DFT_PREFETCH_SZ AUTOMATIC; +update db cfg for xcatdb using MAXAPPLS AUTOMATIC; +update db cfg for xcatdb using AVG_APPLS AUTOMATIC;