What is an Instance in DB2

An instance can manage multiple databases.In an instance,each database has a unique name,its own set of catalog tables,configuration files,authorities & privileges.You can create multiple instances on Linux and Unix if db2 is installed as a root user.

 

To Create an Instance in DB2

 ./db2icrt -u <fenceuserid> <instanceuserid>

 

To check the list of instances

 Db2ilist

 

To get the current Instance

 Db2 get instance

 

To Start & Stop the instance

 Db2start

 Db2stop

Comments

Popular posts from this blog

Db2 export command example using file format (del , ixf)

How to fix DB2 Tablespace OFFLINE state issue?

Phases of a load operation