← Back to Leaderboard
Mmatrixorigin

matrixorigin/matrixone

MySQL-compatible HTAP with vector and full-text search for self-hosted RAG

Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
v4.2.8-hotfix-20261126
Commercial License Check
Apache-2.0 · Commercial Friendly

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

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
DockerSelf-Hosted
Total Stars
★ 2,069
24h Growth
+0
7d Growth
+0
Forks
345

GitHub Star History

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

matrixorigin/matrixone Star History (2021-09-12 - 2026-12-04) ALL-TIME STAR HISTORY (2021-09 – 2026-12) +2.1k in 1909d · avg +1/day 2.2k 1.1k 0 2021-09-12: ★ 12022-01-08: ★ 2852022-05-07: ★ 7002022-09-03: ★ 1,1022022-12-31: ★ 1,2132023-04-29: ★ 1,3272023-08-26: ★ 1,4062023-12-23: ★ 1,4802024-04-20: ★ 1,5482024-08-17: ★ 1,6132024-12-14: ★ 1,6812025-04-12: ★ 1,7072025-08-09: ★ 1,7412025-12-06: ★ 1,7672026-04-04: ★ 1,8012026-08-01: ★ 1,8672026-12-04: ★ 2,069 ★ 2.1k 2021-09 2024-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

MatrixOne is a Go-based distributed HTAP database, not a vector service layered over a separate relational store. Its HSTAP engine handles OLTP, OLAP, full-text search, and vector search in the same database. The MySQL-compatible interface lets an application keep document text, structured metadata, and embeddings together and query them through SQL. The distributed design separates storage and compute, and the local multi-CN topology routes client connections through a load-balancing proxy.

The Go manifest includes Apache Arrow, RoaringBitmap, and AWS S3 and Alibaba Cloud OSS SDKs. These identify dependencies in the analytical, bitmap, and object-storage stack, but do not establish the storage backend used by a specific deployment. Application integration can use standard MySQL tooling or the Python SDK's SQLAlchemy extensions for vector columns and search expressions.

Key Capabilities & Differentiators

The retrieval layer supports IVF and HNSW vector indexes as well as full-text search over text and JSON. The Python example defines an f32 vector column, populates it with precomputed embeddings, creates an IVF index using vector_l2_ops, and queries with an L2 distance expression. Hybrid retrieval combines vector similarity, full-text matching, and SQL conditions, making it possible to keep document selection and metadata filtering within the database.

A Pinecone-compatible API provides another integration path for vector clients. Git-style data workflows add zero-copy snapshots, time-travel queries, branching and merging, and rollback. These are useful for testing a corpus refresh or data migration in isolation. The retrieval features do not by themselves provide embedding inference or answer generation.

Trade-offs & Limitations

The strongest case for MatrixOne is avoiding a second serving copy when retrieval needs current transactional metadata. Compared with managed Pinecone, it brings SQL and full-text search into the same system but leaves capacity planning, upgrades, and recovery with the self-hosting team. A standalone Docker evaluation is straightforward; operating a distributed cluster with separate compute and storage is a different commitment. Test MySQL and Pinecone compatibility against the exact SQL features, drivers, and API calls you use rather than assuming drop-in parity.

Consolidation also puts index builds, ingestion, transactions, and analytical scans in the same database. Benchmark vector recall and tail latency under concurrent writes and analytical queries, not just against an idle index. Exercise backup and restore separately from snapshot or rollback workflows. If you only need vector lookup or already have an independently scaled search tier, the consolidation benefit may not justify broadening the database's operational scope.

Hardware & Deployment Guide

For local evaluation, run matrixorigin/matrixone:latest in Docker with port 6001 mapped and connect with a MySQL client. Python applications can install matrixone-python-sdk. For self-hosting, options include standalone Docker, Kubernetes, and mo_ctl, which covers installation, upgrades, backups, and health monitoring. A source build requires Go 1.27.1 or later, GCC or Clang, Git, and Make. Pin a tested image version and replace the demo credentials before exposing the service.

The v4.2.8 hotfix sequence addresses three distinct operational concerns: the November 24 build fixes a planner rewrite loop involving an unchanged IN predicate, November 26 enforces the INDEX privilege for standalone index DDL, and November 27 distinguishes normal pipeline termination after a downstream LIMIT from execution failure. Test the target build against your application queries and index-management roles before rollout.

Engine: HSTAP combines transactional SQL, analytics, full-text search, and vector search.
Vector indexing: IVF and HNSW are supported; the Python IVF example uses an f32 vector column and vector_l2_ops.
Hybrid retrieval: Combine vector similarity, full-text matching, and SQL filters; full-text examples cover Boolean queries and JSON.
Data versioning: Zero-copy snapshots, time-travel queries, branch and merge, and rollback support isolated data changes.
Client access: MySQL-compatible SQL, a Pinecone-compatible vector API, and an async-capable Python SDK with SQLAlchemy integration.
Deployment: Start with standalone Docker on port 6001 or exercise a load-balanced multi-CN topology with make dev-build && make dev-up.
Best For

Teams building self-hosted RAG or agent memory that need retrieval against frequently updated relational metadata, both keyword and vector search, and isolated testing of corpus changes.

Skip If

You only need managed vector retrieval, require unverified MySQL or Pinecone features, or cannot take on database capacity planning, upgrades, and recovery.

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

Quick Start & Installation

DockerSelf-Hosted
docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:latest

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
matrixone ★2.1k—GoApache-2.0MySQL-compatible HTAP with vector and full-text search for self-hosted RAG
weaviate17k+17Go—Go vector database for filtered hybrid retrieval in production RAG stacks
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/matrixorigin/matrixone.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.

matrixorigin/matrixone Star History on RepoForAI

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

Frequently Asked Questions about matrixone

How do I integrate MatrixOne into an existing Python RAG stack?

Use a MySQL client or an existing SQLAlchemy integration for relational access. The matrixone-python-sdk adds vector column definitions, IVF/HNSW index operations, and full-text helpers. Keep document ingestion, embedding generation, and answer generation in the application pipeline; the vector example supplies precomputed embeddings.

Do I need a GPU, and how should I size a deployment?

No GPU is specified for the standalone Docker or Python query paths. Measure RAM and storage for your actual vector count, dimensions, and index choice, then profile CPU and memory during index builds and concurrent queries. Size embedding inference separately if you host it yourself.

Can I self-host MatrixOne for a commercial product?

The repository is Apache-2.0 licensed, which permits commercial use and self-hosting. If you redistribute the software or a modified build, comply with applicable license and notice requirements. Review bundled dependency licenses and any separate hosted service terms independently.

Can MatrixOne replace Pinecone in an existing application?

Yes, if you want to self-host retrieval alongside SQL and full-text search and the supported API operations cover your client. Use the Pinecone-compatible API as a starting point, not as proof of full parity. Test the operations you use, metadata filtering, and retrieval quality on representative data. Managed Pinecone is the simpler operational choice if you only need vector retrieval and do not want to run the database.

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 matrixorigin/matrixone? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature matrixorigin/matrixone 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