Application Development and Automation 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: 
Read only

REPORT

Former Member
0 Likes
444

We are running a report. It is taking long time for

execution. What steps will i do to reduce the

execution time?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
426

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.

4 REPLIES 4
Read only

Former Member
0 Likes
427

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.

Read only

former_member188827
Active Contributor
0 Likes
426

u can use trace st05 to find out which statements are taking longer duration 2 exxecute and resolve accordingly.

Read only

Former Member
0 Likes
426

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.

Read only

Former Member
0 Likes
426

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>