[MDEV-7764] Optimizer bug:error query plan Created: 2015-03-12 Updated: 2021-09-16 Resolved: 2021-09-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.0.14, 10.0.17 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | frank.zhang | Assignee: | Axel Schwenke |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | optimizer | ||
| Environment: |
centos6.4 |
||
| Attachments: |
|
| Description |
| Comments |
| Comment by VAROQUI Stephane [ 2015-03-12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Can you try to reproduce with 10.0.17, this was already fixed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-03-12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Do you have a JIRA issue number handy, for the reference? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by VAROQUI Stephane [ 2015-03-12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
similar to | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by VAROQUI Stephane [ 2015-03-12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Similar was not easy to reproduce . But gone after analyze table . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by frank.zhang [ 2015-03-13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
HI all,I have just tested again with mariadb 10.0.17.unfortunately,it sitll happened so.
So,I think that this bug has not been fixed in mariadb10.0.17,THX~ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-03-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, I've been running the test for days now, and still not getting any full scans. So, something is missing here. Also, your server is configured as a slave. Is there any real replication? If yes, does it touch the tables on which you run the sysbench test? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by frank.zhang [ 2015-03-17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@Elena Stepanova slave_parallel_threads=8 old_passwords=0 innodb_file_per_table sort_buffer_size=2M max_connections=5000 log-slow-verbosity=query_plan,explain innodb_flush_log_at_trx_commit = 1 #innodb_flush_log_at_trx_commit = 2 performance_schema=1 [mysql] Yes,this is a slave instance,but there was no any real replication events while sysbench was running. Something important may be: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-03-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Current status: Again, I've been running the test for about 2 days now. One thing I did differently was that I created the tables in the default test database, so they ended up being latin1. Also, I ran the test under root. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-03-22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've run a several-day test on a bigger machine, where i could use the exact same config, including innodb_buffer_pool_size and all; still haven't got full scans. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2021-09-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This affects an old version of the server (10.0). If this problem persists with an up-to-date version, please open a new ticket. |