This topic describes the components of PolarDB-Tools and how to download and install PolarDB-Tools.
Usage guide
PolarDB-Tools is a suite of PolarDB client tools for Alibaba Cloud Linux, Rocky Linux, CentOS Stream, and all versions of CentOS. It includes the following tools:
Tool name | Description | Usage | Differences from native tools |
psql | A client tool for connecting to PostgreSQL. | The usage is the same as that of the native psql tool. For more information, see the psql documentation on the official PostgreSQL website. |
|
pg_dump | A logical backup tool for PostgreSQL used to back up a single database in a cluster. | The usage is the same as that of the native pg_dump tool. For more information, see the pg_dump documentation on the official PostgreSQL website. |
|
pg_restore | A PostgreSQL tool used to restore backup files created by pg_dump and pg_dumpall. | The usage is the same as that of the native pg_restore tool. For more information, see the pg_restore documentation on the official PostgreSQL website. |
|
ecpg | An embedded SQL C preprocessor. | The usage is the same as that of the native ecpg tool. For more information, see the ecpg documentation on the official PostgreSQL website. |
|
Download and installation
Download the PolarDB-Tools installation package. The download links are as follows:
System version
Processor architecture
PolarDB-Tools installation package
AliOS 8
Alibaba Cloud Linux 3
Noteglibc version: 2.32.
X86
ARM
Anolis 8
CentOS 8
Rocky 8
Noteglibc version: 2.28.
X86
ARM
AliOS 7
ALinux 2
Anolis 7
CentOS 7
Noteglibc version: 2.17.
X86
ARM
Run the following command to install the package.
NoteUse the name of the package that you downloaded.
yum install PolarDB-Tools-2.0.14.30.0-20250301091754.alios7.x86_64.rpmAfter the installation is complete, the tools are installed in the
/u01/polardb_pg_tools/bin/directory.