maria-developers team mailing list archive
Mailing list archive
Ian Gilfillan <ian@xxxxxxxxxxx>
Fri, 1 Feb 2019 20:05:17 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
I see the eq_range_index_dive_limit default has been set to 10 in
10.4.3. I see some different EXPLAIN results in the commit, but I don't
see any notes on why or how 10 was chosen over any other value. MySQL
increased the default to 200 from MySQL 5.7.4, based it seems on some
community feedback that 10 was too low, for example:
What was the thinking behind choosing 10 as the new default?
On 2018/10/12 12:58, Sergey Petrunia wrote:
So, MDEV-16934 introduced eq_range_index_dives_limit into 10.2.8 and 10.3.0.
The default was set to 0 (which means no limit) in order to not introduce
optimizer behavior change into stable versions.
The question is: should 10.4 also have 0 by default or we can set it to some
finite limit? MySQL's default value is 10.