PS Query runs very slow in PIA but faster in SQL Plus. Any pointers?
We have a query that returns in 10 sec when run in SQLPLUS and TOAD but same query when run via PS Query (PIA) returns after 10 min.
Following things have been attempted so far without success -
1. Created more number of PSQRYSRV processes of app server. Currently, min 2, max 4
2. Bounced App server after clearing cache
3. Ran complete DB statistics
4. Tried scheduling the query
Our Env-
ELM 9.0 PT 8.51 The query is complex joining 6 tables and nested selects
Any pointers to solve this as soon as possible will help.
Thanks in advance.