Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner
TUNING Running Compact using a console command
You can compact from the console.
Procedure
1. From the Domino Administrator, on the Server (first) pane, select the server on which to run Compact. To expand the pane, click the servers icon.
2. Click the Server - Status tab.
3. Click Console.
4. Enter the following command in one of the following ways: 1) in the command line at the end of the console, and then press ENTER or 2) directly at the console on a server:
Load compact databasepathoptions
where databasepath specifies the files to compact
and options are Compact command-line options.
Example
The following table illustrates how you can use databasepath to specify databases, folders, and subfolders.
Table 1. databasepath examples
| To compact | Example command | Files compacted |
| A specific database in the Domino® data folder | Load compact SALES.NSF | DATA\SALES.NSF |
| All the databases in a folder relative to the Domino data folder | Load compact SALES | DATA\SALES\all databases |
| A specific database in a folder relative to the Domino data folder | Load compact SALES\USER1.NSF | DATA\SALES\USER1.NSF |
| All the files specified in a .IND file created in the Domino data folder
Note: If you are using the -T flag to specify a view, Indirect files (.IND) cannot be used. | Load compact WEEKLY.IND
where WEEKLY.IND contains:
SALES.NSF
DEV.NSF
SALES\USER1.NSF
SALES\NEW | DATA\SALES.NSF
DATA\DEV.NSF
DATA\SALES\USER1.NSF
DATA\SALES\NEW\all databases |
Related concepts
Compacting databases
Related tasks
Ways to compact databases
Related reference
Compact options
|