2. 增加了基于int类型字段hash取模的支持(比如分100个库)
3. 增加基于字符串类型,进行CRC32之后,进行hash取模分库的支持
1. 增加ServerIdMask和FileMap的复合路由
2. 优化配置,相同库的表只需配置一次
3. cobar配置自动生成工具,从数据库读取相应信息,自动生成XML配置
Cobar is a proxy for sharding databases and tables,compatible with MySQL protocal and MySQL SQL grama,underlying storage only support MySQL for support foreground business more simple,stable,efficient and safety。
-
Sharding You can add new MySQL instance as your business grows.
-
High availability Both Cobar server and underlying MySQL is clustered,business will not suffer with single node fail.
-
Compatible with MySQL protocol Use Cobar as MySQL. You can replace MySQL with Cobar to power your application.
Read the Roadmap.
Read the Quick Start.
Contributions are welcomed and greatly appreciated. See CONTRIBUTING.md for details on submitting patches and the contribution workflow.
alibaba_cobar@googlegroups.com
Cobar is under the Apache 2.0 license. See the LICENSE file for details.