cancel
Showing results for 
Search instead for 
Did you mean: 

TagQuery - History Mode

Former Member
0 Kudos

Hello,

When using a tagquery in mii and selecting "History" mode from the modes dropdown does anyone know which tables it goes after in the background when getting data from IP21 and PI historians?

Thanks,

Mona

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

Historians don't really store data directly in database tables, but provide an SQL type interface for querying data, as well as an API or SDK for developing additional applications (you see these used with the UDS and PCO connectors). Historians use a proprietary compressed file format for the actual data storage, and in some cases the tag configuration is stored in relational tables, but the data is retrieved when you query it. In the case of your question concerning History mode, it is actually interpolated values from the raw archived values.