Re: Is Union Queries run in Parallel form or not.
You mean it depend on Machine. If it support multiple-processors then it automatically run in parallel. If it is single processor then it run one by one.
I test it on Core i5 but it seems it's not run in parallel. I think core i5 support at least two physical multi processor. It should need to run in parallel
form.
Here is what I found when I run query with explain
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
------------------------------------------------------------------------------------------------------------------------------------------------------
1 PRIMARY table1 NULL ALL NULL NULL NULL NULL 122882 100.00 NULL
2 UNION table2 NULL ALL NULL NULL NULL NULL 122882 100.00 NULL
NULL UNION RESULT <union1,2> NULL ALL NULL NULL NULL NULL NULL NULL Using temporary
Actually I need to work on Google Cloud SQL. is it support UNION queries in parallel form ?
Subject
Views
Written By
Posted
1197
October 17, 2017 11:40PM
745
October 18, 2017 08:32AM
Re: Is Union Queries run in Parallel form or not.
1044
October 18, 2017 10:43PM
655
October 18, 2017 10:55PM
768
October 19, 2017 03:02AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.