matrixorigin / matrixone
MySQL-compatible HTAP database with Git for Data, vector search, and fulltext search. Cloud-native, AI-ready
View on GitHubAI Architecture Analysis
This repository is indexed by RepoMind. By analyzing matrixorigin/matrixone in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewDocs || Official Website English || 简体中文 Connect with us: Contents ======== • What is MatrixOne • Get Started in 60 Seconds • Tutorials & Demos • Installation & Deployment • Architecture • Python SDK • Contributing • License What is MatrixOne? **MatrixOne is the industry's first database to bring Git-style version control to data**, combined with MySQL compatibility, AI-native capabilities, and cloud-native architecture. At its core, MatrixOne is a **HTAP (Hybrid Transactional/Analytical Processing) database** with a hyper-converged **HSTAP engine** that seamlessly handles transactional (OLTP), analytical (OLAP), full-text search, and vector search workloads in a single unified system—no data movement, no ETL, no compromises. 🎬 **Git for Data - The Game Changer** Just as Git revolutionized code management, MatrixOne revolutionizes data management. **Manage your database like code:** • **📸 Instant Snapshots** - Zero-copy snapshots in milliseconds, no storage explosion • **⏰ Time Travel** - Query data as it existed at any point in history • **🔀 Branch & Merge** - Test migrations and transformations in isolated branches • **↩️ Instant Rollback** - Restore to any previous state without full backups • **🔍 Complete Audit Trail** - Track every data change with immutable history **Why it matters:** Data mistakes are expensive. Git for Data gives you the safety net and flexibility developers have enjoyed with Git—now for your most critical asset: your data. --- 🎯 **Built for the AI Era** **🗄️ MySQL-Compatible** Drop-in replacement for MySQL. Use existing tools, ORMs, and applications without code changes. Seamless migration path. **🤖 AI-Native** Built-in vector search (IVF/HNSW) and full-text search. Build RAG apps and semantic search directly—no external vector databases needed. **☁️ Cloud-Native** Storage-compute separation. Deploy anywhere. Elastic scaling. Kubernetes-native. Zero-downtime operations. --- 🚀 **One Database for Everything** **The typical modern data stack:** 🗄️ MySQL for transactions → 📊 ClickHouse for analytics → 🔍 Elasticsearch for search → 🤖 Pinecone for AI **The problem:** 4 databases · Multiple ETL jobs · Hours of data lag · Sync nightmares **MatrixOne replaces all of them:** 🎯 **One database** with native OLTP, OLAP, full-text search, and vector search. Real-time. ACID compliant. No ETL. ⚡️ Get Started in 60 Seconds 1️⃣ Launch MatrixOne 2️⃣ Create Database 3️⃣ Connect & Query **Install Python SDK:** **Vector search:** **Fulltext Search:** **That's it!** 🎉 You're now running a production-ready database with Git-like snapshots, vector search, and full ACID compliance. > 💡 **Want more control?** Check out the Installation & Deployment section below for production-grade installation options. 📖 **Python SDK Documentation →** 📚 Tutorials & Demos Ready to dive deeper? Explore our comprehensive collection of hands-on tutorials and real-world demos: 🎯 Getting Started Tutorials | Tutorial | Language/Framework | Description | |----------|-------------------|-------------| | Java CRUD Demo | Java | Java application development | | SpringBoot and JPA CRUD Demo | Java | SpringBoot with Hibernate/JPA | | PyMySQL CRUD Demo | Python | Basic database operations with Python | | SQLAlchemy CRUD Demo | Python | Python with SQLAlchemy ORM | | Django CRUD Demo | Python | Django web framework | | Golang CRUD Demo | Go | Go application development | | Gorm CRUD Demo | Go | Go with Gorm ORM | | C# CRUD Demo | C# | .NET application development | | TypeScript CRUD Demo | TypeScript | TypeScript application development | 🚀 Advanced Features Tutorials | Tutorial | Use Case | Related MatrixOne Features | |----------|----------|---------------------------| | Pinecone-Compatible Vector Search | AI & Search | vector search, Pinecone-compatible API | | IVF Index Health Monitoring | AI & Search | vector search, IVF index | | HNSW Vector Index | AI & Search | vector search, HNSW index | | Fulltext Natural Search | AI & Search | fulltext search, natural language | | Fulltext Boolean Search | AI & Search | fulltext search, boolean operators | | Fulltext JSON Search | AI & Search | fulltext search, JSON data | | Hybrid Search | AI & Search | hybrid search, vector + fulltext + SQL | | RAG Application Demo | AI & Search | RAG, vector search, fulltext search | | Picture(Text)-to-Picture Search | AI & Search | multimodal search, image similarity | | Dify Integration Demo | AI & Search | AI platform integration | | HTAP Application Demo | Performance | HTAP, real-time analytics | | Instant Clone for Multi-Team Development | Performance | instant clone, Git for Data | | Safe Production Upgrade with Instant Rollback | Performance | snapshot, rollback, Git for Data | 📖 **View All Tutorials →** 🛠️ Installation & Deployment MatrixOne supports multiple installation methods. Choose the one that best fits your needs: 🐳 Local Multi-CN Development Run a complete distributed cluster locally with multiple CN nodes, load balancing, and easy configuration management. 📖 **Complete Development Guide →** - Comprehensive guide covering standalone setup, multi-CN clusters, monitoring, metrics, configuration, and all commands 🎯 Using mo_ctl Tool (Recommended for Production) One-command deployment and lifecycle management with the official mo_ctl tool. Handles installation, upgrades, backups, and health monitoring automatically. 📖 **Complete mo_ctl Installation Guide →** ⚙️ Building from Source Build MatrixOne from source for development, customization, or contributing. Requires Go 1.22, GCC/Clang, Git, and Make. 📖 **Complete Build from Source Guide →** 🐳 Other Methods Docker standalone, Kubernetes, binary packages, and more deployment options. 📖 **All Installation Options →** 🔎 Architecture MatrixOne's architecture is as below: For more details, you can checkout MatrixOne Architecture Design. 🐍 Python SDK MatrixOne provides a **comprehens…