Delete From WRH$_SQL_BIND_METADATA Runs Slowly And Blocks Other Session In AWR Warehouse
(Doc ID 2781320.1)
Last updated on JULY 16, 2021
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
- Delete from WRH$_SQL_BIND_METADATA runs slowly and blocks other session in AWR Warehouse
- This delete statement runs frequently and causes blocking for other jobs, sometimes running for multiple days at at time:
delete from WRH$_SQL_BIND_METADATA tab where (dbid = :dbid) and snap_id in (select snap_id from X$KEWRIPSL)
50 or more databases configured in AWR warehouse and retention policy is quite high for example 1 year.
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