GaussDB(DWS) provides client tool packages that match the cluster versions. You can download the desired client tool package on the GaussDB(DWS) management console.
The client tool package contains the following:
gsql is a command line client running on the Linux operating system. It is used to connect to the database in a data warehouse cluster.
The script for testing sample data is used when you start an example.
Gauss Data Service (GDS) is a data service tool. You can use the GDS tool to import a data file in a common file system to the GaussDB(DWS) database. The GDS tool package must be installed on the server where the data source file is located. The server where the data source file is located is called a data server or GDS server.
Choose a corresponding client version according to the cluster version and operating system to which the client is to be installed.
If clusters of different versions are available, you will download the gsql tool matching the earliest cluster version after clicking Download. If there is no cluster, you will download the gsql tool of the earliest version after clicking Download. GaussDB(DWS) clusters are compatible with earlier versions of gsql tools.
Table 1 lists the files and folders in the downloaded tool package.
File or Folder |
Description |
---|---|
bin |
This folder contains the executable files of gsql on Linux, including the tools gsql, GDS, gs_dump, gs_dumpall, and gs_restore. For details, see "Server Tool". |
gds |
This folder contains the files of the GDS data service tool. The GDS tool is used for parallel data loading and can import the data files stored in a common file system to a GaussDB(DWS) database. |
lib |
This folder contains the lib library required for executing the gsql client. |
sample |
This folder contains the following directories and files:
|
gsql_env.sh |
Script file for configuring environment variables before running the gsql client. |