Using console commands to manage inline view indexing

Use server console commands to monitor and manage inline view indexing.

About this task

Table 1. Console commands to manage inline view indexing
Command Description
tell inlineindex show <database> <view> Shows views in a database that are enabled for inline viewing indexing with Updall. Use the <view> argument to see whether a specific view is enabled for inline view indexing with Updall.
tell inlineindex disable Temporarily disables inline view indexing for open databases.
tell inlineindex enable Enables inline view indexing for open databases after temporarily disabling it.
tell inlineindex refresh Refreshes all view indexes that were enabled for inline view indexing with Updall.
show dbs * inline Shows the view expiration period for open databases that are enabled for inline view indexing. Lists all open databases with views that are enabled for inline view indexing and the number of views that are enabled in each database.
show dbs * inline views Shows the same output as show dbs * inline, but adds information about each view that is enabled for inline view indexing.
dbcache show inline Shows view expiration periods for closed databases that are enabled for inline view indexing. Lists all closed databases with views that are enabled for inline view indexing and the number of views that are enabled in each.
dbcache show inline views Shows the same output as dbcache show inline, but adds information about each view that is enabled for inline view indexing.
show stat database.inline* Shows statistics for databases with views that use inline indexing.

Example

show dbs * inline
sho dbs * inline
Inline Indexing designed views expire from open databases if not accessed in 5 minute(s)
Inline Indexing Static views expire from open databases if not accessed in 5 minute(s)
Inline Index Databases
c:\server\data\cldbdir.nsf  NumIndexes: 3
c:\server\data\ddm.nsf      NumIndexes: 2
c:\server\data\events4.nsf  NumIndexes: 16
c:\server\data\mantanotes.nsf    NumIndexes: 3
c:\server\data\names.nsf    NumIndexes: 26
sho dbs * inline views
sho dbs * inline views
Inline Indexing designed views expire from open databases if not accessed in 5 minute(s)
Inline Indexing Static views expire from open databases if not accessed in 1 minute(s)
Inline Index Databases
c:\server\data\mantanotes.nsf	NumIndexes: 3
View                 ID               Type     State   Accessors    Inactive     Accessed               Info
($All)               (0x0000027E)   Design    Enabled        0        0 min   05/22/2014 08:55:29 AM     
By Author            (0x00000292)   Design    Enabled        0        0 min   05/22/2014 08:55:28 AM     
($Calendar)          (0x000002DA)   Design    Enabled        0        0 min   05/22/2014 08:55:28 AM     
c:\server\data\names.nsf	NumIndexes: 2
View                 ID               Type     State   Accessors    Inactive     Accessed               Info
($ServerConfig)      (0x0000026E)   Static    Enabled        0        5 min   05/22/2014 08:49:50 AM     
($Servers)           (0x000002C6)   Static                   0        5 min   05/22/2014 08:49:35 AM     
dbcache show inline
dbcache show inline
Inline Indexing designed views expire from closed databases in dbcache after 5 minute(s).
Inline Indexing static views expire from closed databases in dbcache after 1 minute(s).
Inline Index Databases
c:\server\data\admin4.nsf	NumIndexes: 2	Cache Min: 1
dbcache show inline views
dbcache show inline views
Inline Indexing designed views expire from closed databases in dbcache after 5 minute(s).
Inline Indexing static views expire from closed databases in dbcache after 1 minute(s).
Inline Index Databases
c:\server\data\admin4.nsf	NumIndexes: 2	Cache Min: 1
View                 ID               Type     State   Accessors    Inactive     Accessed               Info
($LoggedEvents)      (0x0000013E)   Static    Enabled        0        0 min   05/22/2014 08:41:34 AM     
($LoggedAdminServerEvents)
                     (0x0000019E)   Static    Enabled        0        0 min   05/22/2014 08:41:34 AM     
Key to output labels
Table 2. Key to output labels
Output label Description
ID View NoteID associated with the index.
NumIndexes The current number of open indexes.
Type The type of inline index, Static or Design enabled.
State Enabled (open and in use) or Disabled (index disabled due to issue listed in the Info column.
Accessors The number of active open databases references to the index.
Inactive The number of minutes the index has not been actively updated.
Accessed The last time the index was actively updated.
Info Why an index is disabled. An index can be disabled for a variety of reasons, for example if the operations on the database are not compatible with inline view indexing.