Show Contents / Index / Search

Ways to Initiate Caching

To start caching, you must complete the following two steps:

  • Enable caching for the data source in the Base Source Cache dialog box.
  • Initiate the caching process. The different options for doing this are listed in the following table. The method you choose will determine your entries when you set up caching.


    How to implement

    Manual initiation

    Each time you want Enterprise Server to run caching, right-click the base source and select Start caching updates, or type the following at a command prompt:

    DBEnterprise CACHE basesourcename

    Scheduled initiation

    Schedule a batch file that periodically runs Enterprise Server with the CACHE command via Windows scheduler.

    Host initiation

    The Databridge Server establishes a connection to Enterprise Server when more audit is available. (See the Databridge Server NOTIFY option in the Databridge Host Administrator's Guide.) Enterprise Server starts a batch file that runs the application with the CACHE command.

The first time you cache a particular base source, Enterprise Server begins by caching the oldest audit file available on the host. Each subsequent time Enterprise Server caches that source, it uses the AFN (from the file LastAFN.txt) to determine where to resume caching.

Enterprise Server writes a copy of all updates from DMSII audit files for the base source to the basesourcename subdirectory of the specified parent directory.

If you restart the computer or quit Enterprise Server while it is caching, you must restart caching using one of the initiation methods.


Starting Enterprise Server with the CACHE Command