You will find a good number of datapatch posts on my blog. And with Oracle AI Database 26ai from RU 23.26.0.0.0 onward (the October 2025 RU), we introduce a new functionality when you run datapatch: A kill-switch terminates blocking sessions during patching.

Photo by Yuko Tanaka on Unsplash
What is changing?
From Oracle AI Database 26ai onwards by default the invocation of datapatch will terminate any session currently holding a requested KGL X lock (Kernel Generic Library cache), an exclusive lock on an SQL or an PL/SQL procedure.
In reality this means:
- You invoke

I did blog several times about how to remove an unwanted component from a database. But yesterday I came across this interesting scenario worth a blog post.