Need to edge out the competition for your dream job? Train for certifications today.
job_name => 'PURGE_STATS_PACK',
job_type => 'PLSQL_BLOCK',
job_action => q'[DECLARE
v_threshold DATE := SYSDATE - 7; -- delete snapshots older than one week
FOR x IN ( SELECT dbid,
WHERE snap_time < v_threshold
GROUP BY dbid, instance_number
ORDER BY min_time)
i_begin_snap => x.min_snap,
i_end_snap => x.max_snap,
i_snap_range => TRUE,
i_extended_purge => TRUE,
i_dbid => x.dbid,
i_instance_number => x.instance_number
|| ' Instance: '
|| ' Snapshots purged: '
start_date => SYSDATE,
repeat_interval => 'FREQ=weekly',
enabled => TRUE,
comments => 'Job to periodically purge old statspack snapshots'
Open in new window
This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.