DB2 Common Configuration

Source: Internet
Author: User

Db2set configuration:

Db2set Db2_enable_ldap=no

Db2set db2_alternate_group_lookup=getgrouplist

Db2set Db2_restore_grant_admin_authorities=on

Db2set Db2_skipinserted=on

Db2set db2_load_copy_no_override=nonrecoverable

Db2set Db2_evaluncommitted=on

Db2set Db2_skipdeleted=on

Db2set Db2comm=tcpip

Db2set DB2FCMCOMM=TCPIP4

Db2set db2_parallel_io=*

DBM Configuration:

DB2 DBM CFG USING SVCENAME db2c_inst1

DB2 DBM CFG USING maxagents 2000

DB2 DBM CFG USING num_initagents instance_memory Automatic

DB2 DBM CFG USING max_coordagents automatic max_connection Automatic

DB2 DBM CFG USING diagsize 1024

DB2 DBM CFG USING dft_mon_bufpool on Dft_mon_lock in Dft_mon_sort dft_mon_sort on dft_mon_stmt on dft_mon_table on DFT_MON _UOW on Health_mon OFF

DB configuration:

DB2 Update db CFG for $DBNAME USING Self_tuning_mem on

DB2 Update db CFG for $DBNAME USING database_memory AUTOMATIC

DB2 Update db CFG for $DBNAME USING locklist 524288

DB2 Update db CFG for $DBNAME USING MAXLOCKS 95

DB2 Update db CFG for $DBNAME USING LOCKTIMEOUT 300

DB2 Update db CFG for $DBNAME USING Mon_lw_thresh 10000

DB2 Update db CFG for $DBNAME USING MON_LCK_MSG_LVL 3

DB2 Update db CFG for $DBNAME USING mon_dealock hist_and_values

DB2 Update db CFG for $DBNAME USING mon_locktimeout hist_and_values

DB2 Update db CFG for $DBNAME USING mon_lockwait hist_and_values

DB2 Update db CFG for $DBNAME USING mon_act_metrics EXTENDED

DB2 Update db CFG for $DBNAME USING mon_req_metrics EXTENDED

DB2 Update db CFG for $DBNAME USING mon_obj_metrics EXTENDED

DB2 Update db CFG for $DBNAME USING MON_PKGLIST_SZ 1024

DB2 Update db CFG for $DBNAME USING mon_uow_data BASE

DB2 Update db CFG for $DBNAME USING cur_commit on

DB2 Update db CFG for $DBNAME USING rec_his RETENTN 31

DB2 Update db CFG for $DBNAME USING LOGFILSIZ 131072

Olap:

DB2 Update db CFG for $DBNAME USING LOGPRIMARY 56

DB2 Update db CFG for $DBNAME USING LOGSECOND 200

Oltp:

DB2 Update db CFG for $DBNAME USING LOGPRIMARY 10

DB2 Update db CFG for $DBNAME USING LOGSECOND 240

DB2 Update db CFG for $DBNAME USING Max_log 95

DB2 Update db CFG for $DBNAME USING Num_log_span 220

DB2 Update db CFG for $DBNAME USING sheapthres_shr AUTOMATIC

DB2 Update db CFG for $DBNAME USING STAT_HEAP_SZ AUTOMATIC

DB2 Update db CFG for $DBNAME USING SORTHEAP AUTOMATIC

DB2 Update db CFG for $DBNAME USING MAXAPPLS AUTOMATIC

DB2 Update db CFG for $DBNAME USING catalogcache_sz-1

DB2 Update db CFG for $DBNAME USING Pckcachesz AUTOMATIC

DB2 Update db CFG for $DBNAME USING appl_memory AUTOMATIC

DB2 Update db CFG for $DBNAME USING stmtheap AUTOMATIC

DB2 Update db CFG for $DBNAME USING UTIL_HEAP_SZ 32768

DB2 Update db CFG for $DBNAME USING auto_maint on

DB2 Update db CFG for $DBNAME USING auto_tbl_maint on

DB2 Update db CFG for $DBNAME USING auto_runstats on

DB2 10 or later configuration:

DB2 Update db CFG for $DBNAME USING LOGARCHCOMPR1 on

DB2 Update db CFG for $DBNAME USING mon_rtn_data BASE

DB2 Update db CFG for $DBNAME USING mon_rtn_execlist on

DB2 Update db CFG for $DBNAME USING mon_uow_execlist on

DB2 Update db CFG for $DBNAME USING mon_uow PKGLIST on

DB2 Update db CFG for $DBNAME USING UTIL_HEAP_SZ AUTOMATIC

DB2 Update db CFG for $DBNAME USING auto_sampling on

DB2 Update db CFG for $DBNAME USING auto_stats_views on

#批量执行该语句修改bufferpool

DB2 "SELECT ' Alter Bufferpool ' concat varchar (bpname,32) concat ' immediate size + automatic ' from Syscat.bufferpools with ur "Grep-i alter

DB2 Common Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.