Setting Up a Base Source Cache

To enable caching, you must first configure a base source cache. The base source cache has additional options such as whether to cache before- and after-images.

To set up a base source cache

  1. In the right pane of the DATABridge Enterprise window, right-click a base source and click Properties.
  2. In the Base Source Properties dialog box, click the Cache button.
  3. In the Base Source Cache Properties dialog box, do the following:
    1. In the Cache parent directory box, type or browse to select the directory to which cached files are written. This box enables caching.
    2. From the When tracking, read cached files menu, specify an option to determine whether cached files can be read while tracking.
    3. From the Wait for audit to cache options, specify how long you're willing to wait for additional updates to cache.
    4. For Remove cache files when read n times, enter the number of DATABridge Clients you expect to read this cache. If Clients are tracking only filtered sources, only cached audit files from local filtered sources will be deleted; cache files for base sources will need to be removed manually.
    5. Select the check box Both before-images and after-images for modifies if you want to store before- and after-images for modified records. Not selecting this check box results in smaller cache files but does not allow for changes to record keys.
    6. From the Wait for audit to cache menu, select an option that determines if or how long Enterprise Server waits before checking for more updates.
  4. Click OK, and then click Save in the DATABridge Enterprise window.

    Note: If the Save button in the DATABridge Enterprise window is enabled, you have made changes that have not been written to disk and therefore are not yet in effect. To put your changes into effect, click the Save button.

  5. Set up a local source cache for each local source (derived from this base source) that you want to cache. If you don't have local sources you want to cache, you can populate only the base cache. When you first create a local source, all of its data sets except for the restart data sets are included.

    If the client requests updates from a local un-cached source, Enterprise Server will read updates from the base source's cache and apply the local source's filters. A filter is a set of conditions you can define, which allows you to replicate only the data that's relevant to a particular client. See Filtering a Local Source.


Setting Up a Local Source Cache