# polardb/PolarDB-for-PostgreSQL

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

Repository: https://github.com/polardb/PolarDB-for-PostgreSQL
Canonical: https://ross.abutalabs.com/products/polardb-for-postgresql
Homepage: https://polardb.github.io/polardb-pg-docs/zh/
Language: C
License: Apache-2.0
License Family: permissive
Topics: database, sql, distributed, htap, postgresql, storage, dbms, cloud-native
Last push: 2026-08-26T00:06:51+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 1927, "days_push": 8, "days_rel": 15, "gap_med": 48, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3194, forks 524 (observed 2026-08-28T04:07:48.288659+00:00)

## What it is
PolarDB for PostgreSQL is a cloud-native, PostgreSQL-compatible database system developed by Alibaba Cloud. It uses a shared-storage architecture that decouples compute from storage, offering flexible scalability, millisecond-level latency, and HTAP (hybrid transactional/analytical processing) capabilities.

## Use cases
- run a postgresql-compatible cloud-native database
- scale database compute and storage independently
- run mixed transactional and analytical workloads (HTAP)
- self-host a distributed postgres-compatible DBMS
- evaluate shared-storage database architecture
- migrate postgres workloads to a cloud-native database

## When to choose
- you need PostgreSQL compatibility with cloud-native scaling
- you want to decouple compute from storage for elastic growth
- you need HTAP workloads on one system
- you want to self-host or study a production-grade distributed database

## When to avoid
- you need a simple single-node PostgreSQL with no operational overhead
- you depend on PostgreSQL extensions not supported by PolarDB
- you want a fully managed service without running infrastructure yourself

## Facets
- artifact type: application
- maturity: active
- function: database, database-driver, caching
- domain: databases, cloud-computing, microservices, big-data
- platform: cloud, self-hosted, cpp, c
- tags: postgresql-compatible, shared-storage, htap, cloud-native, compute-storage-separation, alibaba-cloud, dbms, linux, docker

## Member repositories
- polardb/PolarDB-for-PostgreSQL (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:48.288659+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:44:59.869458+00:00, confidence not recorded.
  - readme: https://github.com/polardb/PolarDB-for-PostgreSQL (fetched 2026-08-28T04:07:48.288659+00:00, sha 6ec9a3e869c2)
  - homepage: https://polardb.github.io/polardb-pg-docs/zh/ (fetched 2026-08-29T09:38:37.402228+00:00, sha 0719361484df)
- Data as of 2026-08-30T08:39:29.467469+00:00.
