MCPcopy Index your code
hub / github.com/MyCATApache/Mycat2

github.com/MyCATApache/Mycat2 @v1.22-2022-6-25

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.22-2022-6-25 ↗ · + Follow
19,748 symbols 70,102 edges 2,142 files 2,022 documented · 10% updated 2y agov1.22-2022-6-25 · 2022-06-25★ 1,736140 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mycat2

Distributed database based on MySQL or JDBC.

官网

http://mycatone.top/

Software introduction

Mycat2 is a distributed relational database (middleware) developed by the Mycat community. It supports distributed SQL queries, is compatible with the MySQL communication protocol, supports a variety of back-end databases with Java ecology, and improves data query processing capabilities through data fragmentation.

软件介绍

Mycat2是Mycat社区开发的一款分布式关系型数据库(中间件)。它支持分布式SQL查询,兼容MySQL通信协议,以Java生态支持多种后端数据库,通过数据分片提高数据查询处理能力。

gitee:https://gitee.com/MycatOne/Mycat2

github:https://github.com/MyCATApache/Mycat2

v1.21-release

doc-en doc-cn

Stargazers over time

Features

  1. Open source code Learning middleware technology, database technology, and code is a must.
  2. Distributed query engine compatible with MySQL syntax • Compatible with MySQL syntax. • Compatible with MySQL value types. • Use an optimizer based on rule optimization and cost. • Independent physical execution engine.
  3. Custom function algorithm development • Sharding algorithm, serial number algorithm, load balancing algorithm, etc. can all be customized to load. • The query engine can run away from the network framework.
  4. Customize the process Self-developed DSL manipulates the physical query plan. Support SQL forwarding and cache result set.

Framework

Currently, only mycat2 is supported on java8, and will be supported in other versions later.

License

GNU GENERAL PUBLIC LICENSE

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 16,967
Class 2,348
Interface 301
Enum 132

Languages

Java100%

Modules by API surface

hbt/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java298 symbols
hbt/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java250 symbols
hbt/src/main/java/org/apache/calcite/mycat/MycatBuiltInMethodImpl.java235 symbols
common/src/main/java/io/mycat/util/ApplicationContext.java228 symbols
common/src/main/java/io/mycat/util/ConcurrentLinkedHashMap.java223 symbols
hbt/src/main/java/org/apache/calcite/runtime/SqlFunctions.java193 symbols
hbt/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java174 symbols
proxy/src/main/java/io/mycat/proxy/monitor/MycatMonitorCallback.java119 symbols
proxy/src/main/java/io/mycat/proxy/monitor/MycatMonitor.java119 symbols
proxy/src/main/java/io/mycat/proxy/monitor/MycatMonitorLogCallback.java117 symbols
proxy/src/main/java/io/mycat/proxy/monitor/AbstractMonitorCallback.java117 symbols
datasource/src/main/java/io/mycat/datasource/jdbc/sequoiadb/SequoiaResultSet.java102 symbols

Datastores touched

(mysql)Database · 1 repos
mysqlDatabase · 1 repos
db1Database · 1 repos
(mongodb)Database · 1 repos
scottDatabase · 1 repos

For agents

$ claude mcp add Mycat2 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page