You can check various pieces of internal information on the database with the cubrid diagdb utility. Information provided by cubrid diagdb is helpful in diagnosing the current status of the database or figuring out a problem.
cubrid diagdb options database_name
options : [{-d | --dump-type=} type]
Specifying the output range (-d or --dump-type)
The following example shows how to display the information of all files in the testdb database. If any option is not specified, the default value of 1 is used.
cubrid diagdb -d 1 myhost testdb
The utility has 9 types of -d options as follows:
Type |
Description |
---|---|
-1 |
Displays all database information. |
1 |
Displays file table information. |
2 |
Displays file capacity information. |
3 |
Displays heap capacity information. |
4 |
Displays index capacity information. |
5 |
Displays class name information. |
6 |
Displays disk bitmap information. |
7 |
Displays catalog information. |
8 |
Displays log information. |
9 |
Displays hip information. |