Mycat2 icon indicating copy to clipboard operation
Mycat2 copied to clipboard

MySQL Proxy using Java NIO based on Sharding SQL,Calcite ,simple and fast

Results 154 Mycat2 issues
Sort by recently updated
recently updated
newest added

这个问题困扰我很久,是否是我没找到对应的文档说明还是目目前不支持这样的功能。 我有一个mysql主库和一个从库,我只需要使用读写分离功能。 但是我的主数据库中有 300 多个schema。 我是不是只能把300+的schema全部都配置到yaml配置文件里?有没有直接透明传输所有schema的简单配置模式? 据我所知,mycat作为代理是需要一一配置schema的。 但是奇虎360的 atlas 和mysql的官方mysql-proxy 都是可以直接配置成类似全透明使用的模式,他们这2个中间件的思路更像是 做了一个支持拦截数据包处理的 透明 3306 tcp 分发代理

wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved....

使用sysbench测试: 创建16张表,每张表插入10000000条数据 sysbench oltp_common \ --threads=16 \ --rand-type=uniform \ --db-driver=mysql \ --mysql-db=testdb \ --mysql-host=192.168.1.27 \ --mysql-port=3307 \ --mysql-user=root \ --mysql-password=password \ prepare --tables=16 --table-size=10000000 报错信息: Initializing worker threads... Creating table...

背景:mysql主从同步集群,一个master(读写),一个slave(只读)。 目标:一个mysql节点挂了之后能够自动转换至另一台节点。比如master挂了之后,仍然能够连接slave并提供只读功能。 目前已经测试过mycat2代理时,任意节点挂了之后mycat2不能正常工作。配置了 "switchType":"SWITCH"。 以上,谢谢。

mycat版本:mycat2-1.22-release-jar-with-dependencies-2022-6-9.jar 集群配置: `{ "clusterType":"MASTER_SLAVE", "heartbeat":{ "heartbeatTimeout":1000, "maxRetryCount":0, "minSwitchTimeInterval":300, "showLog":true, "slaveThreshold":0.0 }, "masters":[ "master" ], "maxCon":2000, "name":"master-c", "readBalanceType":"BALANCE_ALL", "replicas":[ "slave1", "slave2" ], "switchType":"SWITCH" }` 数据源配置(两个从节点省略了): `{ "dbType":"mysql", "idleTimeout":60000, "initSqls":[], "initSqlsGetConnection":true, "instanceType":"READ_WRITE",...

Bumps [avatica-core](https://github.com/apache/calcite-avatica) from 1.17.0 to 1.22.0. Commits 71fc0ab [CALCITE-5220] Release Avatica 1.22 0c097b6 [CALCITE-5218] Verify HTTP client class before instantiating it aad227f Checkout release svn repository when promoting a release...

dependencies

Bumps [avatica-core](https://github.com/apache/calcite-avatica) from 1.17.0 to 1.22.0. Commits 71fc0ab [CALCITE-5220] Release Avatica 1.22 0c097b6 [CALCITE-5218] Verify HTTP client class before instantiating it aad227f Checkout release svn repository when promoting a release...

dependencies

Bumps [avatica-core](https://github.com/apache/calcite-avatica) from 1.17.0 to 1.22.0. Commits 71fc0ab [CALCITE-5220] Release Avatica 1.22 0c097b6 [CALCITE-5218] Verify HTTP client class before instantiating it aad227f Checkout release svn repository when promoting a release...

dependencies

运行一段时间就报下面这个错误,是什么原因? INFO | jvm 1 | 2022/07/25 11:38:01 | 2022-07-25 11:38:01,073[WARN]io.netty.channel.DefaultChannelPipeline.onUnhandledInboundException:1152An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler...