Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI OLEDB Enterprise

Asset and data schema

  • Last UpdatedFeb 07, 2023
  • 1 minute read

Four tables in the upper part of the diagram show the Asset schema that forms the core of the asset database representation: ElementHierarchy, Element, ElementVersion and ElementAttribute.

Note: Tables that support element versions have a "v" prefix.

Tables and Table-Valued Functions (TVFs) in the lower part of the diagram show the Data schema that represents the gateway to time-series data.

The Asset.vElementHierarchy table is usually the starting point for most queries. This table represents the element hierarchy and supports retrieval of elements based on various criteria, such as query date, path pattern or hierarchy level restriction, and so on.

Typically, queries into Asset.vElementHierarchy are extended as follows:

  • Element attribute query = inner join of Asset.vElementHierarchy, Asset.vElementVersion, and Asset.vElementAttribute.

  • Element extended property query = inner join of Asset.vElementHierarchy, Asset.vElementVersion, and Asset.vElementExtendedProperty.

  • Time-series data query = inner join Asset.vElementHierarchy, Asset.vElementVersion, Asset.vElementAttribute, and any one table from the Data schema.

TitleResults for “How to create a CRG?”Also Available in