ITPub博客

首页 > 数据库 > Oracle > Drop Baselines Hangs on Library Cache Lock (文档 ID 2186647.1)

Drop Baselines Hangs on Library Cache Lock (文档 ID 2186647.1)

Oracle 作者:mosdoc 时间:2016-12-19 23:59:03 0 删除 编辑

In this Document


Symptoms

Cause

Solution

References


Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

  • Drop baselines hangs with library cache lock
  • If the baseline is being used, the library cache lock wait occurs. The baseline never drops.
  • If the baseline is not being used, the CPU wait occurs. The baseline never drops.
  • The more plans per query the longer it takes to drop. If there is only one plan, the plan drops in seconds. 

Cause

This is due to following bug:

Bug 20903742 : DBMS_SPM.DROP_SQL_PLAN_BASELINE ALLOCATES HUGE AMOUNT OF PGA MEMORY


But this Bug was closed as a duplicate of following bug:

Bug 20877664 : EXTRACTCLOBXML, REPEATING PREVIOUS VALUES FOR NULL INPUT
 

 

Solution

Apply patch 20877664.
 

References

BUG:20903742 - DBMS_SPM.DROP_SQL_PLAN_BASELINE ALLOCATES HUGE AMOUNT OF PGA MEMORY

NOTE:790039.1 - How to Drop Plans from the SQL Plan Management (SPM) Repository

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31393455/viewspace-2130989/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2016-09-10

  • 博文量
    149
  • 访问量
    97485