Directory structure for your installed Db2 database product (Windows)
When you install Db2 database products, you can specify a Db2 database product installation path or else use the default path. After installation, Db2 objects are created in these directories.
Follow these steps to verify that the Db2 product was installed
on Windows.
- From a command prompt, type the regedit command. The Registry Editor window opens.
- Expand HKEY_LOCAL_MACHINE > Software > IBM > DB2
The following table shows the location of Db2 objects after a
default installation.
Db2 Object | Location |
---|---|
DAS information |
|
Database configuration file SQLDBCON | C:\DB2\NODE0000\SQL00001 |
Database directory Contains files needed for:
|
C:\DB2\NODE0000\SQL00001 |
Database manager configuration file db2systm |
|
Db2 commands | C:\Program Files\IBM\SQLLIB\BIN |
Db2 error messages file db2diag log files |
|
Db2 installation path | C:\Program Files\IBM\SQLLIB |
Directory for event monitor data | C:\DB2\NODE0000\SQL00001\DB2EVENT |
Directory for transaction log files | C:\DB2\NODE0000\SQL00001\LOGSTREAM0000 |
Installation log file |
|
Instance |
|
Instance information |
|
Node directory |
|
Local database directory for the instance called Db2 | C:\DB2\NODE0000\SQLDBDIR |
Partitioned database environment file db2nodes.cfg |
|
System database directory |
|
The following figures illustrate an example of the Db2 directory structure after installation on Windows operating systems that use the default options. These figures have two instances, Db2 and MYINST. The directories DB2 and MYINST under the local disk C: appears only if a database was created under the appropriate instance.
Directory structure - instance information
- Contains the databases that are created under the C: drive for the instance named Db2.
- Contains the information for the DAS.
- Contains the instance information for the instance named Db2.
- Contains the instance information for the instance named MYINST.
- Contains the databases that are created under the C: drive for the instance named MYINST.
Directory structure - directory information
- System database directory
- Node directory
- The db2diag log files Db2 error messages.
- The db2nodes.cfg file is used in a partitioned database environment.
- Database manager configuration file
Directory structure - local directory information
- Local database directory for the instance Db2
- Local database directory for the instance MYINST
- Database configuration file