# Repository Briefing: dingodb/dingo
> Source: https://repoforai.com/repo/dingodb/dingo (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/dingodb/dingo
- **Official Docs / Website**: https://www.dingodb.com
- **Category**: RAG, Data & Memory (知识库 / 爬虫 / 记忆层)
- **Primary Language**: Java
- **License**: Apache-2.0
- **Engineering Health**: A (77/100 · Maintenance 26/35 · Adoption 20/25 · Releases 11/20 · License 20/20)
- **Latest Release**: v0.9.0 (2024-06-14) — https://github.com/dingodb/dingo/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, Self-Hosted, API
- **Momentum**: 1,708 ★ total (+0 24h / +2 7d) · 263 forks
- **Topics**: `embedding-search`, `embedding-store`, `hybrid-search`, `key-value-distributed-store`, `mysql-compatibility`, `real-time-semantic-search`, `serving`, `structured-data`, `unified-sql`, `unstructured-data`, `vector-database`, `vector-ocean`
- **When to Use**: Best for: RAG or semantic-search teams that want to self-host structured metadata and frequently updated vectors, query both through SQL, and have the capacity to operate a distributed database. Skip if: You want a managed vector endpoint, need an end-to-end RAG service, or require drop-in MySQL compatibility or proven workload-specific latency guarantees before running your own evaluation.

## Overview
```text
### Architecture & Core Mechanics
DingoDB is a modular Java database built with Gradle. It treats tables and vectors as first-class data models and exposes SQL, SDK, and API access. The project separates SQL planning and execution (`dingo-calcite`, `dingo-exec`, `dingo-executor`) from client and driver code (`dingo-client`, `dingo-driver`) and from metadata, partition, transaction, and storage interfaces. The module layout places SQL and vector retrieval in a database architecture rather than a standalone vector library.

The distributed design separates compute and storage roles. The companion Dingo-Store project provides strongly consistent storage based on Raft, while Dingo-Deploy covers deployment of compute and storage nodes. The local and proxy storage modules mark separate implementation boundaries. MySQL compatibility is useful for integration, but does not establish support for every MySQL feature, driver, or ORM.

### Key Capabilities & Differentiators
DingoDB supports SQL upserts and vector queries, and combines scalar and vector indexes for searches that need both structured constraints and similarity ranking. SQL is not the only access path: SDK and API interfaces are also available. Real-time index building and background optimization are intended to accommodate changing data. The v0.8.0 release added distributed transactions; that milestone does not by itself establish when a committed vector update becomes visible to every search path.

Capacity features include configurable shard sizes, automatic shard splitting and merging, disk-based vector search to reduce memory pressure, and the ability to switch indexes as data scale changes. For RAG, test filtered recall and upsert-to-search visibility under concurrent writes. Specific index algorithms, filter execution order, and performance limits are not established here. Treat embedding generation and answer synthesis as separate application concerns.

### Trade-offs & Limitations
Against Pinecone as a managed vector-search alternative, DingoDB makes the strongest case when you want SQL-addressable metadata and vectors in the same self-hosted data service. That can reduce the need to synchronize two stores when their data belongs together. The cost is ownership of upgrades, monitoring, capacity, and recovery across compute and storage. Built-in high availability removes the need for external HA components, not the need to test failover and recovery.

Disk-based search can trade memory pressure for storage I/O; real-time indexing and automatic sharding can also consume resources during write-heavy periods. Compare recall under realistic filters, ingest-to-search visibility, and tail latency at expected concurrency. The source is Apache-2.0, but the v0.9.0 license-management milestone makes it important to distinguish source licensing from activation or distribution terms for the exact build you deploy.

### Hardware & Deployment Guide
Use the single-node Docker deployment to test connectivity, upserts, and representative retrieval queries. Use the Ansible cluster path when evaluating separate compute and storage roles and built-in high availability. The Java codebase has a Gradle wrapper for source builds; exact JDK requirements and compatible component versions need to be confirmed for the chosen distribution. A single-node test cannot establish clustered failover behavior.

The supplied release history traces a progression from IndexRegion lifecycle and Raft snapshot support in v0.7.0, to distributed transactions in v0.8.0, to license activation and management tooling in v0.9.0 (June 14, 2024). Pin and validate the versions you deploy, check activation requirements, and rehearse backup, restore, and node loss before production. Size resources against vector volume, index residency, storage I/O, and concurrent query and update load.
```

## Key Capabilities
```text
- Data model: Tables and vectors are first-class models, with upserts and vector queries exposed through MySQL-compatible SQL.
- Compute and storage: Java modules separate query planning and execution from storage interfaces; companion Dingo-Store provides Raft-based, strongly consistent storage.
- Hybrid retrieval: Scalar and vector indexes support combining structured predicates with similarity search.
- Data lifecycle: Configurable shard sizing, automatic splitting and merging, and real-time index maintenance address changing datasets.
- Capacity: Disk-based vector search reduces memory pressure, and index types can change as the dataset grows.
- Deployment: Single-node Docker is an evaluation path; Ansible is the path to a self-hosted cluster.
```

## Quick Start / Clone
```bash
git clone --depth 1 https://github.com/dingodb/dingo.git
cd dingo
```
