Slow running Function [message #56788] |
Thu, 24 April 2003 15:24 |
Ray
Messages: 58 Registered: January 2000
|
Member |
|
|
I have a function that runs slow on 1 server (about 33 seconds) as opposed to another server (about 12 seconds). It is a large function but shouldn't be that slow. The servers are identical in size, processor speed, # of processors, memory,etc. I have checked SHARED POOL size, SHARED MEMORY, SQL AREA, and a few other places, but still no help. Any ideas would be greatly appriciated. Thanks in advance.
|
|
|
|
Re: Slow running Function [message #56795 is a reply to message #56791] |
Fri, 25 April 2003 06:48 |
Ray
Messages: 58 Registered: January 2000
|
Member |
|
|
Same version on both machines. Indexes and data appear to be the same as well as the tables being the same in size, structure, etc. Is there a specific function check process that is helpful? Normal stats does not seem to help much. Thanks
|
|
|
|
Re: Slow running Function [message #56800 is a reply to message #56799] |
Fri, 25 April 2003 09:22 |
psmyth
Messages: 81 Registered: October 2002
|
Member |
|
|
check the contents of dba_tables and dba_indexes for the relevant tables and indexes on both systems - your looking to see if they have been analyzed at similar times in a similar way... might be worth analyling all indexes and tables on both systems and trying it again... if you're not using rule-based optimization (which doesn't use this information anyway).
|
|
|
|