Dnia 16 sierpnia 2019 17:14 Sergei Golubchik <serg@mariadb.org> napisaĆ(a):
Hi, Slawomir!On Aug 13, pslawek83 wrote:Hi Guys, is in_predicate_conversion_th going to be re-enabled forrelease builds in some next mariadb release? If I make pull request,will you take it? Basically for everyone not aware about theissue, this forced IN-predicate to subquery conversion isde-generating some simple queries so badly that they start to takecouple of hours instead of seconds, and there is currently no way offixing these queries nor to turn this conversion off.Thanks,Slawomir.Perhaps instead of in_predicate_conversion_threshold, we'd better addan optimizer switch to disable this optimization?I've commented in https://jira.mariadb.org/browse/MDEV-16871Regards,SergeiVP of MariaDB Server Engineering