Purging old data from Performance Advisor database
For non-aggregated tables and daily real-time statistics accumulations, use a DELETE SQL statement to purge old data from the tables based on the EVNTTIME column for the following tables:
- STMT_ERRORS
- STMT_EXCEPTIONS
- STMT_EXCEPTIONS_HV
- STMT_EXCEPTIONS_OB
For other tables, use a DELETE SQL statement to purge old data based on the INTVTIME column.
The following figure shows an example of a DELETE SQL statements for purging data.
This section contains the following topic:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*