Professional Documents
Culture Documents
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. The indexer uses modest system resources by waiting five seconds between
each database update operation that is performs.
The Update task performs three different updating tasks:
In Domino 7 and more recent, the Update task uses a separate thread for full-text indexing which makes
view updates more timely than in releases.
Update maintains two queues of work -- an immediate queue and a deferrred queue. Other server
components, such as the router and replicator, post requests to the updater when changes are made to
databases. Some requests are posted as deferred and some as immediate.
This table lists how full-text index updates are performed according the update frequency:
Update frequency
Description
Daily
Scheduled
Hourly
Immediate
Deferred
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. Update deletes the view index or full-text index and rebuilds it.
Note The Update task spawns a directory indexer thread. The directory indexer runs at one-minute intervals
and is dedicated to keeping IBM Lotus Domino Directory view indexes up-to-date so that any changes to
the directory are usable as soon as possible. The directory indexer runs against any local or remote Domino
Directory or Extended Directory Catalog that a server uses for directory services. The task of updating the
Domino Directory view indexes does not lock the views, and you should be able to create new server
sessions while this task is running.
To improve view-indexing performance, and if your server has adequate CPU power, you can run multiple
Update tasks.
Scenario one -- The queues are usually short, unless a full-text index starts for a large update
volume database. When this occurs, the view updating requests wait for the full-text index. This
causes the queues to increase until the full-text indexing is complete. To use slightly more system
resources to keep the queues short, perform view updates and full-text index updates in separate
threads. To do so, enter this variable, UPDATE_FULLTEXT_THREAD=1, in your server's
NOTES.INI file.
Scenario two -- The queues grow slowly over time and become too long because the Updater task
is not getting sufficient system resources to keep the queues short. To use additional resources to
keep the queues short, set a delay between each Update operation. To set the delay, enter these
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.
Note When views are being rebuilt - either through the Designer or Updall tasks - all new server sessions
that are attempted once the rebuild process has started are locked out. Therefore, it is recommended that
changes to master templates, as well as complete view rebuilds, be scheduled for late at night, when users
are far less likely to require access to the server.
The following table compares the characteristics of Update and Updall. For Updall, the table describes
default characteristics. You can also modify some of these characteristics with Updall options.
Characteristic
Update
Updall
When it runs
Runs on all
databases?
Yes
Refreshes views
indexes?
Yes
Yes
Updates full-text
indexes?
Yes
Yes
Yes
Yes
No
Yes
Ignores "Refresh
index" view property?
Yes
Yes
No
Yes
Related topics
Updall options
Updating database indexes and views