B.2 HADB clients for Linux
- Organization of this subsection
(1) Structure of the client directory (at installation)
The table below describes the structure of the client directory (at installation) when a Linux edition of HADB client is installed.
In the table, $INSTCLTDIR indicates the HADB client directory (at installation). The HADB client directory (at installation) is the directory into which the adbinstall command installs HADB client.
No. |
Directory and file names |
Description |
---|---|---|
1 |
$INSTCLTDIR/client |
Directory for storing the commands and libraries used on the HADB client |
2 |
$INSTCLTDIR/client/bin |
Directory for storing commands used with the HADB client |
3 |
$INSTCLTDIR/client/bin/adbsql |
SQL execution command |
4 |
$INSTCLTDIR/client/lib |
Directory for storing libraries used with the HADB client |
5 |
$INSTCLTDIR/client/lib/libadbclt.so |
Client library |
6 |
$INSTCLTDIR/client/lib/adbjdbc8.jar |
JDBC driver (JRE 8) |
7 |
$INSTCLTDIR/conf |
Directory for storing client definitions |
8 |
$INSTCLTDIR/include |
Directory for storing user-provided header files |
9 |
$INSTCLTDIR/include/adbcnv.h |
User-provided header files |
10 |
$INSTCLTDIR/include/adbcli.h |
|
11 |
$INSTCLTDIR/include/adbtypes.h |
|
12 |
$INSTCLTDIR/include/adbodb.h |
|
13 |
$INSTCLTDIR/lib |
Directory for storing libraries |
14 |
$INSTCLTDIR/lib/adbmsg.cat |
Message catalog file |
15 |
$INSTCLTDIR/lib/sysdef |
Directory for storing definition analysis information files |
16 |
$INSTCLTDIR/lib/sysdef/adbclt.def |
Definition analysis information file |
17 |
$INSTCLTDIR/sample |
Directory for storing a sample application program and model definition files |
18 |
$INSTCLTDIR/sample/cli_sample1.c |
Sample application program |
19 |
$INSTCLTDIR/sample/Sample1.java |
Sample application program (for JDBC) |
20 |
$INSTCLTDIR/sample/odbc_sample1.c |
Sample application program (for ODBC) |
21 |
$INSTCLTDIR/sample/conf |
Directory for storing model definition files |
22 |
$INSTCLTDIR/sample/conf/client.def |
Model client definition file |
23 |
$INSTCLTDIR/spool |
Directory for storing the HADB client's execution results logs |
- Note
-
The directories and files listed in the preceding table are created when an HADB client is installed. The directories and files listed in the preceding table are deleted when the HADB client is uninstalled.
(2) Structure of the client directory (during operation)
The following table describes the structure of the client directory (during operation).
No. |
Directory and file names |
Description |
Time the item is created |
Time the item is deleted |
---|---|---|---|---|
1 |
$ADBCLTDIR/client |
Directory for storing the commands and libraries used on the HADB client |
When the HADB client is installed |
When the HADB client is uninstalled |
2 |
$ADBCLTDIR/client/bin |
Directory for storing commands used with the HADB client |
||
3 |
$ADBCLTDIR/client/bin/adbsql |
SQL execution command |
||
4 |
$ADBCLTDIR/client/lib |
Directory for storing libraries used with the HADB client |
||
5 |
$ADBCLTDIR/client/lib/libadbclt.so |
Client library |
||
6 |
$ADBCLTDIR/client/lib/adbjdbc8.jar |
JDBC driver (JRE 8) |
||
7 |
$ADBCLTDIR/conf |
Directory for storing client definitions |
||
8 |
$ADBCLTDIR/include |
Directory for storing user-provided header files |
||
9 |
$ADBCLTDIR/include/adbcnv.h |
User-provided header files |
||
10 |
$ADBCLTDIR/include/adbcli.h |
|||
11 |
$ADBCLTDIR/include/adbtypes.h |
|||
12 |
$ADBCLTDIR/include/adbodb.h |
|||
13 |
$ADBCLTDIR/lib |
Directory for storing libraries |
||
14 |
$ADBCLTDIR/lib/adbmsg.cat |
Message catalog file |
||
15 |
$ADBCLTDIR/lib/sysdef |
Directory for storing definition analysis information files |
||
16 |
$ADBCLTDIR/lib/sysdef/adbclt.def |
Definition analysis information file |
||
17 |
$ADBCLTDIR/sample |
Directory for storing a sample application program and model definition files |
||
18 |
$ADBCLTDIR/sample/cli_sample1.c |
Sample application program |
||
19 |
$ADBCLTDIR/sample/Sample1.java |
Sample application program (for JDBC) |
||
20 |
$ADBCLTDIR/sample/odbc_sample1.c |
Sample application program (for ODBC) |
||
21 |
$ADBCLTDIR/sample/conf |
Directory for storing model definition files |
||
22 |
$ADBCLTDIR/sample/conf/client.def |
Model client definition file |
||
23 |
$ADBCLTDIR/spool |
Directory for storing the HADB client's execution results logs |
||
24 |
$ADBCLTDIR/spool/adbmessagecltXX.log |
Client message log file# |
When the HADB client connects to the HADB server for the first time after the HADB client is installed |
|
25 |
$ADBCLTDIR/spool/.adbmessageclt |
Client message log file number management file |
- #
-
A maximum of four client message log files are created. The maximum size of each file is specified by using the ADBMSGLOGSIZE environment variable.