FIX: fix dbms_workload_repository package syntax error in Oracle mode
This commit is contained in:
@ -38,6 +38,7 @@ CREATE OR REPLACE PACKAGE BODY dbms_ash_internal AS
|
||||
' a.in_committing, ' ||
|
||||
' a.in_storage_read, ' ||
|
||||
' a.in_storage_write, ' ||
|
||||
' a.in_remote_das_execution, ' ||
|
||||
' a.module, a.action, a.client_id ' ||
|
||||
'FROM GV$ACTIVE_SESSION_HISTORY a ' ||
|
||||
'WHERE 1=1 ';
|
||||
|
||||
@ -356,7 +356,7 @@ BEGIN
|
||||
' SUM(CASE IN_SEQUENCE_LOAD WHEN ''N'' THEN 0 ELSE 1 END) IN_SEQUENCE_LOAD, ' ||
|
||||
' SUM(CASE IN_COMMITTING WHEN ''N'' THEN 0 ELSE 1 END) IN_COMMITTING, ' ||
|
||||
' SUM(CASE IN_STORAGE_READ WHEN ''N'' THEN 0 ELSE 1 END) IN_STORAGE_READ, ' ||
|
||||
' SUM(CASE IN_STORAGE_WRITE WHEN ''N'' THEN 0 ELSE 1 END) IN_STORAGE_WRITE ' ||
|
||||
' SUM(CASE IN_STORAGE_WRITE WHEN ''N'' THEN 0 ELSE 1 END) IN_STORAGE_WRITE, ' ||
|
||||
' SUM(CASE IN_REMOTE_DAS_EXECUTION WHEN ''N'' THEN 0 ELSE 1 END) IN_REMOTE_DAS_EXECUTION ' ||
|
||||
'FROM (' || DBMS_ASH_INTERNAL.ASH_VIEW_SQL || ') top_event ) phases ' ||
|
||||
' unpivot ' ||
|
||||
|
||||
Reference in New Issue
Block a user