Viewing System Indexing details via Spy Remote

The Spy view available on various system indexing components can be useful to superusers to see system indexing diagnostic information, providing statistics at every level. For example, you can see global indexing statistics such as the total number of attempts, average execution time, and which operation took the longest amount of time to complete. For statistics at a more granular level, you can look at the Spy statistics for an individual indexer component to see that last time it attempted and how indexing occurred.
Prerequisites:
  • Connection to your Supervisor station and its subordinate stations
  • SystemDbService and SystemIndexingService are already installed and configured
  • You have successfully executed system indexing operations on the Supervisor and its subordinate stations.
Perform the following steps:
  1. In the Workbench Nav tree or Property Sheet view, in the Supervisor station, expand Services > SystemDbService > SystemIndexService and perform either of the following actions:
    • Right-click LocalSystemIndexer and click Views > Spy Remote to view system indexing statistics on the local station.
    • Right-click on GlobalNiagaraSystemIndexer and click Views > Spy Remote to view system indexing statistics on the subordinate stations.
  2. Scroll down to see available statistics on the indexing operations, similar to those shown here.
    Image
  3. As of Niagara 4.13, you can click the Detailed Orient Spy link to drill down even further into what is contained in the SystemDb. The spy gives insight into the entities (ex: tags, relations) currently indexed in the SystemDb.
    Image
    Alternatively, you can access the Detailed Orient Spy in the root of the Remote Spy.
    Image
    The OrientDB Diagnostics page opens and displays an overview of the number of open Db connections, total number of vertices and Edges in the Db.
    Image
  4. To navigate through the Orient Graph to see what the Db contains, click Navigate (this link could take time to load).
    A list of discovered root entities (vertices) in the Orient Db is displayed. From here, you can start diving into the root entity of each listed station. The assigned IDs in the Vertex Orient ID column are hyperlinks that allow you to continue navigating down in the Spy to downstream entities.. The links in the Entity ORD (Hyperlink to Station Space) column navigate you back to the actual component in the virtual space or the station space.
    Image
  5. To display additional information about the tags, relations, or scoped edges of a particular entity , or if you want to show and hide the nearest ancestor or descendant entities, click the appropriate link as highlighted in the screenshot below.
    Image