To enable audits, the AMSI module stores scan requests in a database. If your AMSI workload is high, the database may grow rapidly. To ensure optimum performance in this environment, follow these recommendations:
Add exclusion parameters. For more information. See Configuring policy exclusions.
To avoid writing all clean scans to the database, enable the Discard Clean Scans option. For more information, see Changing the size of the agent database.
To avoid repeated vacuuming of the database, high CPU usage, and high disk IO operations, increase the database size. For more information, see Changing the size of the agent database.
Reduce the time that records are kept by changing the Delete records older than setting. For more information, see Advanced settings.