-   Performance & Tuning (
-   -   Session tfgld5400m000 performance (

anubhav.bansal 18th April 2007 07:40

Session tfgld5400m000 performance
Hi All,
This session performance is very slow,I have analyzed a bit on it's query and found out the following points:
1.If we remove { tfgld410.fyer, tfgld410.fprd } between
{ :fyer.f , :fprd.f } and {:fyer.t, :fprd.t} and selection on table tisfc001 then it makes the query very fast.
But we can not remove this otherwise query will be wrong from the functional point of view so can any one please suggest something on it.

Whole query which we are using is :

select tfgld410.ocom, tfgld410.tror, tfgld410.fitr, tfgld410.trdt,
tfgld410.trtm, tfgld410.sern, tfgld410.leac, tfgld410.orno,
tfgld410.dbcr, tfgld410.cprj, tfgld410.amth, tfgld410.pono,
from tfgld410, tfgld418, tisfc001
where tfgld410._index2 inrange {:tfgld000.loco, "", tctror.prd, :orno.f}
and {:tfgld000.loco, "", tctror.prd,:orno.t}
and tfgld410.fcom =
and { tfgld410.fyer, tfgld410.fprd } between
{ :fyer.f , :fprd.f } and {:fyer.t, :fprd.t}
| and tfgld410._index1 refers to tfgld418
and tfgld418._index1 = tfgld410.c001
and tfgld418.sint = tfgld.sint.posted
| and tfgld410.orno refers to tisfc001.pdno
and tisfc001._index1 = {tfgld410.orno}
and tisfc001.osta inrange :osts.f and :osts.t
order by tfgld410._index2
| as prepared set

Juergen 18th April 2007 14:59


is solution 162940 "The performance of the WIP reconciliation report is poor" installed on your system?


sushshah 20th June 2007 12:37

Please try removing "as prepared set" statement.

All times are GMT +2. The time now is 00:37.

©2001-2017 - -