← Back to Leaderboard
Soceanbase

oceanbase/seekdb

An OceanBase SQL engine for hybrid RAG retrieval and branchable agent state

Engineering Health (Methodology)
A+ · 98/100
Maintenance Activity
● Updated today
Latest Release
v1.4.1
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption23/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AIAPI
Total Stars
★ 3,265
24h Growth
+2
7d Growth
+6
Forks
1,357

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

oceanbase/seekdb Star History (2025-10-27 - 2026-12-03) ALL-TIME STAR HISTORY (2025-10 – 2026-12) +3.3k in 402d · avg +8/day 3.4k 1.7k 0 2025-10-27: ★ 12025-11-22: ★ 3862025-12-20: ★ 1,7812026-01-17: ★ 2,0812026-02-14: ★ 2,3002026-03-14: ★ 2,3822026-04-11: ★ 2,4442026-05-09: ★ 2,5102026-06-06: ★ 2,5782026-07-04: ★ 2,7452026-08-01: ★ 2,8232026-08-29: ★ 2,8652026-09-26: ★ 3,0442026-10-24: ★ 3,1622026-11-18: ★ 3,2432026-12-03: ★ 3,265 ★ 3.3k 2025-10 2026-05 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

seekdb is a C++ database built on the OceanBase SQL engine. It stores vector columns, text, relational fields, and semi-structured data in one engine and exposes a MySQL-protocol SQL interface. Deployment options include a local embedded runtime, a standalone server, and operation within an OceanBase distributed cluster. MySQL wire compatibility lets applications reuse drivers such as PyMySQL; it does not establish full SQL dialect or administrative parity.

On the write path, DML commits without waiting for vector index construction. Change Stream (src/observer/change_stream/) consumes redo asynchronously and updates the incremental HNSW. Queries consult both incremental and snapshot HNSW indexes with fine-grained read locks (src/observer/vector_index/). The tree includes Bazel build definitions and a Cargo workspace: rust/seekdb-rust links Rust components into the C++ server, bazel/prost-codegen is another workspace member, and the Rust release profile aborts on panic rather than unwinding across the language boundary.

Key Capabilities & Differentiators

A single SQL query can apply MATCH ... AGAINST, filter on fields such as author and timestamp, and rank the surviving candidates with l2_distance and ORDER BY ... APPROXIMATE LIMIT. The example schema combines a VECTOR(384) column, a full-text index using the ik parser, and an HNSW index with LIB=vsag. This demonstrates lexical filtering with vector ranking; it does not establish that the example performs weighted score fusion. The pyseekdb Collection API adds text embedding and hybrid search above the SQL layer.

FORK DATABASE creates a copy-on-write branch without copying the entire database up front. An agent can write to the branch, merge a selected table back with FAIL, THEIRS, or OURS, or drop the branch. The streaming write/search benchmark reports 1,523 QPS and 21.7 ms P99 under concurrent load. Those figures are workload-specific; test how soon newly committed rows appear in approximate search, since asynchronous indexing and ACID commit semantics are distinct.

Trade-offs & Limitations

The main reason to choose seekdb over a dedicated vector stack is to keep text, embeddings, metadata, and transactional state in one database, reducing synchronization between stores and avoiding application-side joins for the demonstrated query pattern. A managed vector service such as Pinecone is a better fit when vector retrieval is the main requirement and delegating operations matters more than SQL or local deployment. Against a self-hosted system such as Milvus, compare recall after filters, write-to-search visibility, and tail latency under your own ingestion pattern rather than using the published throughput as a general ranking.

Consolidation also puts full-text and HNSW maintenance alongside transactional work. Size for index footprint, write rate, query concurrency, and changes retained across branches. Treat copy-on-write as database state isolation, not as a security boundary for executing agent code or a substitute for backups. Validate merge conflict behavior, check MySQL-specific queries before migration, and test failover separately if your design depends on the distributed OceanBase deployment option.

Hardware & Deployment Guide

