2 Repos
Splitting data across multiple PostgreSQL servers to scale storage and processing by routing queries via sharding keys.
Distinct from Shard Routing Logic: Existing candidates focus on routing logic or platform management rather than the core sharding architecture for PostgreSQL.
Explore 2 awesome GitHub repositories matching data & databases · PostgreSQL Database Sharding. Refine with filters or upvote what's useful.
Pgcat ist eine PostgreSQL-Middleware-Lösung für Connection Pooling, Sharding, Load Balancing und Failover-Management. Sie fungiert als Proxy, der die Ressourcennutzung und Skalierbarkeit optimiert, indem er Datenbanksitzungen verwaltet und Abfragen auf mehrere Instanzen verteilt. Das System zeichnet sich durch Traffic-Mirroring aus, bei dem Live-Produktionsabfragen zur Validierung an Testdatenbanken dupliziert werden. Zudem implementiert es einen Sharding-Proxy, um Daten und Abfragen basierend auf Sharding-Keys auf mehrere Datenbankinstanzen zu verteilen. Das Projekt deckt Hochverfügbarkeit durch automatisiertes Failover und Server-Health-Monitoring ab. Es umfasst Traffic-Routing zur Trennung von Lese- und Schreiboperationen, Transport Layer Security für verschlüsselte Kommunikation sowie eine virtuelle administrative Datenbank für das Systemmanagement und den Export von Leistungsmetriken. Der Dienst wird als Docker-Container bereitgestellt, um eine konsistente Bereitstellung in verschiedenen Umgebungen zu gewährleisten.
Splits data across multiple PostgreSQL servers to scale storage and processing by routing queries via sharding keys.
pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable horizontal data distribution by splitting tables and indices across multiple independent servers to scale storage and processing capacity. The project distinguishes itself through online resharding capabilities, using logical replication to move data between shards without application downtime. It supports multiple routing strategies, including hash, list, and range-based query routing, and manages distributed atomic transactions using a two-phase commit process to ensure consistency
Enables horizontal data distribution by splitting tables and indices across multiple independent PostgreSQL servers.