• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Prayer

            在一般中尋求卓越
            posts - 1256, comments - 190, trackbacks - 0, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            db2設(shè)置參數(shù)數(shù)據(jù)及更新

            Posted on 2010-10-15 15:26 Prayer 閱讀(6142) 評論(0)  編輯 收藏 引用 所屬分類: DB2
            #!/bin/sh
            # *******************************************************
            # DB2 ENVIRONMENT VARIABLES
            # *******************************************************
            db2set DB2_MMAP_READ=NO
            db2set DB2_MMAP_WRITE=NO
            db2set DB2_FMP_COMM_HEAPSZ=
            db2set DB2_EVALUNCOMMITTED=YES
            db2set DB2_SKIPINSERTED=YES
            db2set DB2_SKIPDELETED=YES
            db2set DB2_HASH_JOIN=NO
            # *******************************************************
            # DB2 DATABASE MANAGER SETTINGS; NOTE: MONITORING
            # IS OFF TO REDUCE CPU; YOUR APPLICATION MAY REQUIRE
            # MONITORS TO BE ON, SO CHANGE ACCORDINGLY
            # *******************************************************
            db2 update dbm cfg using NUMDB 4
            db2 update dbm cfg using DFT_MON_BUFPOOL OFF
            db2 update dbm cfg using DFT_MON_LOCK OFF
            db2 update dbm cfg using DFT_MON_SORT OFF
            db2 update dbm cfg using DFT_MON_STMT OFF
            db2 update dbm cfg using DFT_MON_TABLE OFF
            db2 update dbm cfg using DFT_MON_UOW OFF
            db2 update dbm cfg using DFT_MON_TIMESTAMP OFF
            db2 update dbm cfg using MON_HEAP_SZ 10000
            db2 update dbm cfg using UDF_MEM_SZ 256
            db2 update dbm cfg using JAVA_HEAP_SZ 512
            db2 update dbm cfg using SHEAPTHRES 10000
            db2 update dbm cfg using DIR_CACHE YES
            db2 update dbm cfg using ASLHEAPSZ 15
            db2 update dbm cfg using RQRIOBLK 65535
            db2 update dbm cfg using QUERY_HEAP_SZ 16384
            db2 update dbm cfg using DRDA_HEAP_SZ 128
            # *******************************************************
            # DB2 DATABASE MANAGER SETTINGS FOR CONNECTIONS AND AGENTS
            # SHOWN HERE SUPPORTS 1200 CONCURRENT CONNECTIONS!
            # *******************************************************
            db2 update dbm cfg using FENCED_POOL 200
            db2 update dbm cfg using NUM_INITAGENTS 50
            db2 update dbm cfg using MAXAGENTS 200
            db2 update dbm cfg using MAX_COORDAGENTS 200
            db2 update dbm cfg using NUM_INITFENCED 50
            db2 update dbm cfg using NUM_POOLAGENTS 200
            db2 update dbm cfg using MAX_CONNECTIONS 200
            # *******************************************************
            # UPDATE YOUR DATABASE SETTINGS
            # *******************************************************
            db2 update db cfg for yourdb using DFT_QUERYOPT 2
            db2 update db cfg for yourdb using DBHEAP 1200
            db2 update db cfg for yourdb using CATALOGCACHE_SZ 64
            db2 update db cfg for yourdb using LOGBUFSZ 128
            db2 update db cfg for yourdb using UTIL_HEAP_SZ 5000
            db2 update db cfg for yourdb using LOCKLIST 1000
            db2 update db cfg for yourdb using APP_CTL_HEAP_SZ 1000
            db2 update db cfg for yourdb using APPGROUP_MEM_SZ 60000
            db2 update db cfg for yourdb using SORTHEAP 256
            db2 update db cfg for yourdb using STMTHEAP 4096
            db2 update db cfg for yourdb using APPLHEAPSZ 4096
            db2 update db cfg for yourdb using PCKCACHESZ 5000
            db2 update db cfg for yourdb using STAT_HEAP_SZ 4384
            db2 update db cfg for yourdb using MAXLOCKS 25
            db2 update db cfg for yourdb using LOCKTIMEOUT 60
            db2 update db cfg for yourdb using CHNGPGS_THRESH 60
            db2 update db cfg for yourdb using NUM_IOCLEANERS 4
            db2 update db cfg for yourdb using NUM_IOSERVERS 6
            db2 update db cfg for yourdb using MAXAPPLS 1200
            db2 update db cfg for yourdb using AVG_APPLS 1
            db2 update db cfg for yourdb using MAXFILOP 64
            db2 update db cfg for yourdb using LOGFILSIZ 1000
            db2 update db cfg for yourdb using LOGPRIMARY 10
            db2 update db cfg for yourdb using LOGSECOND 20
            -------------------
            設(shè)置當(dāng)前模式:
            set current path = oais(模式名)
            查看當(dāng)前的模式:
            db2 values(current path)
            設(shè)置為默認(rèn)的、缺省的:
            set current path = system path
            ----------------------------------------
            詳細(xì)的列表信息請查看:
            

            see IBM publib site for Database tuning overview.

            亚洲精品无码久久毛片| 久久精品亚洲精品国产欧美| 欧美国产成人久久精品| 青青热久久国产久精品 | 久久天天躁狠狠躁夜夜av浪潮| 人妻中文久久久久| 亚洲熟妇无码另类久久久| 四虎国产永久免费久久| 精品国产日韩久久亚洲| 青青草国产精品久久| 香蕉久久夜色精品国产尤物| 青青草原精品99久久精品66| 久久精品一区二区三区中文字幕| 久久久久久伊人高潮影院| 亚洲国产精久久久久久久| 亚洲国产另类久久久精品小说| 77777亚洲午夜久久多喷| 伊人色综合九久久天天蜜桃| 久久这里只精品国产99热| 久久综合噜噜激激的五月天| 色天使久久综合网天天| 91精品国产高清久久久久久国产嫩草 | 天天综合久久一二三区| 国产精品久久久久jk制服| 久久精品卫校国产小美女| 欧美激情精品久久久久久久| 亚洲国产天堂久久综合网站| 99久久精品国内| 成人国内精品久久久久一区| 人妻少妇久久中文字幕| 成人午夜精品无码区久久| 国色天香久久久久久久小说| 中文成人久久久久影院免费观看| 精品久久人人妻人人做精品| 亚洲综合精品香蕉久久网97| 亚洲国产二区三区久久| A级毛片无码久久精品免费| 国产免费久久精品丫丫| 久久乐国产精品亚洲综合| 亚洲精品无码久久久久AV麻豆| 亚洲国产日韩欧美久久|