Database Tuning (MOSC)

MOSC Banner

V$px_session show no slave sessions but query is executed in parallel

edited Feb 22, 2011 6:10PM in Database Tuning (MOSC) 5 commentsAnswered ✓
Hi All, 

The interesting thing I encountered these days is although the v$px_session didn't show any slaves, it seemed the query was executed in parallel.

The evidence is: I ran the same sql with and without 'alter session disable parallel query' alternately. The reponse times are stable and quite different.

I have tested another method to check slave processes, that is:
1. To get the sql_id from v$session where sid = my_session_id.
2. To check how many sessions in the database, by select * from gv$session where sql_id = sql_id_from_step1

Both of the ways show no slave processes for my query.

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