Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Review
Workspace Domino
Categories Administration
Created by Guest
Created on Sep 18, 2024

Domino COMPACT task should handle FILE-FRAGMENTATION like DBMT does

As of today, the Compact task actually worsens the file-fragmentation of the database file when doing a copy-style compact. Though, Domino knows very well how to compact with defragmentation : with the DBMT task. And now many admins are using the heavy DBMT even for a simple compact job.

If the piece of code for defragmentation is well known, why not bring it back to the COMPACT task itself ? Why would this common task go on doing the task worse than it should ? This is a cheap quick win for Domino Admins.

(Btw, it should not be a new option for Compact, it should be the default, right ?)

  • Attach files
  • Guest
    Reply
    |
    Sep 19, 2024

    Why not use DBMT ? The DBMT task was not designed to replace and deprecate the COMPACT task (was it ?). They have different purposes. The DBMT is heavy and intended for batches of mail files, and dislikes processing system databases (whose list is growing, another problem). DBMT does process many tasks I have no need for (like inbox view indexing), it is dirty to use it just for a simple copy-style compact. Also, DBMT cannot repair a database like I do with COMPACT -CDi. And so on.

  • Guest
    Reply
    |
    Sep 18, 2024

    DBMT is the reocommended tool. but there are operations that only compact can do.
    Some can be mixed. For example enabling some options without a copy style compact with the normal compact task and then use DBMT to perform the actual compact.

    But I agree the standard compact should be able to do the same pre-alloc compact.


    Also as discussed with the author of this idea on OpenNTF Discord, there is currently an issue with DBMT which cannot compact system databases with IND files. Only if you select them one by one.
    This regression has been introduced by a change in the way the IND files are processed.

    The right fix for that would be to introduce the inverted -W option for DBMT that we know form compact.

    compact by default allows to compact system databases.

    DBMT prevents to compact sytem databases unless selected one by one.

    The question came up also in context of my start script where I use DBMT with a IND file for off-line maintenance.
    This doesn't work any more since Domino 12.0+

    IMHO it should be one idea to enhance both tools. it's just a matter of flags added to the tools.

    Compact got multi threading support vi -# option a while ago. So only the pre-alloc would be missing.

  • Admin
    Thomas Hampel
    Reply
    |
    Sep 18, 2024

    Why not use DBMT ?