2026-05-01 07:25:46
This commit is contained in:
+9
-5
@@ -15,6 +15,10 @@
|
||||
prompt Show Active workarea memory usage for where &1....
|
||||
|
||||
COL wrka_operation_type HEAD OPERATION_TYPE FOR A30
|
||||
col actual_mem_used for 999,999.99
|
||||
col max_mem_used for 999,999.99
|
||||
col work_area_size for 999,999.99
|
||||
col tempseg_size_MB for 999,999.99
|
||||
|
||||
SELECT
|
||||
inst_id
|
||||
@@ -22,16 +26,16 @@ SELECT
|
||||
, qcinst_id
|
||||
, qcsid
|
||||
, sql_id
|
||||
-- , sql_exec_start -- 11g+
|
||||
, sql_exec_start
|
||||
, operation_type wrka_operation_type
|
||||
, operation_id plan_line
|
||||
, policy
|
||||
, ROUND(active_time/1000000,1) active_sec
|
||||
, actual_mem_used
|
||||
, max_mem_used
|
||||
, work_area_size
|
||||
, actual_mem_used/1024/1024 actual_mem_used
|
||||
, max_mem_used/1024/1024 max_mem_used
|
||||
, work_area_size/1024/1024 work_area_size
|
||||
, number_passes
|
||||
, tempseg_size
|
||||
, tempseg_size/1024/1024 tempseg_size_MB
|
||||
, tablespace
|
||||
FROM
|
||||
gv$sql_workarea_active
|
||||
|
||||
Reference in New Issue
Block a user