"Gradual db2--d B2 system Management, operation and application case" reading essays

Source: Internet
Author: User
Tags db2
Once the instance instance directory is created, it cannot change its location. In order to have an instance directory in Linux/unix, a user with the same instance name must be created, with the ultimate purpose of using the user's home directory as the instance directory. On Windows, the instance is a service, and on Linux/unix, the instance is a background process. Therefore, in the UN*X environment, there is an automatic start of a Db2iauto command management instance
db2iauto-on <instance_name>  #-off <instance_name>  #关闭自启动.

Db2instance variable

The environment variable specifies the current active instance. All commands are applied to the instance.

Gets the current active instance name with DB2 get instance. This environment variable is similar to the variable Oracle_sid in Oracle, and the variable informixserver in Informix. Primarily used to switch between multiple instances. This variable is very common in Windows, and in Linux/unix, because each instance has a user with the same name, the instance is implicitly connected when using this user login, so it is relatively rare to use this variable in Linux/unix. Configuration instance

Each instance is created with an instance configuration file (db2systm) that controls the security, communication, administration, and allocation of resources for the instance. This configuration file is binary. can only be modified by command.

DB2 get dbm CFG #查看当前实例的配置参数. DB2 update dbm CFG using ... #修改实例配置文件db2 reset dbm cfg #恢复实例配置文件为默认值

"Gradual db2--d B2 system Management, operation and application case" reading essays

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.