DatalevinDatalevin

Datalevin: The Definitive Guide

This online guide includes the Datalevin-focused chapters, the afterword, and all seven appendices. The full book also includes five exclusive AI memory chapters. Learn about the full book.

  1. Preface

Part I - Foundations: A Fact-First Database

  1. 1.Why Datalevin
  2. 2.Your First Datalevin Session
  3. 3.Datalevin Mental Model
  4. 4.Storage Fundamentals
  5. 5.Attributes, Namespaces, and Entities

Part II - Core APIs: Datalog First, KV When Needed

  1. 6.Transactions and Atomic Updates
  2. 7.Reading Data
  3. 8.Datalog Fundamentals
  4. 9.Rules and Recursion
  5. 10.Key-Value Store

Part III - Modeling Across Paradigms

  1. 11.Schema Design
  2. 12.Relational Modeling
  3. 13.Graph Modeling
  4. 14.Document Modeling

Part IV - Indexes as Capabilities

  1. 15.Index Architecture
  2. 16.Full-Text Search
  3. 17.Vector Search
  4. 18.Hybrid Queries

Part V - Performance and Operations

  1. 19.Storage Tuning and Durability
  2. 20.High-Throughput Ingestion
  3. 21.Query Planning and Diagnostics
  4. 22.Production Operations
  1. Afterword: Where Datalevin Is Going

Part VII - Appendices

  1. Appendix A: Installation and Runtime
  2. Appendix B: EDN Format
  3. Appendix C: Datalog Schema Reference
  4. Appendix D: Datalog Built-Ins
  5. Appendix E: Core API Helpers
  6. Appendix F: Key-Value API
  7. Appendix G: Client API