| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Gleb Paharenko | Date: | July 18 2005 8:51am |
| Subject: | Re: Performance difference? : [SELECT ON Merge TableAB] vs [(SELECT ON Table A) UNION (SELECT ON TABLE B) ] | ||
| View as plain text | |||
Hello. I've searched in the archives at: http://lists.mysql.com/mysql but the only thing I've found is that the speed difference is rather low. In my opinion, using UNION is a more flexible solution. pow <powster@stripped> wrote: > Hi everyone, > Take for example two identical tables A & B, and a MERGE table merging > both of them. > Would there be any performance advantage if I do a select (with a where > criteria on an indexed column) on the MERGE table, as opposed to doing a > union of two selects with the same WHERE criteria? > > Many Thanks! > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ Gleb.Paharenko@stripped /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com
| Thread | ||
|---|---|---|
| • Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE? | Miles Keaton | 15 Jul |
| • Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE? | Gleb Paharenko | 15 Jul |
| • Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE? | Bruce Dembecki | 15 Jul |
| • Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE? | Miles Keaton | 16 Jul |
| • Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE? | Bruce Dembecki | 17 Jul |
| • Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE? | Bruce Dembecki | 17 Jul |
| • Performance difference? : [SELECT ON Merge TableAB] vs [(SELECT ONTable A) UNION (SELECT ON TABLE B) ] | pow | 17 Jul |
| • Re: Performance difference? : [SELECT ON Merge TableAB] vs [(SELECT ON Table A) UNION (SELECT ON TABLE B) ] | Gleb Paharenko | 18 Jul |
