XYGATE Merged Audit Reference Manual

Table Of Contents
XYPRO Technology Corporation 145 Proprietary and Confidential
Chapter 8. Maintaining the XMA
Database
The XMA SQL database should be managed by a knowledgeable Database
Administrator. There are several tasks that should be performed at regularly scheduled
intervals to prevent the data tables from filling up and to maintain the efficiencies of
queries. These tasks are the following:
1. Remove obsolete Records by either Archive or Cleanup process (page 150).
2. Perform FUP Reloads (page 152).
3. Update Statistics (page 152).
4. Resizing the Data Tables (page 153).
5. Partitioning the XMA Database (page 154).
Note: If you decide to move the Audit Detail (AUDDET, Appendix C5:) or
Audit Session (AUDSESS, Appendix C4:) table to another drive, or if you
choose to partition either of these tables, then the primary partition for both
the AUDDET and AUDSESS tables must reside in the XMADAT subvolume.
8.1 Remove Obsolete Records
Obsolete data records can be deleted from the production XMA database in two ways
depending on whether or not you wish to preserve the data as follows:
If you wish to preserve the deleted data, you should use the Archive process. Refer
to section 8.1.2, “Archiving the XMA Database” on page 148 for more information.
If you do not wish to preserve the deleted data, use the Cleanup process. Refer to
section 8.1.3, “Using CLEANUP to Delete Obsolete Data Records” on page 150 for
more information.
8.1.1 Selective Archive and Cleanup
You can choose to retain certain audit records in the XMA database for different
periods of time. For example, if you regularly remove historical data older than
60 days, but an audit requirement makes it necessary to retain information about
adding and deleting user records for five years, then create a Filter that selects
Safeguard records where the OPERATION is CREATE or PURGE. You can then
configure the length of time these records must be retained by using either the
RETAIN_MONTHS or RETAIN_DAYS keywords.