Skip to content

citus

PostgreSQL extension that shards tables across nodes for multi-tenant and analytics

Copyleft (OSI) · AGPL-3.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

79

Health

Thriving

Overview

Stars

12,868

Last commit

today

Nov 2026

Repository age

10 years

since Feb 2016

Latest version

v14.3.0

Oct 2026

Contributors

–

20 active in 90 days

Releases

9

last 12 months

Language

C

Citus is an extension that turns PostgreSQL into a distributed database. It is written in C and licensed under AGPL-3.0. You keep using regular Postgres tools and extensions while your data spreads over a cluster.

Distributed tables are sharded across nodes, which pools their CPU, memory, storage and I/O. Reference tables are replicated to every node, so joins and foreign keys from distributed tables stay local. A distributed query engine routes and parallelizes SELECT and DML statements. Columnar storage compresses data and speeds up scans. You can run queries from any node, and you can add workers and rebalance shards as data grows.

Citus suits multi-tenant apps, high-throughput transactions, real-time analytics, and time series or IoT data. It also supports schema-based sharding and high-availability setups. A Homebrew formula exists for macOS, and the project runs on Linux. A hosted plan is also available, and you can self-host.

Who it's for

SaaS teams running multi-tenant apps on Postgres

Sharding by tenant lets one database keep growing past a single node.

Skip if: Your data comfortably fits on one Postgres server.

Analytics teams working with time series or IoT data

Parallel queries and columnar storage speed up scans over large tables.

Skip if: You need a purpose-built warehouse outside the Postgres ecosystem.

Postgres administrators hitting CPU, memory or I/O limits

You scale out while keeping Postgres features such as joins, constraints and extensions.

Skip if: You want to avoid running and rebalancing a cluster.

The problem it solves

A single PostgreSQL node eventually runs out of CPU, memory or I/O, and queries slow down. Moving to a different database means giving up Postgres features. Citus lets you scale out while staying on Postgres.

Strengths

  • Distributed and reference tables, plus columnar storage
  • Works as an extension, so existing Postgres tools still apply
  • Query from any node to use cluster capacity
  • Nine releases in the last year and 19 recent contributors
  • Can run on a single node and grow later

Trade-offs

  • AGPL-3.0 license has copyleft obligations
  • Cluster setup and shard rebalancing add operational work
  • Tied to supported PostgreSQL versions

Self-host citus

Self-hostable
Yes
Hosted plan
Available · pricing

Frequently asked questions

Is Citus free?

Yes. The database is open source under AGPL-3.0, and you can self-host it.

Is it a separate database?

No. It is an extension to PostgreSQL.

Which platforms does it run on?

Linux and macOS, with a Homebrew formula available.

Is there a hosted option?

Yes, a hosted plan exists alongside the self-hosted version.

Similar tools in Relational databases

Yugabyte

Relational databases

Distributed PostgreSQL-compatible SQL database for multi-region, fault-tolerant apps

11k 1.4k today Thriving Apache-2.0 + open core

Replaces Amazon AuroraGoogle Cloud Spanner

pgAdmin 4

Relational databases

Web-based and desktop admin tool for managing PostgreSQL databases

4k 929 today Active PostgreSQL

Adminer

Relational databases

Single-file PHP database manager for MySQL, PostgreSQL, SQLite and more

8k 1.2k 3 days ago Thriving Apache-2.0 OR GPL-2.0

tigerbeetle

Relational databases

Database built for financial transactions, with debit and credit as core primitives

17k 940 13 days ago Thriving Apache-2.0

Neon Postgres

Relational databases

Apache-licensed Postgres platform for teams wanting a self-hostable managed-style database

23k 1.1k 3 months ago Dormant Apache-2.0

OceanBase

Relational databases

Distributed MySQL-compatible database for teams needing scale and high availability

10k 1.9k 12 days ago Thriving Apache-2.0