citusdata/citus

Distributed PostgreSQL as an extension

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 9 minutes ago
Added to GitGenius on September 4th, 2026
Created on February 1st, 2016
Open Issues & Pull Requests: 1,070 (+0)
GitHub issues: Enabled
Number of forks: 793
Total Stargazers: 12,752 (+0)
Total Subscribers: 214 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.6 days
Mean response time: 75.3 days
90th percentile: 135.2 days
Tracked items: 475

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 88% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "pg17_support" is answered fastest, typically in under an hour, while "bug" waits about 5 days. Only 6% of issues opened in the past year have been closed. Three people close 68% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 133
New in 7 days: 2
Closed in 7 days: 3
Avg open age: 789 days
Stale 30+ days: 110
Stale 90+ days: 103

Recent activity

Opened in 7 days: 2
Closed in 7 days: 3
Comments in 7 days: 9
Events in 7 days: 12

Top labels

  • bug (70)
  • pg18_work_item (67)
  • pg18_support (48)
  • regression tests (39)
  • Support (29)
  • pg19_support (28)
  • nightly-cassert (26)
  • pg17_support (17)

Detailed Description

Citus is a PostgreSQL extension that transforms Postgres into a distributed database capable of scaling across a cluster of nodes.

Citus solves the scalability limits of single-node PostgreSQL by distributing data and queries across multiple nodes. It works by sharding distributed tables across a cluster to combine CPU, memory, storage, and I/O capacity, while maintaining reference tables replicated to all nodes for efficient joins and foreign keys. A distributed query engine routes and parallelizes operations across the cluster, and columnar storage provides compression and fast scans. The tool allows queries to be issued from any node in the cluster, enabling full utilization of the cluster's capacity.

Citus suits applications experiencing growth beyond a single PostgreSQL instance, particularly multi-tenant systems, real-time analytics on time series or IoT data, and workloads requiring high transaction throughput. It is especially valuable when data size and volume increase over time, causing problems like high CPU utilization, I/O wait times, out-of-memory errors, or autovacuum bloat on a single node. Because Citus is a PostgreSQL extension rather than a separate database system, it works with existing PostgreSQL tools and versions, allowing incremental adoption starting from a single node and scaling to larger clusters by adding worker nodes and rebalancing shards.

The project maintains active development with regular updates and new releases. Documentation is comprehensive, including architectural details and a peer-reviewed academic paper describing the system's design and approach. The tool integrates deeply with the PostgreSQL ecosystem, supporting schema-based sharding and high availability configurations alongside standard PostgreSQL features and extensions.