Asset and data schema
- Last UpdatedFeb 07, 2023
- 1 minute read
- PI System
- PI OLEDB Enterprise 2019
- Developer
Four tables in the upper part of the diagram show the Asset schema that forms the core of the asset database representation: , , and .
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 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 are extended as follows:
-
Element attribute query = inner join of , , and .
-
Element extended property query = inner join of , , and .
-
Time-series data query = inner join , , , and any one table from the Data schema.