7 Repos
Deep dives into the architecture, storage engines, and query processing of database systems.
Distinguishing note: Focuses on the low-level mechanics of how databases work internally.
Explore 7 awesome GitHub repositories matching data & databases · Database Internals. Refine with filters or upvote what's useful.
This project is a curated knowledge repository designed to support the professional development of software engineers. It functions as a comprehensive index of industry best practices, methodologies, and design principles, providing a structured roadmap for those seeking to improve their technical skills, architectural decision-making, and career trajectory. The repository distinguishes itself through a community-driven approach, relying on peer-reviewed contributions to maintain an up-to-date collection of resources. It organizes vast amounts of technical information into a hierarchical taxo
Explains the internal architecture and operational mechanics of database systems.
This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d
Exposes low-level storage engine access for specialized operations.
This project is a curated collection of academic papers, books, and technical resources designed for studying the architecture and implementation of database management systems. It serves as a comprehensive educational guide for engineers and researchers looking to understand the fundamental principles behind modern data storage and retrieval. The repository distinguishes itself by providing structured learning paths across critical database domains, including the design of persistent storage engines, the mechanics of query optimization, and the complexities of distributed transaction managem
Serves as a comprehensive educational guide for studying the fundamental architecture and internal mechanics of database management systems.
pgx ist ein Framework und eine Tool-Suite für die Entwicklung von hochperformanten PostgreSQL-Extensions mit der Programmiersprache Rust. Es bietet einen Low-Level-API-Wrapper für die Interaktion mit internen Datenbank-Memory-Contexts, Logging-Systemen und Core-Execution-APIs, was die Implementierung benutzerdefinierter Datenbankfunktionalität und Logik direkt innerhalb der Datenbank-Engine ermöglicht. Das Projekt zeichnet sich durch ein dediziertes Build-Tool und eine Command Line Interface (CLI) aus, die den gesamten Entwicklungszyklus einer Extension verwalten – von der Umgebungsinitialisierung bis zum Binary-Packaging. Es enthält einen Type-Mapper, der Sprachstrukturen in zusammengesetzte Datenbanktypen übersetzt und automatisch die entsprechenden SQL-Schema-Definitionen generiert. Das Framework deckt ein breites Funktionsspektrum ab, einschließlich User-Defined Function Mapping, Binärprotokoll-Integration und Multi-Version-Target-Support, um Kompatibilität über verschiedene Datenbank-Releases hinweg sicherzustellen. Zudem bietet es spezialisierte Memory-Management-Wrapper, um Pointer zu handhaben und Leaks innerhalb der Datenbankumgebung zu verhindern.
Provides low-level access to internal database APIs and logging systems for advanced extension logic.
Pigsty is a full-stack orchestration suite for deploying, monitoring, and managing high-availability PostgreSQL clusters and their supporting infrastructure. It functions as a cluster management platform and high-availability suite that automates failover, manages virtual IPs, and ensures data consistency through distributed consensus. The project distinguishes itself by providing a comprehensive database infrastructure-as-code framework and a dedicated observability stack. It incorporates a backup and recovery manager supporting point-in-time recovery via S3-compatible object storage, alongs
Inspects database catalogs to retrieve detailed information on schemas, table bloat, and index usage.
MiniOB is an open-source educational relational database kernel designed for learning the internals of database systems. It implements a dual-engine storage architecture combining B+ Tree and LSM-Tree, supports SQL parsing and query execution, and provides transactional processing with multi-version concurrency control. The system communicates with clients using the MySQL wire protocol and includes a vector database extension for storing and querying high-dimensional vectors. The project distinguishes itself through its comprehensive coverage of core database concepts in a single, learnable c
Shares internal technical notes and paper reviews to help developers understand database internals.
Dieses Projekt ist eine detaillierte Analyse und Untersuchung des Nginx-Quellcodes mit Fokus auf Hochleistungs-Serverarchitektur und Funktionsaufrufflüsse. Es dient als technische Untersuchung der internen C-Implementierung, die für den Aufbau von Netzwerksystemen mit hoher Nebenläufigkeit verwendet wird. Das Projekt dekonstruiert die internen Mechanismen des Webservers, einschließlich des Multi-Prozess-Master-Worker-Modells, ereignisgesteuerter asynchroner I/O und nicht-blockierender Socket-Kommunikation. Es analysiert den phasenbasierten Lebenszyklus der Anforderungsverarbeitung, von der URI-Übereinstimmung und Header-Analyse bis zur finalen Inhaltsgenerierung. Die Studie deckt ein breites Spektrum an Architekturmustern ab, einschließlich Slab-basiertem Memory-Pooling, Shared-Memory-Inter-Prozess-Kommunikation und Upstream-basiertem Load-Balancing. Zudem untersucht sie die Implementierung von Reverse-Proxy-Mechanismen, Caching-Strategien und Sicherheitsmodulen für den Ressourcenschutz.
Examines the internal operations and source code of key-value storage and NoSQL engine mechanisms.