For local persistence without provisioning a server, the Python pylibseekdb binding requires Python 3.11 or newer and passes connection options to PyMySQL. The Node.js binding requires Node.js 22 or newer, uses mysql2, and relies on npm optional dependencies to install the matching native runtime. It manages a separate local process; close SQL connections before releasing the runtime handle. Go is also listed as a local option. Docker exposes ports 2881 and 2886 in the quick-start configuration and maps ./data to /var/lib/oceanbase; use a pinned image and validate persistence and restore behavior before production.

Standalone options include Linux DEB/RPM packages and portable archives, plus Homebrew on macOS. Source builds require the platform toolchain, then ./build.py init and ./build.py build seekdb. A hosted trial provisions an instance via POST /api/v1/instances. Version 1.3.0 introduced Change Stream-backed asynchronous indexing, 1.4.0 focused on reducing resource consumption, and 1.4.1 packages third-party component lists, license texts, and redistribution notices with its Linux artifacts.

Hybrid SQL: MATCH ... AGAINST, scalar predicates, and approximate L2 ranking run in one query.
Streaming indexing: Change Stream consumes redo asynchronously, so DML commits do not wait for HNSW index construction.
Vector query path: Searches consult both the incremental HNSW and the snapshot HNSW.
State branching: FORK DATABASE shares existing data through copy-on-write; MERGE TABLE resolves conflicts with FAIL, THEIRS, or OURS.
Local integration: Python, Node.js, and Go can use a persistent local database; the Node.js binding manages a separate local process.
Packaging: Docker mounts persistent data at /var/lib/oceanbase; v1.4.1 Linux packages and portable archives ship third-party license notices.
Best For

Self-hosted RAG with frequent document updates, or agents that need transactional memory, hybrid SQL retrieval, and disposable database branches.

Skip If

You only need managed vector retrieval, require untested MySQL features to work unchanged, or cannot validate search freshness and recovery under your production workload.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AIAPI
pip install -U pyseekdb   # pyseekdb is the Python SDK for seekdb

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
seekdb ★3.3k+6C++Apache-2.0An OceanBase SQL engine for hybrid RAG retrieval and branchable agent state
zvec16.3k+29C++Apache-2.0In-process C++ vector database for local hybrid retrieval
qdrant35.9k+135RustApache-2.0Rust vector database for filtered and hybrid RAG retrieval
LightRAG41k+110PythonMITGraph-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.

Raw .md ↗
curl -sL https://repoforai.com/repo/oceanbase/seekdb.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

oceanbase/seekdb Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about seekdb

How does an application connect to seekdb?

Use a MySQL driver to run SQL against the server, or start a local runtime with an embedded binding. In Python, pylibseekdb supplies connection options for PyMySQL; pyseekdb offers a higher-level Collection API with text embedding and hybrid search. Test dialect-sensitive queries before treating protocol compatibility as a drop-in MySQL migration.

Does seekdb require a GPU, and how should I size a deployment?

There is no documented fixed RAM or VRAM requirement. Size the database for vector count and dimensionality, text indexes, concurrent ingestion and queries, and the data retained by active forks. If the application generates embeddings locally, budget CPU, RAM, and any GPU or VRAM for the chosen model separately. Load-test ingestion and retrieval together rather than sizing from idle usage.

Can we self-host seekdb commercially or bundle it with a product?

Yes. Apache-2.0 permits commercial use and self-hosting. When redistributing seekdb or bundling it in a product, follow the applicable license and notice requirements and review third-party components. The v1.4.1 Linux RPM, DEB, and portable archives include component lists, full license texts, and redistribution notices.

When should we choose seekdb over Pinecone?

Choose seekdb if you need self-hosting and want vector retrieval, full-text matching, metadata filters, and transactional application state in one SQL engine. Prefer a managed service such as Pinecone if the requirement is primarily vector retrieval and you want to avoid operating the database. Compare recall after filtering, write-to-search visibility, P99 during ingestion, and operating effort on the same workload.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining oceanbase/seekdb? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature oceanbase/seekdb on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare