DATABASE MANAGEMENT

Indexer tasks: Update and Updall
The Update and Updall tasks keep view indexes and full-text indexes up-to-date.

Update

Update is loaded at server startup by default and runs continually, checking its work queue for views and folders that require updating. When a view or folder change is recorded in the queue, Update waits approximately 15 minutes before updating all view indexes in the database so that the update can include any other database changes made during the 15-minute period. After updating view indexes in a database, it then updates all databases that have full-text search indexes set for immediate or hourly updates.

When Update encounters a corrupted view index or full-text index, it rebuilds the view index or full-text index in an attempt to correct the problem. This means it deletes the view index or full-text index and rebuilds it.

To improve view-indexing performance, you can run multiple Update tasks if your server has adequate CPU power.

Note The Update task spawns a directory indexer thread. The directory indexer runs at one-minute intervals and is dedicated to keeping Domino Directory view indexes up-to-date. The directory indexer runs against any local or remote Domino Directory or Extended Directory Catalog that a server uses for directory services.

Updall

Updall is similar to Update, but it doesn't run continually or work from a queue; instead you run Updall as needed. You can specify options when you run Updall, but without them Updall updates any view indexes or full-text search indexes on the server that need updating. To save disk space, Updall also purges deletion stubs from databases and discards view indexes for views that have been unused for 45 days, unless the database designer has specified different criteria for discarding view indexes. Use the NOTES.INI setting Default_Index_Lifetime_Days to change when Updall discards unused view indexes.

Like Update, Updall rebuilds all corrupted view indexes and full-text search indexes that it encounters.

By default Updall is included in the NOTES.INI setting ServerTasksAt2, so it runs daily at 2 AM. Running Updall daily helps save disk space by purging deletion stubs and discarding unused view indexes. It also ensures that all full-text search indexes that are set for daily updates are updated.

The following table compares the characteristics of Update and Updall. For Updall, the table describes default characteristics. For information on options you can use to modify some of these characteristics, see the topic Updall options.
CharacteristicUpdateUpdall
When it runsContinually after server startup2 AM and when you run it
Runs on all databases? No. Runs only on databases that have changed.Yes
Refreshes views indexes?Yes Yes
Updates full-text indexes?Yes. Updates full-text indexes set for immediate and hourly updates.Yes. Updates all full-text indexes.
Detects and attempts to rebuild corrupted view indexes? YesYes
Detects and attempts to rebuild corrupted full-text indexes?YesYes
Purges deletion stubs?NoYes
Discards unused view indexes?NoYes (after a view is unused for 45 days or according to a view discard option specified by a designer)
Ignores "Refresh index" view property? YesYes
Can customize with options?NoYes
See also