# citusdata/pg_shard

ATTENTION: pg_shard is superseded by Citus, its more powerful replacement

Repository: https://github.com/citusdata/pg_shard
Canonical: https://ross.abutalabs.com/products/pg_shard
Homepage: https://github.com/citusdata/citus
Language: C
License: LGPL-3.0
License Family: copyleft
Last push: 2016-08-03T05:17:18+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4290, "days_push": 3682, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1062, forks 62 (observed 2026-08-28T04:03:26.175083+00:00)

## What it is
pg_shard is a PostgreSQL extension written in C that adds transparent sharding and distributed query execution to PostgreSQL. It is officially superseded by Citus, its more powerful replacement, and has not seen a release since 2016.

## Use cases
- shard a postgres table across multiple nodes
- distribute postgresql queries over a cluster
- scale out postgres reads and writes horizontally
- run distributed sql on postgres without changing the app
- learn how postgres sharding extensions work

## When to choose
- you need a minimal, simple sharding extension for an older postgres setup
- you are studying the predecessor of Citus for research or historical reasons

## When to avoid
- you are starting a new project - use Citus instead
- you need active maintenance, modern postgres support, or new features
- you need full distributed table and query support rather than basic sharding

## Facets
- artifact type: library
- maturity: abandoned
- function: database, database-driver
- domain: databases, microservices
- platform: self-hosted
- tags: postgresql-extension, sharding, distributed-database, superseded, c, linux, macos

## Member repositories
- citusdata/pg_shard (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.175083+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-30T06:56:43.889943+00:00, confidence not recorded.
  - readme: https://github.com/citusdata/pg_shard (fetched 2026-08-28T04:03:26.175083+00:00, sha a0842ea73f3a)
  - homepage: https://github.com/citusdata/citus (fetched 2026-08-29T12:58:11.704650+00:00, sha 599c26577f61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
