|
|
|
Re: Tunning - urgent [message #111448 is a reply to message #110527] |
Wed, 16 March 2005 08:17 |
skmishra
Messages: 2 Registered: March 2005 Location: New Delhi
|
Junior Member |
|
|
Hi,
1. Check whether Table & Index are in different Tablespace or Not.
2. Use Parallel(degree) hint to speed up the Process.
Thanks
S.K.Mishra
DBA
|
|
|
Re: Tunning - urgent [message #111669 is a reply to message #110527] |
Fri, 18 March 2005 09:23 |
smartin
Messages: 1803 Registered: March 2005 Location: Jacksonville, Florida
|
Senior Member |
|
|
1. If these are millions of records the tables might should be partitioned, probably by date, which in itself might solve the execution time.
2. It isn't the inline views that is the problem, it is the numerous correlated subqueries inside them. See if you can't rewrite each inline view to actually have another inline view nested inside it to avoid the correlateds.
Basically get all of your date comparisons in inline views of themselves (or use the with clause) so that your correlated comparisons don't have to compare as many rows.
3. Look into using some analytic functions, I don't know what you are trying to do, but it has the looks of something that analytics could be used to simplify and speed up.
|
|
|