slow peoplesoft query in 12.1.0.2 DB
Hi All,
Attached people soft sql query running too slow on 12.1.0.2 database.
sql monitor report is below as well attached. Please advise ,how we can improve it , can this be rewritte in peoplesoft or its auto generated in peoplesoft.
can see cardinality estimation too wrong here.
Global Information
------------------------------
Status : DONE
Instance ID : 1
SQL ID : 45qquxj8qp2bq
SQL Execution ID : 16777216
Execution Started : 08/10/2017 11:12:45
First Refresh Time : 08/10/2017 11:12:53
Last Refresh Time : 08/10/2017 12:42:19
Duration : 5374s
Global Stats
======================================================================
| Elapsed | Cpu | IO | Concurrency | Buffer | Read | Read |
| Time(s) | Time(s) | Waits(s) | Waits(s) | Gets | Reqs | Bytes |
======================================================================
| 5387 | 1688 | 3699 | 0.00 | 365M | 242K | 2GB |
======================================================================
SQL Plan Monitoring Details (Plan Hash Value=2540128842)