Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

IDOL - Disable unnecessary compaction during vault optimization

Last updated on 27 September 2022

Admin
Search

Overview

Prior to IDOL version 12.4., the compaction of the index was done always as part of the M-Files weekly maintenance run on Sunday. Compaction was triggered from M-Files server. IDOL version 12.4 and later had weekly compaction done via a scheduled Windows Task. This created a situation, where both compactions were done one after the other. Obviously, the second compaction was unnecessary. The compaction triggered from M-Files was removed in M-Files version 22.0.x, but if you have an older version, you can disable compaction manually from the configuration. This document describes how to deactivate the compaction triggered from M-Files side.

Prerequisites

On IDOL side, check from Windows Task Scheduler that you have tasks for the compaction.

How to disable compaction from M-Files side

  1. Open M-Files Admin.
  2. Select the vault.
  3. Navigate to Advanced Vault Settings > Configuration > Search > Indexes > [corresponding index].
  4. Select Advanced tab.
  5. Add the following line to idolOptions section in the JSON:

"enableDreCompactDuringOptimizeVault": false

Example:

"distributedIndexingPort": 19301,
"enableDreCompactDuringOptimizeVault": false,
"multiRepositoryAssumed": true,
"multiRepositoryConfirmed": "Yes"
 
  1. Save

Still need help?