Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLEDB A new product for Universal Data Access to the PI System.

Slides:



Advertisements
Similar presentations
.NET Business Connector Microsoft.Dynamics.BusinessConnectorNet.dll
Advertisements

Connecting to Databases. connecting to DB DB server typically a standalone application Server runs on localhost for smaller sites –i.e. Same machine as.
Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
Dream Report: Advanced Manual Data Entry
© 2010 TIBCO Software Inc. All Rights Reserved. Confidential and Proprietary. TIBCO Spotfire Application Data Services TIBCO Spotfire European User Conference.
SQL Based Data Access Bodo Bachmann.
© 2008 OSIsoft, Inc. | Company Confidential Event Frames Initiative Update Chris Nelson Chris Coen Chris Nelson Chris Coen.
Copyright © 2005, SAS Institute Inc. All rights reserved. Making the Transition from MDDB-based OLAP Applications to a SAS ® 9 OLAP Solution Ivy Parker.
.NET C RYSTAL R EPORTS …Vishal Kumar.. I NTRODUCTION T O C RYSTAL REPORT :- For creating interactive reports that can be integrated into a wide range.
SQL Server Accelerator for Business Intelligence (SSABI)
OLAP Cubes and Pivot Tables Leveraging the Power of a Microsoft EPM Solution EPM Customization Series Part 1 February 21 st, 2007 Brendan Giles, PMP, MCP.
Introduction to Database Processing with ADO.NET.
Fundamentals, Design, and Implementation, 9/e Chapter 12 ODBC, OLE DB, ADO, and ASP.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Fundamentals, Design, and Implementation, 9/e COS 346 DAY 22.
Chapter 14 Database Connectivity and Web Technologies
Programming in ADO.NET: Data-Centric Applications and ADO.NET Original copyright by Microsoft, 2002, with minor modifications by Dan Eaves, 2005.
Blue Group (ADO) 3/10/98 Universal Data Access with ActiveX Data Objects The Blue Group *Jennifer Kochan *Rebecca Orozco *Chris Papandria *Alicja Stanczak.
Building Ad-Hoc Reports using the SQL Server 2005 Reporting Services (SSRS) Report Builder (SQL307) Adrian Rupp Business Intelligence Solutions Specialist.
Introducing Dream Report Win Worrall Applications and Development Engineer.
How Open is OpenInsight?
Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Web-based Software Development - An introduction.
Understanding Analysis Services Architecture. Microsoft Data Warehousing Overview OLTP Source DTS DW Storage Analysis Services Clients OLE DB for OLAP,
CIS 764 – Presentation Somil Chandwani.  With Microsoft Data Access Components (MDAC), developers can connect to and use data from a wide variety of.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
PI Data Access via OLE DB/SQL
1 ODBC, OLE DB, ADO, and ASP. 2 Introduction  Because database applications today reside in a complicated environment, various standards have been developed.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2010.
4 Copyright © 2009, Oracle. All rights reserved. Designing Mappings with the Oracle Data Integration Enterprise Edition License.
PO320: Reporting with the EPM Solution Keshav Puttaswamy Program Manager Lead Project Business Unit Microsoft Corporation.
Dream Report: Secure and Reliable Reporting Renee Sikes Applications Engineer Dream Report Brand Manager.
Fundamentals of Database Chapter 7 Database Technologies.
PI Module Database Ken Coates, Jon Peterson OSI Software, Inc.
OLAP Cubes and Pivot Tables Leveraging the Power of a Microsoft EPM Solution EPM Customization Series Part 1 February 21 st, 2007 Brendan Giles, PMP, MCP.
OSI Development Plans Mark Hughes. ProcessBookDataLink PI-APIPI-SDK Automation OLE Objects ActiveX Controls COM Add-ins ODBC Datasets PINetMgr ArchiveBase.
Microsoft Business Intelligence Environment Overview.
DATA DASHBOARDS USING MICROSOFT BI Dheeraj Chowdhury Group Leader Digital Media NSW Department of Education and Communities Curriculum and Learning Innovation.
ApplicationXtender Quickly capture, organize, and deliver fixed-content images, documents, reports, and other business-critical information.
Northern Mockingbird. Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLE DB COM Connector Making Relational Databases Look Like PI Benny.
ABC Manufacturing Demonstration of Attendance Enterprise.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Jon Peterson OSI Software, Inc.
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
PI Data Archive Server COM Points Richard Beeson.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2007.
1998 PI System Users’ Conference PI-ProcessBook Brian Bostwick Omicron Consulting Mark Hughes OSI Software, Inc.
Build a Browser-based OLAP Reporting Solution Using SQL Server 2000 Analysis Services, Microsoft Office XP Web Components, and ASP.NET Sadra Abedinzadeh.
Analysis Framework PI AF 2.0 Foundation Project
This application does require access to the BW (Baan Windows) client and authorization to the OLE Daemon Introducing … XQL - Excel Query Language How about.
Types/Levels of Integration Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Presentation Data Functional.
DB MidWare CSIS 4490 N-Tier Client/Server Dr. Hoganson Database Middleware Early client/server database systems –Two tier –Server does business logic (data.
OM. Brad Gall Senior Consultant
Copyright © Curt Hill Connectivity Communicating with the Database.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
1998 PI System Users’ Conference Genealogy Toolkit & Solutions ‘The Begats’ By, Jack Aude OSI Shri Chaudhary Omicron Consulting.
File Server Architecture In File Server Architecture, file server can’t process the data but can only pass on the data to the client who can process it.
Development Overview Pertemuan 11 Matakuliah: T0413 Tahun: 2009.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
ADO.NET Architecture MIS3502: Application Integration and Evaluation David Schuff Adapted from material by Arnold Kurtz, David.
Copyright © 2002 OSI Software, Inc. All rights reserved. PI BatchView 3.0 Presentation of your rich batch information Chris Coen, Software Developer, OSISoft.
OSIsoft Thin Clients RtWebParts and RtBaselineServices Jay Lakumb OSIsoft, Inc.
Oracle OLAP Option Bud Endress Director of Product Management, OLAP.
Module 1: Introduction to Microsoft SQL Server Reporting Services
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
Data Access with ADO.NET
Chapter 10 ADO.
Presentation transcript:

Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLEDB A new product for Universal Data Access to the PI System

Presentation Overview About OLE DB –Architecture –OLE DB versus ODBC –PI OLEDB 1.1 –Demo1: Tag Copy Plug & Play Scenarios –Demo2: Nested Query to use TagList (MS Access ADP) –Demo3: PivotChart in MS Excel from OLE DB query Module DB support in PI OLEDB 2.0 –Demo4: Table Structure visible in MMC SnapIn –Demo5: Query Examples PI OLEDB and MS SQL Server –Demo6: Data Analysis Services (OLAP) Product Information

About OLE DB OLE DB is part of Universal Data Access –ODBC, OLE DB, ADO –MDAC (mdac_typxx.exe) COM based set of interfaces OLE DB provides uniform access to tabular data, not limited to RDBMS’s Command Language is optional, e.g. SQL, MDX,… OLE DB is the native communication technology for MS SQL Server and MSDE Via OLE DB, MS SQL Server can link foreign tables, as MS Access can do for ODBC data sources Less sophisticated data applications (non SQL) can become data providers e.g. Spreadsheets. , Directory Services..

Architecture e.g. PI ODBC e.g. PI COM Connector for OLE DB e.g. PI OLE DB

OLE DB versus ODBC ODBCOLE DB C-level APICOM API SQL-based tabular dataAll tabular and multidimensional data No eventsSupport of Events 3rd party gateways for OLE DB SQL providerMSDASQL, OLE DB Provider for ODBC PI ODBCPI OLEDB PI2, PI3PI3 Archive, Point DB (classic), BatchArchive, Point DB (all classes), Batch, User, Digital States, ModuleDB (v2.0) ANSI SQL 92 subset SQLSS: Read Only, except picompSQLSS tables: Read Only, except picomp Local tables: Read, Write, Create, Delete Linked Server via MSDASQL (only pass through queries) Linked Server (MS SQL Server 2000 and above)

PI OLEDB 1.1 PI Server Real Time Data PI-API PI-ODBC PI-SDK/PI-API PI-OLEDB SQLSS Support for nested queries and subqueries Additional keywords (IN, NOT IN, ANY, ALL…) “INSERT INTO … SELECT …” construction

Enhancements in SQL support SELECT u.batchid, u.procedure, u.starttime, u.endtime, u.product, h.name unit, (SELECT tag FROM pimodule..pialias WHERE moduleuid = moduleuid(h.path + h.name + '\PI-BaGen') AND moduleversion = moduleversion(moduleuid) AND name = 'temp') tag, (SELECT x.value FROM pimodule..pialias a INNER JOIN piarchive..piavg x ON x.tag = a.tag WHERE a.moduleuid = moduleuid(h.path + h.name + '\PI-BaGen') AND a.moduleversion = moduleversion(a.moduleuid) AND a.name = 'temp' AND x.time >= u.starttime AND x.time = '*-3h' AND h.path = '\PI-BaGenExamples\'

Better? SELECT u.batchid, u.procedure, u.starttime, u.endtime, u.product, h.name unit, (SELECT tag FROM pimodule..pialias WHERE moduleuid = moduleuid(h.path + h.name + '\PI-BaGen') AND moduleversion = moduleversion(moduleuid) AND name = 'temp') tag, (SELECT x.value FROM pimodule..pialias a INNER JOIN piarchive..piavg x ON x.tag = a.tag WHERE a.moduleuid = moduleuid(h.path + h.name + '\PI-BaGen') AND a.moduleversion = moduleversion(a.moduleuid) AND a.name = 'temp' AND x.time >= u.starttime AND x.time <= u.endtime) value FROM pimodule..pimoduleh h INNER JOIN pibatch..piunitbatch u ON u.moduleuid = h.uid WHERE u.starttime >= '*-3h' AND h.path = '\PI-BaGenExamples\' Subquery Function Correlated Subquery

Demo1: Tag Copy

Plug & Play Scenarios Plug & Play by Configuration PI OLEDB  Office Data Connection  MS Excel 2002 PI OLEDB  Office Data Connection  WWW PI OLEDB  MS SQL Server (Linked Server)  ODBC PI OLEDB  MS SQL Server (Linked Server)  MS Access.ADP PI OLEDB  MS SQL Server (Linked Server)  MS Data Analysis Services (OLAP)  MS Data Analyzer / MS Excel PI OLEDB  Attunity Connect  ODBC PI OLEDB  Data Control  Data Grid PI OLEDB  winAllora  XML, DOM... Data Access in Programming Environment PI OLEDB  ADO PI OLEDB  System.Data.OLEDB  ADO.NET PI OLEDB  Data Control PI OLEDB  winAllora  SAX...

Demo2: Nested Query to use TagList

Demo3: PivotChart in MS Excel

M Module DB support in PI OLEDB 2.0 PIAliases Properties Methods Events PIProperties Properties Methods Events PIModule Properties Methods Events pimoduleh piproperty pialias Object DB Relational DB 1:1

Why SQL for ModuleDB? Provides different access mechanism ADO as programming alternative to PI SDK Best integration in RDBMS‘s Join with Data Archive possible Ideal to answer questions like: Many Tools for SQL type OLE DB Providers, see Plug & Play

Demo4: ModuleDB Table Structure

Demo5: Query Examples What modules do have a Tag Alias named “TEMP”? SELECT m.name FROM pimodule m, pimodule..pialias a WHERE m.uid=a.moduleuid and a.name='TEMP‘ How many units are defined in the ModuleDB? SELECT count (*) FROM pimodule WHERE ispiunit = TRUE What are the modules under the %OSI tree? SELECT m.name, m.path FROM pimoduleh m WHERE path like '\%OSI\*'

MS SQL Server 2000 PI OLEDB and MS SQL Server PI-OLEDB RDBMS NET RELATIONAL DATABASE (e.g. Oracle) NON REAL-TIME DATA PRODUCT, EQUIPMENT, SPECIFICATION, SAFETY, ETC. OLEDB for Oracle Views Local Tables MS Access 2000 MS Query ODBC Clients OLEDB / ODBC PI SERVER PI SYSTEM REAL-TIME DATA MANUAL / PROCESS / CALCULATED

MS Data Analysis Services MS SQL Server 2000 PI OLEDB 2.0 and OLAP PI-OLEDB RDBMS NET RELATIONAL DATABASE (e.g. Oracle) NON REAL-TIME DATA PRODUCT, EQUIPMENT, SPECIFICATION, SAFETY, ETC. PI SERVER PI SYSTEM REAL-TIME DATA MANUAL / PROCESS / CALCULATED OLEDB for Oracle Views Local Tables MS Excel MS Data Analyzer MS OLAP OLEDB

Steps to use MS Data Analyzer for PI Configure Linked Server in MS SQL Server Create Views for Fact table and Dimension tables (data amount must be limited) Connect to Data Source (the DB containing the Views) in Analysis Manager Create a Cube in Analysis Manager (define Dimensions and Measures) Process the Cube Connect to Cube from Data Analyzer

Demo6: Data Analysis Services (OLAP)

PI OLEDB Product Information Part of PI Data Access Package –Individual Version –Enterprise Version (Linked Server, Server Apps.) PI OLEDB 1.1 –SQL Improvements –Bug fixes –Release Q1/2002 PI OLEDB 2.0 –Access to ModuleDB (read/write) –Enterprise Version accessible from MS Data Analysis Services (OLAP) –Beta Q2/2002 –Release Q4/2002