2026-03-12 20:23:15
This commit is contained in:
18
tpt/xprof.sql
Normal file
18
tpt/xprof.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
--prompt Running DBMS_SQLTUNE.REPORT_SQL_MONITOR for SID &3....
|
||||
|
||||
SET HEADING OFF
|
||||
|
||||
SELECT
|
||||
DBMS_SQLTUNE.REPORT_SQL_MONITOR(
|
||||
&3=>&4,
|
||||
report_level=>'&1',
|
||||
type => '&2',
|
||||
inst_id => -1) as report
|
||||
FROM dual
|
||||
/
|
||||
|
||||
SET HEADING ON
|
||||
|
||||
Reference in New Issue
Block a user