Run the Area of Interest Cleaner Utility from Windows Explorer
You should only run the Area of Interest Cleaner utility from Windows® Explorer® if your database includes only a small number of Areas of Interest (fewer than 500). When you run the utility from Windows Explorer, the deletion routine runs using its default settings. In doing so, the utility will adversely affect the database while it runs, slowing the server's response to requests from other sources such as telemetry drivers. (To allow the server to continue to process other requests in between server requests from the Area of Interest Cleaner utility in a more timely manner, run the utility from a Command Prompt window and specify the relevant command line options.)
To run the Area of Interest Cleaner utility from Windows Explorer:
- Log on to a ViewX client PC.
- Ensure that you have an up-to-date backup of the database before running the Area of Interest Cleaner utility. For information about backing up a database, see Back up the Database.
- Use Windows Explorer to locate the utility, AOICleaner.exe.The utility is installed in the same directory as other Geo SCADA Expert installation files. The default location of the files varies depending on the Windows operating system (see File Locations (Default) in the Geo SCADA Expert Installation Guide).
- To run the Area of Interest cleanup routine, double-click on the AOICleaner.exe file.
A Command Prompt window is displayed, prompting you for a valid username and password. These have to be for a user account that has permissions to access the Geo SCADA Expert database and delete unused Areas of Interest.The Command Prompt window closes once you press the Enter key. If the credentials are valid, the utility attempts to connect to the database and read the Areas of Interest to determine which are unused. The cleanup routine then deletes the unused Areas of Interest in alphanumeric and hierarchical order, from the top-level Areas of Interest downwards.
While the routine runs, the server's response to requests from other sources is affected. (When run from Windows Explorer, the utility inserts a 1-millisecond delay in between server requests to enable the server to continue processing requests from other sources. Such a short delay might result in a noticeable slowdown in performance on systems that have a large or complicated Area of Interest structure.)
Depending on the size and complexity of the Area of Interest structure in your database, the cleanup routine might take from a few seconds to a number of minutes to complete.