Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Generate a list of connected users and the global temporary tables that they have in use

Niels JespersenNov 28 2017 — edited Nov 29 2017

You cannot drop a global temporary table, which is in use by some user. The table is not locked, but there is data in the GTT, which is enough that the GTT cannot be dropped.

v$tempseg_usage shows which users have 'DATA' temporary segments, but not which temporary tables these are in.

Any way to provide this link between logged in user and GTT(s) that are in use by ths user?

Regards Niels Jespersen

This post has been answered by Jonathan Lewis on Nov 28 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2017
Added on Nov 28 2017
17 comments
1,069 views