开放代码社区 › Mycat-Server
Mycat-Server
开发工具Java提交代码,可以开issue,写清楚代码改动或者联系qq:1019100252 mycat1.6权威指南 客户端连接配置 Mycat志愿者开发群:332702697,106088787 MyCAT is an Open-Source software, “a large database cluster” oriented to enterprises. MyCAT is an enforced database which is a replacement for MySQL and supports transaction and ACID.
仓库地址
https://gitee.com/MycatOne/Mycat-Server.gitREADME
# Mycat1
官网: http://mycatone.top
[gitee](https://gitee.com/MycatOne/Mycat-Server)
[github](https://github.com/MyCATApache/Mycat-Server)
提交代码,可以开issue,写清楚代码改动或者联系qq:1019100252
mycat1.6权威指南
[yuque](https://www.yuque.com/books/share/0576de75-ffc4-4c34-8586-952ae4636944)
[pdf](http://mycat.org.cn/document/mycat-definitive-guide.pdf)
客户端连接配置
[gitee](https://gitee.com/MycatOne/Mycat-Server/wiki/%E5%BC%80%E5%8F%91%E7%AF%87%EF%BC%9A1.0-%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%BF%9E%E6%8E%A5%E9%85%8D%E7%BD%AE)
[github](https://github.com/MyCATApache/Mycat-Server/wiki/%E5%BC%80%E5%8F%91%E7%AF%87%EF%BC%9A1.0-%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%BF%9E%E6%8E%A5%E9%85%8D%E7%BD%AE)
[](https://starchart.cc/MyCATApache/Mycat-Server)
Mycat志愿者开发群:332702697,106088787
[](https://github.com/MyCATApache/Mycat-Server/issues)
[](https://github.com/MyCATApache/Mycat-Server/network)
[](https://github.com/MyCATApache/Mycat-Server/stargazers)
[](http://mycat.io/)
MyCAT is an Open-Source software, “a large database cluster” oriented to enterprises. MyCAT is an enforced database which is a replacement for MySQL and supports transaction and ACID. Regarded as MySQL cluster of enterprise database, MyCAT can take the place of expensive Oracle cluster. MyCAT is also a new type of database, which seems like a SQL Server integrated with the memory cache technology, NoSQL technology and HDFS big data. And as a new modern enterprise database product, MyCAT is combined with the traditional database and new distributed data warehouse. In a word, MyCAT is a fresh new middleware of database.
Mycat’s target is to smoothly migrate the current stand-alone database and applications to cloud side with low cost and to solve the bottleneck problem caused by the rapid growth of data storage and business scale.
2020年1月1日合拼了一个PR,优化PartionByLong的分片算法,数据不均衡的问题,所以该分片算法与此前的PartionByLong的数据分布不一致,即1.675之后与之前的版本不兼容
MyCAT1.6不支持一个SQL包含多个语句
旧Mycat升级fastjson,把pom.xml中fastjson的版本更改即可
1.6的bug:
批处理插入,多语句,堆外合拼,请大家要避开这些功能
全局序列号语法
```sql
INSERT INTO `travelrecord` (`id`,user_id) VALUES ('next value for MYCATSEQ_GLOBAL',"xxx");
```
更新Druid 1.1.10版本的分支独立维护在
[gitee](https://gitee.com/MycatOne/Mycat-Server/tree/1.6.6-druid)
[github](https://github.com/MyCATApache/Mycat-Server/tree/1.6.6-druid)
* Getting Started
* [gitee](https://gitee.com/mirrors_MyCATApache/Mycat-doc/tree/master/en)
* [github](https://github.com/MyCATApache/Mycat-doc/tree/master/en)
* 尝试 MyCAT
* [gitee](https://gitee.com/mirrors_MyCATApache/Mycat-doc/tree/master/%E5%85%A5%E9%97%A8%E6%8C%87%E5%8D%97)
* [github](https://github.com/MyCATApache/Mycat-doc/tree/master/%E5%85%A5%E9%97%A8%E6%8C%87%E5%8D%97)
## Features
* Supports SQL 92 standard
* Supports MySQL cluster, used as a Proxy
* Supports JDBC connection with ORACLE, DB2, SQL Server, simulated as normal MySQL Server connection
* Supports MySQL cluster, percona cluster or mariadb cluster, providing high availability of data fragmentation clusters
* Supports automatic failover and high availability
* Supports separation of read and write, dual-master with multi-slave, single-master with multi-master of MySQL model
* Supports global table, automatically fragment data into multiple nodes for efficient relational query
* Supports the unique fragmentation strategy based on ER-relation for efficient relational query
* Supports multiple platforms, easy deployment and implementation
## Advantage
* Based on Alibaba's open-source project Cobar [github](https://github.com/alibaba/cobar),[gitee](https://gitee.com/mirrors_alibaba/cobar), whose stability, reliability, excellent architecture and performance, as well as many mature use-cases make MyCAT have a good starting. Standing on the shoulders of giants, MyCAT feels confident enough to go farther.
* Extensively drawing on the best open-source projects and innovative ideas, which are integrated into the Mycat’s gene, make MyCAT be ahead of the other current similar open-source projects, even beyond some commercial products.
* MyCAT behind a strong technical team whose participants are experienced more than five years including some senior software engineer, architect, DBA, etc. Excellent technical team to ensure the product quality of Mycat.
* MyCAT does not rely on any commercial company. It’s unlike some open-source projects whose important features is enclosed in its commercial products and making open-source projects like a decoration.
## Roadmap
* On the basis of MySQL’s support, MyCAT add more support of commercial open-source database, including native support of PostgreSQL, FireBird and other open-source databases, as well as indirect support via JDBC of other non-open-source databases such as Oracle, DB2, SQL Server etc.
* More intelligent self-regulating properties, such as automatic statistical analysis of SQL, automatic creating and adjusting indexes. Based on the frequency of read and write, MyCAT automatically optimizes caching and backup strategies
* Achieve a more comprehensive monitoring and management
* Integrated with HDFS, provide SQL commands, load databases into HDFS for rapid analysis
* Integrated excellent open-source reporting tools to make MyCAT have data analysis capability
## Download
There are some compiled binary installation packages in Mycat-download project on github at [Mycat-download](http://dl.mycat.org.cn/1.6.7.6/).
## Document
There are some documents in Mycat-doc project on github at [Mycat-doc]
[gitee](https://gitee.com/mirrors_MyCATApache/Mycat-doc)
[github](https://github.com/MyCATApache/Mycat-doc)
Mycat 简单demo,具体参考Mycat权威指南
# Mycat前世今生
2013年