All Products
Search
Document Center

PolarDB:Clients and drivers

Last Updated:Jan 17, 2025

This topic describes the clients and drivers that you can use to connect to PolarDB for PostgreSQL (Compatible with Oracle) clusters.

Clients

You can connect to a PolarDB for PostgreSQL (Compatible with Oracle) cluster in the PolarDB console and from a client. For more information, see Connect to a PolarDB for PostgreSQL (Compatible with Oracle) cluster. The following items describe the clients that you can use to connect to a PolarDB for PostgreSQL (Compatible with Oracle) cluster:

  • PolarDB-Tools: a suite of client tools specifically designed for connecting to PolarDB. The tools are compatible with all versions of Alibaba Cloud Linux, Rocky Linux, CentOS Stream, and CentOS.

  • PolarPlus: an Oracle-compatible client tool specifically designed for connecting to PolarDB.

Drivers

  • JDBC: a Java API that you can use to connect a Java application to a database. The Java Database Connectivity (JDBC) driver of PolarDB for PostgreSQL (Compatible with Oracle) is developed based on the JDBC driver of open source PostgreSQL and uses the PostgreSQL native network protocol for communication. This allows Java applications to connect to databases by using standard, database-independent Java code.

  • OCI: a native C language interface that you can use to connect to a PolarDB for PostgreSQL (Compatible with Oracle) cluster. You can use Oracle Call Interface (OCI) to build other language-specific interfaces, including PolarDB JDBC, PolarDB .NET, and PolarDB Open Database Connectivity (ODBC). OCI allows you to execute query statements and invoke SQL functions for PolarDB for PostgreSQL (Compatible with Oracle) clusters.

  • ODBC: a driver that you can use to connect a UNIX or Windows application to a PolarDB for PostgreSQL (Compatible with Oracle) cluster.

  • .NET: PolarDB .NET is a driver that allows you to use applications in programming languages such as C#, Visual Basic, and F# to connect to PolarDB clusters. The PolarDB .NET driver is compatible with Entity Framework Core and Entity Framework 6.x. You can use the PolarDB .NET driver together with Entity Framework to develop applications in an efficient manner.

  • PHP: a driver that you can use to connect a PHP application to a PolarDB for PostgreSQL (Compatible with Oracle) cluster.

  • PolarDBO Flink CDC: a Flink connector tailored for PolarDB for PostgreSQL (Compatible with Oracle) clusters. The connector is adapted from the community Postgres Change Data Capture (CDC) solution with minimal code modifications.

  • Debezium PolarDBO connector: a Debezium connector tailored for PolarDB for PostgreSQL (Compatible with Oracle) clusters. The connector is adapted from the community Debezium PostgreSQL connector solution with minimal code modifications.