Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help for Estimated Cost Clause for Selects in ST05

former_member425121
Participant
0 Kudos

Hi

Does somebody knows where can i find help for understand what is or how to 'read' the Estimated Cost Clause for the Selects in the trace ST05 analysis.

Regards

Frank

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I use the estimated costs only for comparison purposes - for example two different SELECTS trying to get the same data.

Rob

5 REPLIES 5

Former Member
0 Kudos

I use the estimated costs only for comparison purposes - for example two different SELECTS trying to get the same data.

Rob

0 Kudos

Hi Rob

That's just what i want to do, compare one original select with other modified select wich get de same data (this new select replace the first) for compare wich one is better for performance.

Is there some help for can do this comparison using the ST05 Estimated Cost ?

Regards

Frank

0 Kudos

So if you run both SELECTs, you should get two different estimated costs. The plus side of this is that it is unaffected by any buffering. The down side is that bot selects may be translated into a different number of actual database SELECTs. This makes the comparison difficult.

I prefer a more "real world" approach and instead of ST05, I use either GET TIME or GET RUNTIME multiple times against both SELECTs.

Rob

0 Kudos

Thanks Rob

That's good point, i was trying to use the ST05 for compare two selects, but just like you said, the ST05 time is affected by work-load server and the Estimated Cost is desglozed in way not easy to 'read'.

So, talking about use GETTIME or GETRUNTIME, what's your suggestion; use these for each select: one first time begining the session, then anhoter time for take in account the buffering, then anhoter time (3 times for each Select) ?

And just for confirm, GETTIME and GETRUNTIME are affected too by work-load server ?

Thanks a lot.

Frank

0 Kudos

This may help:

/people/rob.burbank/blog/2006/09/13/using-an-index-when-you-dont-have-all-of-the-fields

Rob