[MDEV-8759] 10.0.21 20x slower Created: 2015-09-06 Updated: 2019-05-06 Resolved: 2019-05-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Update |
| Affects Version/s: | 10.0.21 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | JohnShep | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
ubuntu 3.10.33 |
||
| Attachments: |
|
| Description |
|
Apologies in advance if I am filing this in the wrong way or in the wrong place. |
| Comments |
| Comment by Elena Stepanova [ 2015-09-06 ] | |||||||||||||||||
|
You are filing it fine, but we need much more information to be able to even start looking into the issue. Please also attach your cnf file(s), we might need them when we gather enough information to actually start looking into it. Thanks. | |||||||||||||||||
| Comment by JohnShep [ 2015-09-07 ] | |||||||||||||||||
|
Hi Elena, all the best, John | |||||||||||||||||
| Comment by Elena Stepanova [ 2015-09-07 ] | |||||||||||||||||
|
Do you mean the script runs two huge updates, or it runs a huge number of small updates on each of 2 tables? In the first case, the process list will probably be very static, it's enough to run SHOW PROCESSLIST a few times to see which stages (states) the queries spend time on. Then we'll need to know what these updates look like, and output EXPLAIN UPDATE ... might help to understand what's wrong with them. In the second case, if they are tiny quick updates, it might be useful to set up a processlist monitor which will run SHOW PROCESSLIST every several seconds. When we know more on this level, we might have a better idea where to dig. If it's just two tables, it would be a big help if you could provide SHOW CREATE TABLE statements for each table and, ideally, a data dump (it can be uploaded to ftp.askmonty.org/private, so only MariaDB developers will have access to it). If the data is confidential and you can't provide it, please at least run SHOW INDEX IN .. and SHOW TABLE STATUS LIKE ... for each of two tables. | |||||||||||||||||
| Comment by JohnShep [ 2015-09-08 ] | |||||||||||||||||
|
Hi Elena,
where r, RD, ranking and human_id vary show process list shows many waiting for table level lock (below) and running the batch program on the test machine with no other reqs being made to DB only took 4 mins. So I guess the problem lies in the table locking ? I have uploaded table to ftp.askmonty.org/private v3.2015-09-04_v3.humans.sql thanks again, John
| |||||||||||||||||
| Comment by JohnShep [ 2015-09-08 ] | |||||||||||||||||
|
Hi Elena, SELECT plugin_status FROM information_schema.plugins WHERE plugin_name = 'feedback' plugin_status ACTIVE John | |||||||||||||||||
| Comment by Elena Stepanova [ 2019-04-06 ] | |||||||||||||||||
|
The issue fell through the cracks, sorry about that; but now 10.0 has gone EOL. |