> I believe this is a currently limitation in the code... > > Bug 7210183 > SQL_ID VALUE IS NOT SAME IN V$TEMPSEG_USAGE AND OTHER VIEWS. > > addresses this issue. Haven't checked this in 11.2 yet 11.2? I just checked OTN. The latest 11g is still 11.1.0.7. Indeed the definition of GV$SORT_USAGE in v$fixed_view_definition says the SQL columns are PREV_sql_%. I should've looked there first. I checked it in a 11.1.0.7 database. The definition is still the same. Yong Huang -- //www.freelists.org/webpage/oracle-l