"Library Cache Lock" Caused By Dbms_stats.save_inmemory_stats
(Doc ID 2509540.1)
Last updated on JULY 08, 2021
Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
- On : 18.104.22.168 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.