DB2 Database parameter recommendations (LINUX)

Source: Internet
Author: User

Kernel parameter configuration:

kernel.shmall=< Physical Memory 90%, page >kernel.shmax=< actual physical memory >Kernel.shmmni=16384 Kernel.msgmax=192000kernel.msgmnb=192000kernel.msgmni=65536  Kernel.sem=256000*<ram size, in GB >  Kernel.randomize_va_space=0vm.swappiness=0

As above content added to/etc/sysctl.conf
Executive Sysctl-a

User Resource configuration:
For instance users, fence users, the application user adds the following restrictions:

Db2inst1 Soft Nproc10240Db2inst1 Hard Nproc10240Db2inst1 Soft Nofile65000Db2inst1 Hard Nofile65000Db2inst1 Soft Stack-1db2inst1 Hard Stack-1Db2inst1 Soft Data-1db2inst1 Hard Data-1Db2inst1 Soft Fsize-1Db2inst1 Hard Fsize-1Db2inst1 Soft RSS-1Db2inst1 Hard RSS-1

Add above memory to/etc/security/limtis.conf

DB2 Register variable settings:

Db2set db2_laod_copy_no_override=nonrecoverabledb2set db2_use_fast_preallocation=ONdb2set DB2_MEM_ Tuning_range=+,

DB parameter:

 for 1024x768 (at least 4M)

DB2 Database parameter recommendations (LINUX)

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.