Presentation is loading. Please wait.

Presentation is loading. Please wait.

Northern Mockingbird. Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLE DB COM Connector Making Relational Databases Look Like PI Benny.

Similar presentations


Presentation on theme: "Northern Mockingbird. Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLE DB COM Connector Making Relational Databases Look Like PI Benny."— Presentation transcript:

1 Northern Mockingbird

2 Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLE DB COM Connector Making Relational Databases Look Like PI Benny Gallardo

3 Outline Goals of the connector COM connectors vs. Interfaces OLE DB simplified Connector as a Translator Summary and announcements

4 Goals Access to relational data for all PI clients Expand the power & utility of PI clients –PI-ProcessBook –PI-DataLink –PI-ACE (Advanced Calculation Engine) –All current and future client tools

5 Interfaces put data into the PI archive Oracle SQL Server Problem: Redundancy of data Benefit: PI client access RdB Interface PI

6 A COM Connector is not an interface Data is transferred but not stored in PI No redundancy of data Oracle SQL Server OLE DB COM Connector PI

7 COM Connector Points COM Connector points have 3 special attributes –ctr_progid –ctr_strmap –ctr_lmap Key attributes for OLE DB points –ctr_udlpath –ctr_compath

8 OLE DB Data Source Data Consumer OLE DB Provider OLE DB - A Model for Data Transfer

9 Oracle OLE DB COM Connector Oracle Provider OLE DB - A Model for Data Transfer

10 1.Access the provider 2.Translate client requests OLE DB COM Translator Translate PI client requests into SQL RdB Provider PI & OLE DB Connector RdB PI Client

11 Accessing the OLE DB Provider ctr_udlpath OLE DB COM Connector OLE DB Provider.UDL File  Provider Name  User name  Password

12 Translating Client Requests All client requests represented as five simple SQL queries ctr_compath Text file contains 5 queries

13 Query #1 – Retrieve a value at time t 1 Time Value t1t1

14 Query #2 – Retrieve values between times t 1 time t 2 (inclusive) Time Value t1t1 t2t2

15 Query #3 – Retrieve value immediately preceding time t 1 Time Value t1t1

16 Query #4 – Retrieve value immediately following time t 2 Time Value t2t2

17 Query #5 – Retrieve most recent value Time Value

18 Query Structure Retrieve time, value, and status –raw SQL –stored procedures or functions Query optimization

19 Summary Goal: PI client access to relational data –DataLink, ProcessBook, & ACE COM Connectors vs. Interfaces –Redundancy of data OLE DB Connector point attributes –ctr_udlpath –ctr_compath Five fundamental SQL queries

20 Announcements The beta is available at www.osisoft.com. The COM connector will be running in the demo room this afternoon with Oracle 9i, SQL Server 2000, and PI 3.3.


Download ppt "Northern Mockingbird. Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLE DB COM Connector Making Relational Databases Look Like PI Benny."

Similar presentations


Ads by Google