Skip to main content
Question

Index Cache Cleanup

  • January 8, 2026
  • 6 replies
  • 42 views

Forum|alt.badge.img+3

Hello Community,

I have a problem, that the Index Cache Directory usage grows steadily (~ 2Gb per week) and currently 80% of free space is consumed.

Due to specifics of the environment, Load Balancing and adding free space is almost impossible. 

As per the CV documentation, the active metadata are deleted from Index Cache, when the corresponding jobs meet retention:
https://documentation.commvault.com/2023e/commcell-console/backupset_level_indexing_index_cache_cleanup.html#index-cleanup
and the compaction process happens every 30 days by default:
https://documentation.commvault.com/additionalsetting/compaction-enforce-days.html

Can I use the Additional Setting COMPACTION_ENFORCE_DAYS to set another frequency for the Compaction process, e.g. 1 week? I expect, that then the metadata from aged jobs will be deleted every week, rather than every month, and this will free up space in Index Cache.

Is this assumption correct?

What impact can this setting have on the environment?

 
Best regards, 

Aleksandra

6 replies

CV_GK
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • January 9, 2026

Hi ​@Aleksandra 

What is the CV version here?


Forum|alt.badge.img
  • Vaulter
  • January 9, 2026

Hi Aleksandra,

Best thing is to find out if the growth is real because of natural data growth or in fact there is a problem. For instance if you have secondary copies which are not able to catch up, then your index on primary will not age out. This is just an example. If you open a support case, they will be able to find out exactly what is going on. Also, bringing to the latest MR version is advisable as this may be a software issue as well.


Forum|alt.badge.img+3
  • Author
  • Apprentice
  • January 9, 2026

Hi ​@CV_GK

the version is 11.32.125

Regards, 

Aleksandra


Forum|alt.badge.img+3
  • Author
  • Apprentice
  • January 9, 2026

Hello ​@DoctorB ,

 

thank you for your explanation. 

 

Could you please advice what would be the best way to track the data growth in the last months, as well as to track the Index cache growth in the same time period?

And yes, there is a Primary (disk) and a secondary copy (tape) in the affected SP. The tape copy has 500 days retention. However, it exists since long ago, but the index began to grow noticeably only the last month. All the jobs for the tape copy are successful, there are no stuck or failed jobs.

 

Best regards, 

Aleksandra


Forum|alt.badge.img+1
  • Vaulter
  • January 12, 2026

Hi ​@Aleksandra 

We need to check a few things here, 

  1. Need to identify whether the Index DB or index logs folder were consuming more space in the Index cache. Run the Index state report to check the status of index DBs. https://documentation.commvault.com/11.40/software/health_report_index_state.html
  2. If it was Index DBs, then we can try adding the setting to reduce the frequency of index compaction. 
  3. If it was Index logs, we would need to check if the Index backups are running properly for the Index server client. 
  4. Need to check if Index DB/ Index logs of a particular client is consuming more space. Identify whether it was a backupset/subclient level index? 
  5. If the number of objects backed up is high, then validate the hardware requirements of the Index cache in the MA server. 

    https://documentation.commvault.com/v11/commcell-console/system_and_hardware_requirements_indexing_version_2.html

    I would suggest to raise a case with Commvault support to investigate this further. 

Forum|alt.badge.img+3
  • Author
  • Apprentice
  • January 12, 2026

Hello ​@Kalaivanan ,

 

thanks a lot for your reply. I’ve checked the Index Cache Location Report and the most of the space is consumed by the database (184Gb), whereas Logs consume just a little (2,7Gb). 

Index state report shows the status good for the Index on this MA.

Index Backups are all fine, run regularly according to the schedule and are all in status “Completed”.

It is backupset level Index. 

I’ve opened a case by Commvault, just as you suggested, and posted there all the information found so far. 

Best regards,

Aleksandra