kimmking commented on issue #3366: Sharding-jdbc execute sql, in(x,x,x) performance issues URL: https://github.com/apache/incubator-shardingsphere/issues/3366#issuecomment-615083264 In my recent tests, sharding-jdbc will optimize datanode number but do not cut the values in ‘in clause’. For example, actual tables is test0...3, and condition is id % 4, when executing sql: > select * from test where id in (100,101) Actual sqls are: > select * from test00 where id in (100,101) > select * from test01 where id in (100,101) Table data nodes are cut from 4 to 2 now.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
