There are two ways to monitor performance of Index Server: by using Performance Monitor, or by running an .ida script. The information available is nearly identical, but the method of retrieval differs. Both solutions can be used locally or from a remote client. Performance Monitor has the advantage of automatic refresh, plus graphing and logging capabilities. The .ida script method offers more flexible .htx formatting of the output and the ability to be viewed from a client running an operating system other than Windows.
No setup is required to use the Windows NT Performance Monitor. For the IDA method, however, you must create an .ida file with the following tag:
CiAdminOperation=GetState
See the Index Server sample administration page for an example.
The following table lists the .htx variables available for statistics. Variables starting with CiAdminIndex are in the Content Index performance object. Variables starting with CiAdminCache are in the Http Content Index object.
.htx Variable | Performance Monitor field | Description |
---|---|---|
CiAdminCacheActive |
# Active queries | Number of queries being executed. |
CiAdminCacheCount |
# Cached queries | Number of cached queries. |
CiAdminCacheHits |
% Hits | Percentage of HTTP requests that use an existing cached query. |
CiAdminCacheMisses |
% Misses | Percentage of HTTP requests that execute a new query. |
CiAdminCachePending |
# Pending queries | Number of pending queries waiting for execution. |
CiAdminCacheRate |
Queries/minute | Average number of queries executed per minute over the past 15 minutes. |
CiAdminCacheRejected |
# Rejected queries | Number of queries rejected because the query engine was too busy. |
CiAdminCacheTotal |
Total queries | Number of queries executed since the Web server was started. |
CiAdminIndexCountDeltas |
# Documents changed | Number of documents that have been indexed or deleted since the last master merge. |
CiAdminIndexCountFiltered |
# Documents filtered | Number of documents filtered since Index Server was started. |
CiAdminIndexCountPersIndex |
# Persistent indexes | Count of shadow indexes and master indexes in catalog. |
CiAdminIndexCountQueries |
# Running queries | Count of queries with open >cursors against the catalog. Will differ from the number of active queries in the cache because some cached queries may be enumerated (nonindexed), and some quiescent cached queries may still hold cursors open. |
CiAdminIndexCountToFilter |
# Documents to be filtered | Number of documents that have been added or modified since the last time they were filtered. |
CiAdminIndexCountTotal |
Total documents | Number of documents in the catalog. |
CiAdminIndexCountUnique |
# Unique keys | Number of unique words in the catalog. Updated only after a master merge. |
CiAdminIndexCountWordlists |
# Wordlists | Count of word lists in catalog. |
CiAdminIndexMergeProgress |
Master merge in progress | Percent of current merge completed. Will be 100% when no merge is in progress. |
CiAdminIndexSize |
Total size (MB) | Size in megabytes of index. Includes both in-memory word lists and on-disk shadow indexes and master indexes. Does not include property cache. |
CiAdminIndexStateAnnealingMerge |
(not applicable) | True if an annealing merge is in progress. |
CiAdminIndexStateMasterMerge |
(not applicable | True if a master merge is in progress. |
CiAdminIndexStateScanRequired |
# Directories to be scanned | True if the catalog needs to be rebuilt, which happens automatically when appropriate. |
CiAdminIndexStateShadowMerge |
(not applicable) | True if a shadow merge is in progress. |