2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

24
vg/flush_sql.sql Normal file
View File

@@ -0,0 +1,24 @@
DEFINE sql_id="&&1"
DECLARE
name varchar2(50);
version varchar2(3);
BEGIN
select regexp_replace(version,'\..*') into version from v$instance;
if version = '10' then
execute immediate
q'[alter session set events '5614566 trace name context forever']'; -- bug fix for 10.2.0.4 backport
end if;
select address||','||hash_value into name
from v$sqlarea
where sql_id like '&sql_id';
sys.dbms_shared_pool.purge(name,'C',1);
END;
/
UNDEFINE sql_id