MySQL UNION ALL performance tuning

Viewed 752
SELECT `col1` FROM `tbl1`;   -- takes 0.0022s

SELECT `col1` FROM `tbl2`;   -- takes 0.0017s

SELECT `col1` FROM `tbl1`
UNION ALL 
(SELECT `col1` FROM `tbl2`); -- takes 0.1100s

Why UNION ALL working slow?

Any other alternative of using UNION ALL?

1 Answers
Related