Skip to content

Commit e4d22c2

Browse files
committed
query from tanel to check exec plan for offloading
1 parent 8451559 commit e4d22c2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sql_monitor_offload.sql

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SELECT
2+
sql_exec_id,
3+
plan_line_id id
4+
, LPAD(' ',plan_depth) || plan_operation
5+
||' '||plan_options||' '
6+
||plan_object_name operation
7+
, ROUND(physical_read_bytes /1048576) phyrd_mb
8+
, ROUND(io_interconnect_bytes /1048576) ret_mb
9+
, (1-(io_interconnect_bytes/NULLIF(physical_read_bytes,0)))*100 "SAVING%"
10+
FROM
11+
v$sql_plan_monitor
12+
WHERE
13+
sql_id = '9n2fg7abbcfyx'

0 commit comments

Comments
 (0)