How can I configure a document database for a DB2 database at four different levels?

Source: Internet
Author: User
Tags db2 installation

The following articles mainly describe how to configure document databases for DB2 databases at four different levels, I saw on the relevant website two days ago the description of the DB2 database configuration document database at four different levels. I thought it was good and I would like to share it with you.

Document 1:

System Environment Variable (System Environment Variable) The System Environment Variable is used to configure the use Environment of DB2: View: set | grep DB2 reference

 
 
  1. DB2DIR=/opt/ibm/db2/V9.5 

DB2 installation directory

 
 
  1. DB2INSTANCE=db2inst1  

Active instance

II:

Profile Registry provides two types of DB2 Profile Registry variables: global Profile Registry variables and instance Profile Registry variables. The global profile registry variables affect all instances. The instance profile registry variables only affect specific instances. Their names are the same.

DB2 uses the db2set command to manage these variables. There are many registries in the profile file of the DB2 database, but we usually set very few, as shown below: show all the DB2 profile registry variables: db2set-lr displays all the currently set DB2 profile registry variables: db2set-all help:

 
 
  1. db2set -? 

Set variables:

 
 
  1. db2set <parameter>=<value> 

Reference

Common DB2 profile registry Variables

 
 
  1. DB2COMM  
  2. DB2SYSTEM  
  3. DB2INSTDEF  
  4. DB2ADMINSERVER 

The above content is an introduction to the configuration documents of the DB2 database at four different levels. I hope you will gain some benefits.

Related Article

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.