1995liuwei

Results 5 comments of 1995liuwei

> 本身有 setbit getbit 方法 http://redis.cn/commands/setbit.html > > FreeRedis 是重新开发的 RedisClient : > > https://github.com/2881099/FreeRedis 不能直接使用setbit或getbit,我们是需要一口气从redis读出,要用setbit或getbit我们需要循环一个一个调用,效率不高。

> byte[] 是转换的时候有问题吗?前后两次BitArray大小不一致了 ![image](https://user-images.githubusercontent.com/46195779/174595975-6eed8a1c-b21f-446e-a332-3e5e5c545a1a.png)

现在是希望同时支持分表与读写分离,读写分离已经完成了,希望在读写分离的基础上增加分表

> 你好,我配置好了 > 我执行下面的sql > select * from sharding where id 那实际上mycat去查询的是sharding_0这张表吗?还是查的还是sharding这张表 你好,我配置好了 我执行下面的sql select * from sharding where id

发现设置的ranges没有效果,插入的id大于20000,比如40000,还是插入了tablename_0这张表里了 "function":{ "clazz":"io.mycat.router.mycat1xfunction.PartitionByPrefixPattern", "properties":{ "prefixLength":3, "patternValue":72, "columnName":"id" }, "ranges":{ "0-20000" : 0, "20001-50000" : 1, "50001-10000000" : 2, } }