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

View File

@@ -0,0 +1,17 @@
--|-------------------------------------------------------------|
--| Author : Mohamed Houri --|
--| Date : 08/06/2022 --|
--| Scope : Create a SPM baseline from a cursor cache --|
--| Usage : @loadSPMfromCache --|
--| Remarks : --|
--|-------------------------------------------------------------|
set serveroutput on
declare
spm_op pls_integer;
begin
spm_op := dbms_spm.load_plans_from_cursor_cache (sql_id => '&sqlid'
,plan_hash_value => to_number(trim('&plan_hash_value'))
);
dbms_output.put_line('Plans Loaded into SPB :'||spm_op);
end;
/