Black Friday Deals For Authors Are On Now!

Leanpub Header

Skip to main content

Filters

Category: "Databases"

Databases

New to Databases and SQL? Read the Databases and SQL article

  1. Build Your Own Database in Go From Scratch
    Build Your Own Database in Go From Scratch
    From B+tree to SQL in 3000 lines
    build-your-own.org

    Learn databases from the bottom up by coding your own, in small steps, and with simple Go code (language agnostic).Atomicity & durability. A DB is more than files!Persist data with fsync.Crash recovery.KV store based on B-tree.Disk-based data structures.Space management with a free list.Relational DB on top of KV.Learn how tables and indexes are related to B-trees.SQL-like query language; parser & interpreter.Concurrent transactions with copy-on-write data structures.

  2. Build a SQL Database Engine in C++
    Build a SQL Database Engine in C++
    Through Challenges --- Storage, Query Processing, Joins, Indexes, Vectorized Execution, and Crash Recovery (Complete, Units 1-14)
    Hatem M.

    Build a working SQL database engine in C++20 -- from raw pages to joins,indexes, vectorized execution and crash recovery -- one compliable, measuredchallenge at a time. Every claim is a benchmark you run yourself; every unitends with a real bug, caught and fixed. The finale holds the engine toPostgreSQL and SQLite. Complete: all 14 units. Nothing asserted.

  3. Moderne Datenzugriffslösungen mit Entity Framework Core 11.0
    Moderne Datenzugriffslösungen mit Entity Framework Core 11.0
    Datenbankprogrammierung / Objekt-Relationales Mapping mit C# in .NET 11.0
    Dr. Holger Schwichtenberg

    Dies ist die top-aktuelle Version 15.0 dieses Fachbuchs vom 07.11.2026 auf dem Stand Entity Framework Core 11.0.0.

  4. Practical Python Backend Programming, Second Edition
    Practical Python Backend Programming, Second Edition
    Hands-on backend development with FastAPI, MongoDB, Docker, Kubernetes, and message brokers using Python 3.14
    GitforGits | Asian Publishing House

    It's a practical book. We're going to build something real together, a University API, and we're going to grow it chapter by chapter until it looks like a system you'd be proud to deploy. We'll start with a few endpoints, give it databases, make it concurrent, lock it down with authentication, wrap it in containers, and finally split it into cooperating services that talk over the network.

  5. High-Performance Java Persistence
    High-Performance Java Persistence
    Get the most out of your persistence layer
    Vlad Mihalcea

    A high-performance data access layer must resonate with the underlying database system. Knowing the inner workings of a relational database and the data access frameworks in use can make the difference between a high-performance enterprise application and one that barely crawls.

  6. Deep dive into a SQL query
    Deep dive into a SQL query
    A Journey Through PostgreSQL's Query Processing
    Jesús Espino

    What really happens when PostgreSQL executes your query? Follow a SQL statement through every stage of PostgreSQL's internal pipeline—from raw text to returned results—and gain the deep understanding that transforms how you write, tune, and debug database applications.

  7. Metagraph for AI Agents
    Metagraph for AI Agents
    Volodymyr Pavlyshyn

    Metagraphs for Agentic AI: Beyond Triples, Beyond HypergraphsFrom Knowledge Graphs to Knowledge ArchitecturesThe triple is not enough.Every AI engineer building agent memory hits the same wall. You model a meeting as a knowledge graph triple — and immediately lose the fact that five people were in the room, a decision was made, and that decision caused three downstream actions. You reify. You flatten. You create workarounds. And your "knowledge graph" becomes a tangle of auxiliary nodes that machines can traverse but no human can reason about.This book shows you the way out. What You'll Learn Metagraphs are graph structures where edges connect sets of nodes to sets of nodes — and where edges themselves can be referenced as first-class nodes. They are the missing data structure for AI agents that need to remember, reason, and coordinate like humans do.This book takes you on a complete journey:Hypergraphs first. You'll learn what they are, why they matter, and where they break down. You'll implement them three ways — in SQL, in LadybugDB (Cypher), and in TypeDB — so you understand the tradeoffs viscerally, not just theoretically.Then metagraphs. You'll see how metagraphs solve the fundamental hypergraph problem (edges that can't be nodes), explore RDF named graphs as a lightweight metagraph, and implement full metagraphs in the same three database paradigms with production-ready, commented code.Then the big ideas. Semantic Spacetime. Holonic systems. Human cognitive architecture mapped to graph structures. Multi-agent coordination. Promise Theory for autonomous AI networks. This is where metagraphs stop being a data structure and become an architecture for intelligence. Who This Book Is For You're a software engineer, AI researcher, or knowledge graph practitioner who builds real systems. You've used Neo4j or RDF stores. You've built RAG pipelines. You've felt the limits. You want to know what comes next.No PhD required. Every concept comes with working code in SQL, Cypher, TypeQL, SPARQL, and Python. What Makes This Book Different This isn't a theoretical monograph. It's the distillation of two and a half years of research, 130+ published articles, and hands-on implementation at the intersection of knowledge graphs and agentic AI.Every chapter bridges theory and practice. You'll read about Basu and Blanning's formal metagraph definition — and then build the schema in PostgreSQL. You'll learn Mark Burgess's Promise Theory — and then model a multi-agent coordination protocol as a six-layer promise graph. You'll understand why labeled property graphs are secretly metagraphs — and what that means for your Neo4j deployment today. 18 Chapters. Three Parts. One Argument. Part I — The Hypergraph Foundation (7 chapters): From the knowledge representation crisis through hypergraph theory to three complete database implementations.Part II — The Metagraph Solution (5 chapters): Metagraphs as the answer, RDF named graphs as a bridge, and three full metagraph implementations with detailed commentary.Part III — Theory Meets Practice (6 chapters): Semantic Spacetime, labeled property graphs, AI memory and human cognition, holonic systems, agent-to-agent interaction, and Promise Graphs for network-of-networks coordination. The Core Thesis If you want AI agents that reason like humans, you need knowledge structures that capture how humans actually organize knowledge — not as flat collections of facts, but as nested, hierarchical, context-rich, temporally-aware structures where relationships themselves carry meaning and can be the subject of further reasoning.Metagraphs are that structure. This book shows you why, and how to build with them.

  8. Build Your Own Redis with C/C++
    Build Your Own Redis with C/C++
    Network programming, data structures, and low-level C.
    build-your-own.org

    Build real-world software by coding a Redis server from scratch.Network programming. The next level of programming is programming for multiple machines. Think HTTP servers, RPCs, databases, distributed systems.Data structures. Redis is the best example of applying data structures to real-world problems. Why stop at theoretical, textbook-level knowledge when you can learn from production software?Low-level C. C was, is, and will be widely used for systems programming and infrastructure software. It’s a gateway to many low-level projects.From scratch. A quote from Richard Feynman: “What I cannot create, I do not understand”. You should test your learning with real-world projects!

  9. T-SQL for Beginners
    T-SQL for Beginners
    Learn SQL Server Step by Step with Practical Examples, Exercises and Three Real-World Projects
    Stefan Stratulat

    Learn SQL Server by doing real work, not by memorizing syntax. From your first SELECT to window functions, stored procedures and execution plans, with real results to check your own against.

  10. Code a database in 45 steps (Go)
    Code a database in 45 steps (Go)
    a series of test-driven small coding puzzles
    Lowram Eepson

    This series of test-driven small coding puzzles lets you code a database from scratch (no dependencies).We'll cover KV storage engines, LSM-Tree indexes, SQL, concurrent transactions, ACID, etc.

  11. .NET 11.0 Update
    .NET 11.0 Update
    Die Neuerungen in .NET 11.0 gegenüber .NET 10.0 inklusive C# 15.0, ASP.NET Core 11.0, Entity Framework Core 11.0, WPF 11.0, Windows Forms 11.0 und .NET MAUI 11.0
    Dr. Holger Schwichtenberg

    Dieses kompakte .NET 11.0-Buch ist DAS Umsteigerbuch für Entwicklerinnen und Entwickler, die bisher mit .NET 10.0 gearbeitet haben. Es zeigt systematisch und anhand von vielen praktischen Programmcodebeispielen die Neuerungen in .NET 11.0 in folgenden Bereichen auf: - Neuerungen an den .NET 11.0 SDK-Werkzeugen- Neuerungen in C# 15.0- Neuerungen in der .NET 11.0-Klassenbibliothek- Neuerungen in System.Text.Json 11.0- Neuerungen in Entity Framework Core 11.0- Neuerungen in Blazor 11.0- Neuerungen in ASP.NET Core 11.0- Neuerungen für WPF 11.0- Neuerungen für Windows Forms 11.0- Neuerungen in .NET MAUI 11.0 Dieses Buch ist kein Einsteigerbuch für .NET-Neueinsteiger. Es richtet sich ausschließlich an Umsteiger(innen) von .NET 10.0.

  12. DuckDB and the Rise of Embedded Analytical Databases
    DuckDB and the Rise of Embedded Analytical Databases
    A Comprehensive Guide to High-Performance Local Analytics
    Steve Publications

    DuckDB is changing how developers think about analytics. This practical guide takes you from its architecture and SQL capabilities to performance tuning, cloud storage and production deployments. Learn how DuckDB works, where it shines and how to build fast, flexible analytical systems around it.

  13. Oracle Cloud Infrastructure
    Oracle Cloud Infrastructure
    A Practical Reference for Architects, Administrators, Developers, DevOps Engineers, and Certification Candidates
    Steve Publications

    Oracle Cloud Infrastructure is powering more enterprise workloads than ever, and this practical guide helps you get the most from it. Covering core infrastructure, networking, security, automation, AI, analytics and disaster recovery, it gives architects, administrators, developers and DevOps professionals the skills to design, deploy and manage solutions on OCI.

  14. Building a Data Driven Chatbot (RAG) using Python 3 LangChain, OpenAI and MySQL 8.x
    Building a Data Driven Chatbot (RAG) using Python 3 LangChain, OpenAI and MySQL 8.x
    Using GenAI LangChain to Solve Real World Use Cases
    Binit Datta

    Enterprise have massive amount of data locked in their databases. This Book will show one of the most popular ways to unlock them and use them in modern GenAI ChatBots.

  15. Lift the Elephant
    Lift the Elephant
    Scaling PostgreSQL Beyond Query Optimization
    Alex Yarotsky

    When your database outgrows simple optimizations, it's time to think bigger. Lift the Elephant goes beyond query tuning to reveal actionable strategies for scaling PostgreSQL, from partitioning to high-availability architectures. Built on lessons from scaling Hubstaff, this is your playbook for navigating the challenges of database growth.