PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Query Returns From SQL Developer, Hangs from Query Manager Using Same Execution Plan

edited Nov 3, 2017 5:00AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 2 commentsAnswered

Hello,

A query one of our developers wrote returns in 5 minutes or less when it's executed from SQL Developer or SQL*Plus but runs indefinitely when we run it through Query Manager in PeopleSoft.

Although the execution plans appear to be almost identical, I've tried forcing the SQL ID associated with the Query Manager executions to use the same plan that the SQL Developer runs utilize (using the DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE package as noted below) but it doesn't seem to be creating the expected baseline.

Attached are details about the executions (from DBA_HIST_SQLSTAT), a screenshot of Query Manager and both the "good" and "bad" explain plans.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center