Open topic with navigation

# Delayed Synchronization

The indexing process has the following stages:

1. IDOL creates a representation of the new data in the index cache.

2. IDOL synchronizes the cache with data that it currently contains, and stores the new data on disk, removing it from the index cache.

Delayed synchronization allows you to select how IDOL synchronizes the index cache with the IDOL data. This process is useful in systems where you schedule indexing tasks at times when IDOL is also handling queries.

The `DelayedSync` parameter in the `[Server]` section of IDOL configuration file allows you to specify whether the indexing process uses delayed synchronization.

If the `DelayedSync` parameter is not set, IDOL synchronizes the cache as soon as the representation of data is made. New data is available to the user (as query results) quickly. Use this setting in systems where up-to-date data is the priority.

Synchronization uses resources that IDOL could otherwise use for querying. Delayed synchronization reduces this effect by collecting multiple data representations in the index cache and then synchronizing them all with IDOL data at the same time. This process is useful in systems where query speed is more important than having the most up-to-date data.

Note: HPE recommends using delayed synchronization if you index a large number of small files (files that are smaller than 100MB).

To configure delayed synchronization

1. Open the IDOL server configuration file in a text editor.

2. In the `[Server]` section, set the `DelayedSync` parameter to `true`.

3. In the `[Server]` section, set the `MaxSyncDelay` parameter to the maximum length of time between synchronization operations.

4. In the `[IndexCache]` section, set the `IndexCacheMaxSize` parameter to the maximum size that the IDOL server index cache can grow to before synchronizing.

   Note: When the index cache reaches this maximum size, IDOL server synchronizes the cache, but data is not available for searching until the `MaxSyncDelay` has passed, or you send a `DRESYNC` index action.

5. Save and close the configuration file.

6. Restart IDOL server for your changes to take effect.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm