Fetching the latest programs, projects, and workspace data.

The Most Advanced Open Source Relational Database
Showing 5 of 58 projects. Click any project card for scope, mentors, and proposal studio.
Mentors: Student: hoangquan456
pg_stat_statements tracks query statistics across a PostgreSQL cluster, but its single-LWLock architecture creates a scalability bottleneck under high unique-query-rate workloads. When pg_stat_statements.max is undersized, deallocation and reset operations hold an exclusive lock while performing expensive operations (O(n log n) sort, full hash table iteration), blocking every backend on the server. My benchmarks on PG 19devel show 90-100% of active backends blocked on the pgss LWLock during deallocation churn. This project proposes a multi-part fix: (1) a pending-entry queue to avoid blocking on new entry insertion, (2) a restructured deallocation critical section that moves the sort outside the exclusive lock, (3) exploration of lock separation between structural changes and counter updates, and (4) an optimized reset path. Deliverables include a repeatable benchmark suite, patches for each optimization formatted for pgsql-hackers review, before/after performance measurements, and documentation.
Mentors: Student: trxvor
This project implements true end-to-end TLS pooling for pgagroal by decoupling the cryptographic state from the physical TCP socket. By implementing a clean-room TLSv1.2+ state machine using OpenSSL Memory BIOs, I will establish a Persistent Security Context that can be parked and resumed across pooled connections. Additional deliverables include a proxy-aware SCRAM-SHA-256-PLUS authentication pipeline, robust X.509 Client Certificate validation, and the decommissioning of legacy MD5 pathways to establish a modern, enterprise-grade security boundary.
Mentors: Student: Salma El-Sayed
PostgreSQL B-tree indexes often suffer from severe bloat after heavy UPDATE and DELETE workloads because the core engine currently cannot consolidate sparse pages. This project introduces safe, concurrent in-core leaf page merging. By utilizing a two-phase protocol, it consolidates two sparsely populated sibling pages into one without blocking concurrent forward or backward scanners. Key deliverables include the core atomic merge logic, a two-stage flag system to safely route concurrent traversals, atomic WAL logging for crash resilience, VACUUM cleanup integration, and analytical visualization tooling built via pageinspect.
Mentors: Student: Shashidhar M
pgmoneta’s current storage layer is fragmented, back-ends do not share full feature parity and a single backup cannot target multiple destinations at once. This project introduces a unified storage interface that every backend implements, enabling easier maintenance and concurrent multi-backend writes. SSH and Azure backends are raised to the same capabilities as S3, while new native drivers for Google Cloud Storage (GCS) and SMB are added. Robustness is ensured by extending the MCTF framework with empirical infrastructure tests for each backend.
Mentors: Student: Somye
This project will add native historical metrics storage to pgexporter, enabling users to analyze trends and long-term performance without relying on external time-series stacks. The solution introduces an optional history module, configurable via the main settings, that can store metrics in SQLite, PostgreSQL, or TimescaleDB. Deliverables include the history storage module, a REST API for querying historical data, console integration for visualizing trends, migration/export tooling, and clear documentation for setup and backend selection.