All Products
Search
Document Center

PolarDB:PolarDB-Tools

Last Updated:Dec 20, 2025

This topic describes the components of PolarDB-Tools and how to download and install PolarDB-Tools.

Usage guide

PolarDB-Tools is a set of PolarDB client tools for Alibaba Cloud Linux, Rocky Linux, CentOS Stream, and all versions of CentOS. It includes the following tools:

Note
  • If you only need to run simple SQL statements to manage a PolarDB cluster, you can use the community version of psql. Note that the community version of psql does not support creating stored procedures. If you use it to create a stored procedure, the SQL string might be truncated.

  • When you use clients such as psql, pg_dump, and pg_restore, we recommend that you download the latest client version. New versions are backward compatible.

Download and install

  1. Download the PolarDB-Tools installation package. The download links are as follows:

    PolarDB database engine

    System version

    Processor architecture

    PolarDB-Tools installation package

    PostgreSQL 17

    • AliOS 8

    • Alibaba Cloud Linux 3

    Note

    glibc version: 2.32.

    x86

    PolarDB-Tools-2.0.17.4.0-20250924100614.al8.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.17.4.0-20250924100614.al8.aarch64.rpm

    • AliOS 7

    • Alibaba Cloud Linux 2

    • Anolis 7

    • CentOS 7

    Note

    glibc version: 2.17.

    x86

    PolarDB-Tools-2.0.17.4.0-20250924100614.alios7.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.17.4.0-20250924100614.alios7.aarch64.rpm

    PostgreSQL 16

    • AliOS 8

    • Alibaba Cloud Linux 3

    Note

    glibc version: 2.32.

    x86

    PolarDB-Tools-2.0.16.8.0-20250827095426.al8.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.16.8.0-20250827095426.al8.aarch64.rpm

    • AliOS 7

    • ALinux 2

    • Anolis 7

    • CentOS 7

    Note

    glibc version: 2.17.

    x86

    PolarDB-Tools-2.0.16.8.0-20250827095426.alios7.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.16.8.0-20250827095426.alios7.aarch64.rpm

    PostgreSQL 15

    • AliOS 8

    • Alibaba Cloud Linux 3

    Note

    glibc version: 2.32.

    x86

    PolarDB-Tools-2.0.15.6.0-20250904171715.al8.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.15.6.0-20250904171715.al8.aarch64.rpm

    • AliOS 7

    • Alibaba Cloud Linux 2

    • Anolis 7

    • CentOS 7

    Note

    glibc version: 2.17.

    x86

    PolarDB-Tools-2.0.15.6.0-20250904171715.alios7.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.15.6.0-20250904171715.alios7.aarch64.rpm

    PostgreSQL 14

    • AliOS 8

    • Alibaba Cloud Linux 3

    Note

    glibc version: 2.32.

    x86

    PolarDB-Tools-2.0.14.33.0-20250523102322.al8.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.14.33.0-20250523102322.al8.aarch64.rpm

    • Anolis 8

    • CentOS 8

    • Rocky 8

    Note

    glibc version: 2.28.

    x86

    PolarDB-Tools-2.0.14.31.0-20250516002749.el8.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.14.31.0-20250516002749.el8.aarch64.rpm

    • AliOS 7

    • Alibaba Cloud Linux 2

    • Anolis 7

    • CentOS 7

    Note

    glibc version: 2.17.

    x86

    PolarDB-Tools-2.0.14.33.0-20250523102322.alios7.x86_64.rpm

    ARM

    PolarDB-Tools-2.0.14.33.0-20250523102322.alios7.aarch64.rpm

  2. Run the following command to install the package.

    Note

    Replace the package name with the name of the package you downloaded.

    yum install PolarDB-Tools-2.0.14.30.0-20250301091754.alios7.x86_64.rpm

    After the installation is complete, the tools are installed in the /u01/polardb_pg_tools/bin/ directory.