Start/notes.ini Parameters/Default_Index_Lifetime_Days

Default_Index_Lifetime_Days

Defines after how many days Updall discards an unused view index. Default 45 days. Controls the trade-off between disk space and fast view-opening time.

Profile

Parameter
Default_Index_Lifetime_Days
Syntax
Default_Index_Lifetime_Days=<days>
Default
45 (days retention period for unused view indexes)
Values
Integer > 0
Effect
Threshold from which Updall deletes unused view indexes (frees up disk space)
Category
Performance / Memory (indexer tuning)
GUI equivalent
None (notes.ini only)
Related
Updall (-x option), UPDATE_DISABLE_VIEWS, UPDATE_NOTE_MINIMUM, Updaters
Available since
Domino 8.5

Description

  • Updall runs by default every night (entry in ServerTasksAt2) and performs the following cleanup work, among other things:
    • Deletes deletion stubs.
    • Discards view indexes that have not been used for Default_Index_Lifetime_Days days.
  • Discarded view indexes are rebuilt by the Notes client the next time the view is opened. This saves disk space, but for rare access incurs a one-time wait.
  • The value can be lowered globally (e.g. 30 — less disk space consumption) or raised (e.g. 90 — fewer view rebuilds for rarely used DBs).
  • Database designers can override the default per view via the Discard view index view property — then the view property takes precedence.

Example

Default_Index_Lifetime_Days=90
  • View indexes are discarded by Updall only after 90 days of non-use.
  • Useful on servers with sufficient disk space and low view-rebuild tolerance.

Notes

  • Takes effect with the next Updall run (e.g. the next nightly routine).
  • Per-view override in the view designer property Discard view index.
  • Affects only view indexes, not full-text indexes.
  • On servers with UPDATE_DISABLE_VIEWS=1 recommended in combination with a longer retention period, so that views do not have to be additionally rebuilt.

Sources (HCL Product Documentation)