Foxhound is the better* Database Monitor for SQL Anywhere.
*better: More thorough, more relevant, more effective.
...more Alerts, more All Clears, more details, more control in your hands.
|
[Home] | [Table of Contents] | [Previous Section] | [Next Section] |
Breck Carter
Last modified: February 12, 1998
mail to: bcarter@bcarter.com
Figure 19 shows that adding the ALL keyword to a UNION makes it go quite a bit faster. That's because SQL Anywhere isn't required to remove duplicate rows and therefore doesn't have to create a temporary table. If you don't care that result set has duplicate rows or if you know there won't be any duplicates then use UNION ALL instead of UNION.
Figure 19 - UNION ALL Is Faster Than UNION
|
[Home] | [Table of Contents] | [Previous Section] | [Next Section] |