SQL Performance (MOSC)

MOSC Banner

Query hang detected when I used a parallel query which is located in Package.

edited Nov 13, 2013 11:08PM in SQL Performance (MOSC) 5 commentsAnswered
Hello.

Query hang detected when I used a parallel query which is located in Package.

When I execute this query on the SQLPLUS directly, the query is successfully finished within 30sec. 

However, when I execute this query in Package(PL/SQL Package), the query is never ended.(over 4~5 hours)

Unfortunately, Oracle SR Engineer could not find any reason about this during one month. 

 

EXECUTE IMMEDIATE 'ALTER SESSION FORCE PARALLEL DML PARALLEL 8';

EXECUTE IMMEDIATE 'ALTER SESSION FORCE PARALLEL QUERY PARALLEL 8';

Give me some advice about this issue.

Have a nice day. Thanks~!

 

DB: Oracle Database 11gR2( Oracle RDBMS 11.2.0.3 with BP14 )

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