Performance Issue with UNION statement [message #22244] |
Tue, 01 October 2002 05:28 |
Mike Oakes
Messages: 25 Registered: December 2000
|
Junior Member |
|
|
Hello, I am having some performance issues when calling a view that is using a UNION statement. The tables that are joined together have about 100,000 rows each. The actual view is pretty simple (just joining each table together), but the view is being called from within another sql statement. If I take the union out and just reference 1 table, the performance is very quick. Combined, it is extremely slow.
Are there any system settings or parameters I can look at changing. Or is there anything I can do to tune the query.
Thanks for your help,
Mike Oakes
|
|
|
|