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
- DB2DIR=/opt/ibm/db2/V9.5
DB2 installation directory
- 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:
- db2set -?
Set variables:
- db2set <parameter>=<value>
Reference
Common DB2 profile registry Variables
- DB2COMM
- DB2SYSTEM
- DB2INSTDEF
- 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.