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!

Library Cache wait event

User_OCZ1TJul 20 2018 — edited Jul 25 2018

We are using version 11.2.0.4 of oracle Exadata.

Suddenly we see many of INSERT and SELECT queries were experiencing wait event "library cache lock" and are not moving ahead. Then tracking back to the session and related sql_id, we found one CREATE table statement which was showing event as "shared Pool Latch" and that was initiated from a third party userĀ  and when we killed that session all the waits(library cache lock) disappears. And we were not able to see the full text of the CREATE DDL either from dba_hist_sqltext/gv$sqlarea/gv$sql , but just the initial few words of that like below. So just wanted to understand , logically how the CREATE table can cause the SHARED POOL latch and block many of the other queries? And if there is a way, we can get full text of the DDL statement from the performance history.?

"Create table TEST1 as "

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2018
Added on Jul 20 2018
32 comments
2,089 views