Optimization of common parameters of DB2

Source: Internet
Author: User
Tags create index db2

Common parameter modification:

DB2 "Update db CFG for BMC using BUFFPAGE 51200"

DB2 ' alter Bufferpool IBMDEFAULTBP size 51200 '

DB2 "Update db CFG for BMC using LOGSECOND 200"

DB2 "Update db CFG for BMC using SORTHEAP 1024"

DB2 "Update db CFG for BMC using stmtheap 4096"

DB2 Update DB CFG for BMC using APPLHEAPSZ 1024


#如果未启动查查看/HOME/DB2INST/SQLLIB/DB2DUMP/DB2INST.NFY Log, and modify the maximum number of applications

DB2 Update DB CFG for BMC using MAXAPPLS 1000


DBM Parameter modification:

DB2 update dbm CFG using MON_HEAP_SZ 1000

DB2 update dbm CFG using JAVA_HEAP_SZ 4096

DB2 update dbm CFG using MAXAGENTS 200



Create an index eg:

DB2 "CREATE INDEX Stat_ss_type on stat.stat_score_2013 (type)"


This article from "I am a small Grass" blog, declined to reprint!

Optimization of common parameters of DB2

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.