Index Cache

Topics | How To | Troubleshoot | Related Topics


Overview

Shared Index Cache

Calculating the Storage Space Required for Index Cache

Index Retention Criteria

Other Considerations


Overview

The index cache directory is the directory in which index data resides. Each MediaAgent maintains an index cache in a user designated portion of the MediaAgent computer or a shared network drive. The index data maintained in the index cache is accessed by the system during the data protection, browse and data recovery operations.

During the MediaAgent installation, the install program prompts for an index cache location for the specific MediaAgent. You can change this location and designate a new directory for the index cache at any time from the MediaAgent Properties in the CommCell Console. When you change the directory for index cache, the existing cache contents are moved and all new cache entries are directed to the specified directory. However, note that on Windows MediaAgents, the existing cache contents are copied and hence the original directory may have to be manually deleted to free the disk space.

  • Do not specify or relocate a MediaAgent's index cache to a directory residing on a compressed drive.
  • Do not provide the path to the index cache as a folder directly under the Install directory. For example, \<install folder>\IndexCache.
  • Index cache path cannot contain the special character "!".

Similarly, shared index cache must also be created from the CommCell Console, after the installing all the MediaAgents that share the index.

The index cache is maintained on a least recently used (LRU) basis. As the capacity of the cache is reached, those index data files that have been least recently accessed are overwritten with the new index data. If a data protection, browse and data recovery operation requires index data that is either no longer in the cache or not accessible to the operation, the index data is recovered from the media.

To ensure that other files do not use up disk space that is needed for index data, you can create a partition specifically for the index cache directory. The partition should be large enough to accommodate four percent of the estimated amount of data managed by the MediaAgent. Specifically, this means four percent of the maximum amount of backed-up data that can be immediately available for restoration via this MediaAgent. (See Calculating the Storage Space Required for the Index Cache Directory below for more information.)

A MediaAgent’s Index cache information be viewed or modified from the Index Cache tab of the MediaAgent Properties dialog box.


Shared Index Cache

The index cache can be shared between multiple MediaAgents for the following reasons:

Shared index cache can be configured from the MediaAgent Properties in the CommCell Console. See Create Shared Index Cache for step-by-step instructions. Note that all the MediaAgents that share the index cache must be installed before sharing the index cache. Also, all the MediaAgents that share the index cache must be of the same release version.

When the indexes are shared and alternate data paths are added, the create index phase of a data protection job, will round-robin between the MediaAgents that share the index. The appropriate MediaAgent's name will be displayed in the Job Controller during the create index phase of the job.

Guidelines for Creating Shared Index Cache for Alternate Data Paths (GridStor)

To create Alternate Data Paths in the CommCell, you must create an index cache directory in a network share that can be accessed by all the MediaAgents that are configured with alternate data paths. (See Alternate Data Paths (GridStor) for a detailed description of the topic.)

Follow the guidelines listed below while creating a Shared Index Cache Directory for alternate data paths:

Support

Shared index cache is supported on Windows and Unix Operating Systems.


Calculating the Storage Space Required for Index Cache

The storage space required for the index cache entries of a MediaAgent is estimated between 2 to 3 percentage of the total data protected using the MediaAgent. This recommendation is applicable for most CommCell deployments.

However, if you are interested in an in-depth understanding on the index cache space requirements, you can use the following information.

The estimation of index cache size is based on a number of assumptions, which include the following:

Examples:

For file system or file system-like data if the above mentioned assumptions are applied you may require the index cache size to be .72% of the total data, using the following assumptions:

For database objects, such as Exchange Mailbox this could be significantly larger and hence you may require the index cache size to be 2.5% of the total data, using the following assumptions:

The index size can be much larger, for example, if the following conditions are different:

Note that the above example describes a very simple configuration including uniform requirements across client computers. In reality, client computers can have more than one agent, and the storage space required by each type of data must be added into the total. Different computers can have widely varying storage requirements.

Best Practices for Maintaining Index Cache

As the calculation of index cache is based on several assumptions which could in turn change over a period of time in any given environment, we recommend the following as best practices for maintaining index cache:


Index Retention Criteria

The amount of index data that can be cached is based on the following:


Other considerations

Audit Trail

Operations performed with this feature are recorded in the Audit Trail. See Audit Trail for more information.


Back To Top