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:


Example

The following table illustrates how you can use databasepath to specify databases, folders, and subfolders.

Table 1. databasepath examples
To compactExample commandFiles compacted
A specific database in the Domino® data folderLoad compact SALES.NSFDATA\SALES.NSF
All the databases in a folder relative to the Domino data folderLoad compact SALESDATA\SALES\all databases
A specific database in a folder relative to the Domino data folderLoad compact SALES\USER1.NSFDATA\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