Quantcast
Channel: Comments on: Using UNION to implement loose index scan in MySQL
Browsing latest articles
Browse All 31 View Live

Image may be NSFW.
Clik here to view.

By: Apachez

Is this a MySQL Optimizer bug (which we could expect to be fixed in near future) or is this “by design” for the next couple of years ?I mean the UNION is a nice workaround but needs more code and logic...

View Article



By: MySQL Performance Blog » MySQL: Followup on UNION for query optimization,...

[…] Few days ago I wrote an article about using UNION to implement loose index scan. […]

View Article

Image may be NSFW.
Clik here to view.

By: James Day

Apachez, one of many areas where it’s known that the optimizer can be improved. They are gradually being done, no particular schedule for when each one is done. Other than more slowly than we’d all...

View Article

By: How adding another table to JOIN can improve performance ? | MySQL...

[…] have described couple of solutions to this problem – using IN list instead of range or UNION which however require […]

View Article

By: How to select the first/least/max row per group in SQL at Xaprb

[…] Peter Zaitsev has written in detail about this technique, so I won’t go into it too much more here. If it suits your purposes, it can be a very good solution. […]

View Article


By: Mark

Its 3 years later, has this been fixed? If so, in what version of MySQL?Thanks!

View Article

By: How to select the first/least/max row per group in SQL | Wilson80s

[…] Peter Zaitsev has written in detail about this technique, so I won’t go into it too much more here. If it suits your purposes, it can be a very good solution. […]

View Article

By: Jindra

Thanks, helped me to optimize query with agregate function on table with multiple key:table: Create table tabData ( channel_id Int NOT NULL, date_time Datetime NOT NULL, value Double NOT NULL, Primary...

View Article


Image may be NSFW.
Clik here to view.

By: Spyd

Hey, i found this page while googling for more information after i implemented something exactly like this! I thought i had done something “dirty” but now i’m happy that this “tricky” method is...

View Article


By: You know, for kids!

In mysql> SELECT name FROM people WHERE age=18 AND zip IN (12345,12346, 12347) -> UNION ALL -> SELECT name FROM people WHERE age=19 AND zip IN (12345,12346, 12347) -> UNION ALL -> SELECT...

View Article
Browsing latest articles
Browse All 31 View Live




Latest Images