HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

TUNING

Running Compact using a Program document

Use a Program document to schedule Compact to run at a regular time. For example, schedule Compact to run with the -B option once a week.

Procedure

1. From the Domino® Administrator, click the Configuration tab.

2. Next to Use Directory on, select the server with the replica of the Domino Directory you want to modify.

3. Expand Server - Programs and then click Add Program.

4. On the Basics tab, complete these fields:


    Table 1. Basics tab
    FieldEnter
    Program nameCompact
    Command lineCommand line options. Don't specify "load" before the options.
    Server to run onEnter either the full hierarchical name of a server on which Compact should run, an asterisk (*) to run the task on all servers, or a server group name. Any server group name that you use must be a Server only type of group (not a multi-purpose group).

    Tip: You can use a pattern-matching character in this field. A pattern-matching character -- the question mark (?) -- allows you to include all servers where one or more subsequent characters in the server name vary, for example: Sales??/Renovations includes Sales01/Renovations, Sales02/Renovations, and so on.

    You can also use an asterisk (*) anywhere within a group name; you are not limited to the leftmost component of the hierarchical name. For example: Sales*/Renovations includes Sales001/Renovations, Sales002/Renovations, and so on.

    CommentOptional comments


5. On the Schedule tab, complete these fields:

    Table 2. Schedule tab
    FieldEnter
    Enabled/disabledEnabled
    Run at timesTimes to run Compact each day
    Repeat interval ofHow soon to run Compact again after it completes
    Days of weekThe days to run Compact


6. Click Save and Close.

What to do next

Remember to perform full backups of the databases after compacting is complete.

Related concepts
Compacting databases

Related tasks
Ways to compact databases

Related reference
Compact options