"Library Cache Lock" Caused By Dbms_stats.save_inmemory_stats
(Doc ID 2509540.1)
Last updated on NOVEMBER 05, 2019
Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
- On : 126.96.36.199 version, RDBMS
- DDL with ALTER TABLE <table name> TRUNCATE SUBPARTITION, but it is hanging with "library cache lock" due to In-Memory worker process (W000) which runs dbms_stats.save_inmemory_stats
- Dbms_stats.save_inmemory_stats runs indefinitely on a 12.2 database with inmemory enabled and places a library cache lock for the gather stats job, preventing from collecting statistics
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.