Files
oracle/csierra/cs_ash_snapshot.sql

4 lines
247 B
MySQL
Raw Normal View History

2026-03-12 21:23:47 +01:00
REM Merges a snapshot of v$active_session_history into C##IOD.iod_active_session_history
select count(*) from c##iod.iod_active_session_history;
EXEC C##IOD.IOD_SESS.snap_ash(p_force => 'Y');
select count(*) from c##iod.iod_active_session_history;