cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Performance Problem SQL on RESB

Private_Member_19084
Active Contributor
0 Likes
1,261

Hi experts,

since a few days we have a big performance impact by sql-statements on tabel RESB.

e.g. we have select-statements, which did take around 10 minutes and now over 3 hours.

We have already checked indizes and table consistent. Also table checks in DB02.

If I make the same sql on our testing system it is still fast, so only in the productive sytem we are facing this problem.

The table size in both systems is similar.

At the moment selecting around 1000 rows in PROD systems takes more than 10 minutes.

In Q System it takes just a few minutes for more than 100 000.

Can someone help to analyze the problem?

Thank you

View Entire Topic
Private_Member_19084
Active Contributor
0 Likes

Now I did also findout.

If I select in SE16 for  500 rows, it is really fast (around 2 seconds).

But if I select for 1000 rows (same critery) it takes more minutes.

Former Member
0 Likes

Hi Christian,

Do you have any secondary index(assuming you are using ORA DB) on table RESB?

Cheers

Abhi

Private_Member_19084
Active Contributor
0 Likes

Hello Abhi,

first thx for help.

The select is done with the same index (I did analyze with ST12).

But one thing is different in ST12.
For 700 entries the ST12 displays 148 "DB Interface Cursor".

And for 800 entires only 9 cursor.

May this be the answer?

Now I also try to analyze with st05

Former Member
0 Likes

No Problem Christian. Also, have a look on below thread,

Private_Member_19084
Active Contributor
0 Likes

I've now done also an ST05 analyse and found out something very interesting (see graphic).

Only for the last block it takes very long (marked line)=.

Any idea for this?

Former Member
0 Likes

Try running tx-code SAT. It gives you very detailed and perfect picture, where exactly it is taking the time.

Private_Member_19084
Active Contributor
0 Likes

I think that SAT is not good for this analyse, because it is ABAP trace and would show which selects takes how long.

But in ST05 I did already see, that it is an SQL/DB problem.

Do you know other transactions for this?

Former Member
0 Likes

I would say pls have a look on your secondary indices in use. I have shared a thread already, request you to please go through that, on more info regarding index.