Previous Topic

Next Topic

Book Contents

Book Index

Trim Statistics DB

"Trim Statistics DB" deletes all MOVEit Central audit records older than a certain number of days, and optionally saves them to tab-separated files.

Input Parameters

Notes

This built-in script should only be run as the first (and only) step of a task. (Process-level per-file or once-after-all-files settings will be ignored.)

Over time, the statistics database can accumulate many records, slowing performance and using megabytes of disk space. To prevent this, MOVEit Central is typically configured to run this built-in script periodically, optionally saving them to a file or another database before deletion.

Beginning with version 3.0, during a fresh install, MOVEit Central began to automatically install and schedule a custom script to perform the same actions detailed here. Beginning with version 3.1.5, the custom script was converted to and replaced with a built-in script that could no longer be viewed or modified but was much easier to upgrade.

Older versions of Trim Statistics DB may have used a parameter named DSNMICStats. If DSNMICStats appears in the task parameter listing it will be ignored and so it is safe to delete it.

Example #1

Bob has noticed that the various task history dialogs in MOVEit Central have been "sluggish" lately and asks Ipswitch for some advice. Ipswitch notices that Bob has more than two hundred tasks that "poll" FTP servers every five minutes, all day long. Most (98%) of these polls do not yield files, but MOVEit Central will faithfully log this information during each poll. Over the course of a single day, this means that more than 55,000 "no xfer" actions will have been logged to the database. Bob knows that "no xfer" information can be of value in debugging, but Ipswitch would prefer he remove them after a few days and only retain "success" or "failure" audit entries for long periods of time. Bob and Ipswitch settle on retaining one week of "no xfer" records, and still decide to keep a full 60 days of "success" and "failure" logs in the database. He will not save the "no xfer" records to the longer term archive logs.

To accomplish this with MOVEit Central, Bob should...

  1. Select his existing "Trim Stats DB" task, which already has a process and schedule.
  2. Set process parameters: