postgres extension citus - ghdrako/doc_snipets GitHub Wiki
- https://github.com/citusdata/citus
- https://www.postgresql.org/about/news/announcing-citus-111-open-source-release-2511/
- https://www.citusdata.com/blog/2023/08/04/understanding-partitioning-and-sharding-in-postgres-and-citus
- https://www.citusdata.com/blog/2022/06/17/citus‑11‑goes‑fully‑open‑source/
Citus Data, part of Microsoft, supports multiple paradigms for PostgreSQL-based sharding offered as open source software
Citus is an extension to PostgreSQL that enables distributed SQL queries across multiple nodes. Creating a PostgreSQL shard infrastructure with Citus involves the following steps:
- Install PostgreSQL on each node
- Install Citus on each node
Citus to komercyjna rozszerzenie postgresa. Zasada polega na agresywnym podziale danych na wiele instancji oraz jednoczesnym wykorzystaniu procesorów i dysków wszystkich tych instancji (sharding). Citus zarządza dystrybucją zapytań, ale nie utrzymywaniem dodatkowych instancji PostgreSQL. Firma Citusdata został przejęty przez Microsoft, który obecnie oferuje go w Azure. W 2022 roku całość kodu przeszła na licencję otwartą. Zysk z wydajności może być imponujący, ale uwaga: niektóre zapytania bardzo źle nadają się do sharding-u.