Pruning data from UE tables
If you use the EVMON_FORMAT_UE_TO_TABLES procedure to extract data from UE tables, you can use the PRUNE_UE_TABLE option to remove data that you no longer need.
Before you begin
About this task
Procedure
To extract and then prune data from a UE table:
Issue an SQL statement that calls the EVMON_FORMAT_UE_TO_TABLES
procedure with the PRUNE_UE_TABLE option to extract data into a regular
table.
For example, if you have a unit of work event
monitor called TRACKWORK, you might create a statement such as the
one that follows:
CALL EVMON_FORMAT_UE_TO_TABLES
('UOW', NULL, NULL, NULL, NULL, NULL, 'PRUNE_UE_TABLE', -1,
'SELECT * FROM TRACKWORK')
All event
data is copied from the UE table to the UOW_EVENT_TRACKWORK and UOW_METRICS_TRACKWORK
tables. In addition, all records that were copied are removed from
the UE table.