dingodb/dingo
Self-hosted distributed SQL for metadata and vector retrieval in one database
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
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.
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.
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| dingo ★ | 1.7k | +2 | Java | Apache-2.0 | Self-hosted distributed SQL for metadata and vector retrieval in one database |
| qdrant | 35.9k | +135 | Rust | Apache-2.0 | Rust vector database for filtered and hybrid RAG retrieval |
| weaviate | 17k | +17 | Go | — | Go vector database for filtered hybrid retrieval in production RAG stacks |
| LightRAG | 41k | +110 | Python | MIT | Graph-backed RAG for cross-document retrieval and multimodal indexing |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/dingodb/dingo.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about dingo
How do I integrate DingoDB into a RAG pipeline?
What hardware should I budget for retrieval?
Can I self-host DingoDB commercially under Apache-2.0?
When should I choose DingoDB over Pinecone?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy