[MDEV-2750] LP:954439 - Painfully Slow Query on MariaDB 5.3.5 - Inner Join Created: 2012-03-13 Updated: 2012-10-04 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | DaveFM (Inactive) | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
You can use the data files from https://bugs.launchpad.net/maria/+bug/938977 to reproduce this. Mysql 5.1.49 and MySQL 5.1.61 I was getting ready to move to MariaDB on production. SELECT `data_mediagallery`.`filetype` AS `filetype`, `data_mediagallery`.`id` AS `id`, `data_mediagallery`.`metadata` AS `metadata`, `data_mediagallery`.`title` AS `title`, `data_mediagallery`.`vhost` AS `vhost` FROM data_mediagallery AND It's very similar to the query in the previous bug. The geoMorton function is available there also. |
| Comments |
| Comment by Elena Stepanova [ 2012-03-14 ] |
|
Re: Painfully Slow Query on MariaDB 5.3.5 - Inner Join I am not getting quite the same difference. Here is what I have for the new query (all are "warm" results): InnoDB tables: MariaDB 5.3.5: ~ 1 min 8 sec MyISAM tables: MariaDB 5.3.5: ~ 43 sec query_cache_size=0. Results were volatile, and cold ones were all over the place (from 1 min to 6+ min). But the tendency is that MariaDB 5.3.5 indeed executes the query slower than MySQL+InnoDB-plugin, which, I presume, you are using; but it is not as much slower as you have seen (not 5 sec vs 3+ min). Could you please confirm that your results relate to the same query and same basic conditions (same data, configuration, first execution vs not first, etc.); and if it is so, provide your cnf file, so we make sure we are targeting the right problem? Thanks. |
| Comment by Rasmus Johansson (Inactive) [ 2012-03-22 ] |
|
Launchpad bug id: 954439 |