PolarDB-for-PostgreSQL

A cloud-native database based on PostgreSQL developed by Alibaba Cloud.

What is PolarDB-for-PostgreSQL?

A cloud-native database based on PostgreSQL developed by Alibaba Cloud.

Overview of PolarDB-for-PostgreSQL

What it is

PolarDB for PostgreSQL is a cloud-native database service developed by Alibaba Cloud. It is 100% compatible with PostgreSQL and uses a shared-storage architecture that decouples computing from storage. The project is open source under the Apache License 2.0 and is based on PostgreSQL 17 in its stable branch (POLARDB_17_STABLE).

Key features

  • Flexible scalability: compute and storage clusters can be scaled independently without interrupting service.
  • Millisecond-level latency: WAL logs are stored in shared storage; only metadata is replicated from the read-write node to read-only nodes. The LogIndex technology supports lazy and parallel replay to minimize replication latency.
  • HTAP (Hybrid Transactional/Analytical Processing): uses a shared-storage-based MPP architecture to accelerate OLAP queries in OLTP scenarios. Supports standalone execution for high-concurrency OLTP and distributed execution for large OLAP queries.
  • Multi-model database capabilities: supports spatio-temporal, GIS, image, vector, and graph data types.

Use cases

PolarDB for PostgreSQL is suitable for scenarios requiring flexible scaling of compute or storage resources independently, applications that need low-latency replication between read-write and read-only nodes, and workloads that combine OLTP and OLAP (HTAP). It can also be used for processing diverse data types such as spatio-temporal, GIS, image, vector, and graph data.

Getting started

If Docker is installed, pull the instance image and run the container:bashdocker pull polardb/polardb_pg_local_instance:17docker run -it --cap-add=SYS_PTRACE --privileged=true --rm polardb/polardb_pg_local_instance:17 psqlFor more advanced deployment, refer to the repository README.

License and pricing

PolarDB for PostgreSQL is released under the Apache License (Version 2.0). It is based on PostgreSQL, which is released under the PostgreSQL License. The project is open source and free.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/polardbpolardb-for-postgresql.svg)](https://yunodb.com/tools/polardbpolardb-for-postgresql?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/polardbpolardb-for-postgresql?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/polardbpolardb-for-postgresql.svg" alt="Featured on YunoDB" height="20"></a>