3.4.1 Creating and checking the DB directory
In this section, you create the DB directory in which DB areas are stored. A DB area is a logical area for storing tables. A DB area is created when a database is initialized and stored in the DB directory. You create a DB area by following the procedure in 3.6 Creating DB areas (initializing the database).
The DB directory to be created here can have any name. The following directory name is used in this manual:
-
Absolute path of the DB directory to be created: /home/adbmanager/db
The DB directory is created by the HADB administrator (adbmanager). If you are logged on as a superuser, log off once and log on again as the HADB administrator (adbmanager).
- Organization of this subsection
(1) Executing the DB directory creation command
As the HADB administrator (adbmanager), enter the following operating system command and press Enter:
mkdir /home/adbmanager/db
(2) Confirming the created DB directory
To verify that the DB directory was created by the mkdir command, enter the following operating system command and press Enter:
ls -d /home/adbmanager/db
By specifying the -d option in the ls command, you can verify that the specified directory was created. The following shows an example of the execution result.
- ■ Execution result example
-
/home/adbmanager/db
Once you have confirmed that the DB directory exists, creation of the DB directory is complete.