Query optimization [message #128227] |
Fri, 15 July 2005 17:37 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Hina
Messages: 51 Registered: April 2004
|
Member |
|
|
How to optimize following query?
SELECT analyst_id,
employee employee_name
FROM employee_alias
WHERE indicator = 'F'
UNION
SELECT analyst_id,
employee_name
FROM employee
/
|
|
|
|
|
Re: Query optimization [message #128256 is a reply to message #128238] |
Sat, 16 July 2005 04:06 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
Frank Naude
Messages: 4590 Registered: April 1998
|
Senior Member |
|
|
Yes, that is why you need to read the Performance Tuning Guide. It will enable you to do an explain plan and get some execution statistics. Without it, you would not know what's happening, nor will anyone else be able to help you.
Best regards.
Frank
|
|
|