Can SQL_Patch Or Other Method Be Used To Prevent Specific SQL From Running?
(Doc ID 2906095.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 to 19.16.0.0.0 [Release 12.2 to 19]Information in this document applies to any platform.
Goal
Specific to this customer, they have an application bug which causes an unwanted SQL to run in high frequency , which consumes database resources.
Customer had found that SQL Patch can inject a hint into sqlid , (so the idea is trying to inject an invalid hint to SQL to make it error), but SQL_Patch did not work.
How can a specific SQL be prevented from running on the database?
Solution
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
Goal |
Solution |
CREATE_QUARANTINE_BY_SQL_ID Function |
References |