‎2007 Jul 31 5:04 PM
We are running a report. It is taking long time for
execution. What steps will i do to reduce the
execution time?
‎2007 Aug 02 12:57 PM
Hi,
I think u must have used many tables with inner jion, that's why it is taking more time.
So, split the query,
for example first retrieve fields from a single or two tables.
Likewise extract fields from different tables separately, and finally join using loop with common key fields within the tables. Then the report will run faster.
Regards,
Sathya Rajkumar.
‎2007 Aug 02 12:57 PM
Hi,
I think u must have used many tables with inner jion, that's why it is taking more time.
So, split the query,
for example first retrieve fields from a single or two tables.
Likewise extract fields from different tables separately, and finally join using loop with common key fields within the tables. Then the report will run faster.
Regards,
Sathya Rajkumar.
‎2007 Aug 02 12:58 PM
u can use trace st05 to find out which statements are taking longer duration 2 exxecute and resolve accordingly.
‎2007 Aug 02 12:59 PM
HI,
Most Common Bottlenecks
Accessing a table without using index.
Retrieving data from a table when the data is already known.
Retrieving excess data.
Nested SELECT'S or LOOP'S.
Inefficient internal table usage.
Accessing Cluster and Pool tables.
Extended data locking (causing serialization and potentially deadlocks).
The use of OR, NOT and IN in a SELECT statement.
Bypassing table buffering.
‎2007 Aug 02 1:00 PM
Hi Raj,
I think you used Join Condition.
Just copy paste your select statement alone in
forum.
So we can suggest you.
<b>Regards,
Jackie.</b>