PI Data Access via OLE DB/SQL

Slides:



Advertisements
Similar presentations
Getting Started with Oracle and .NET
Advertisements

1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
SQL Based Data Access Bodo Bachmann.
© 2008 OSIsoft, Inc. | Company Confidential Event Frames Initiative Update Chris Nelson Chris Coen Chris Nelson Chris Coen.
FAST Radar System Engineering Overview. FAST Radar Overview –What’s Required? IIS 6.0  With Microsoft.NET Framework 1.1 and SMTP for MS SQL Server.
How to Use FT6 for Filling Data ?
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
Using Visual Basic 6.0 to Create Web-Based Database Applications
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLEDB A new product for Universal Data Access to the PI System.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
Introducing Dream Report Win Worrall Applications and Development Engineer.
How Open is OpenInsight?
OLE and ODBC: Taming the Technologies The Third Annual Perl Conference, 1999 Sunday, August 22, 1999Roth Consulting ODBC.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Chapter 8 Relational Databases ActiveX Database Controls 8 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Web-based Software Development - An introduction.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Module 1: Introduction to Microsoft SQL Server 7.0.
SQL Server Reporting Services London Database Developer Forum Anoop Patel.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Multiple Cases Access Utilities1 Access & ODBC Managing and Using ODBC Connections P.O. Box 6142 Laguna Niguel, CA
1998 PI System Users’ Conference PI on the Web: A Primer for PI Users Omicron Consulting 1998 PI System Users’ Conference.
The PI-ProcessBook Family Customizable views of your data - Anywhere you want them.
PowerDesigner 12.5 by Dejan Sunderic
Using Visual Basic 6.0 to Create Web-Based Database Applications
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Visualization in the Real-Time Enterprise Ken Marsh Service Manager OSI Software Asia Pte Ltd.
Fundamentals of Database Chapter 7 Database Technologies.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
CITGO Corpus Christi Refinery PI Here, PI There, PI Everywhere 1 PI WEB Graphics Application Management Systems, Inc. Outline pApplication Purpose, functional.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
PI ICE and Web Applications – Gregg Le Blanc PI ICE Gregg Le Blanc PI System Product Manager.
OSI Development Plans Mark Hughes. ProcessBookDataLink PI-APIPI-SDK Automation OLE Objects ActiveX Controls COM Add-ins ODBC Datasets PINetMgr ArchiveBase.
Application Framework Richard Beeson Ray Verhoeff.
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.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
Today’s Agenda Chapter 7 Review for Midterm. Data Transfer Tools DTS (Data Transformation Services) BCP (Bulk Copy Program) BULK INSERT command Other.
Analysis Framework PI AF 2.0 Foundation Project
Yokogawa Global MES Solution Centre (GMSC)
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.
Chapter 1 Introduction to Ecommerce What is E-Commerce? Microsoft Technologies for E- Commerce. What is an ASP Page. Objectives :
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
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.
OSIsoft Thin Clients RtWebParts and RtBaselineServices Jay Lakumb OSIsoft, Inc.
OSIsoft Thin Clients RtWebParts and RtBaselineServices Jay Lakumb OSIsoft, Inc.
Module 1: Introduction to Microsoft SQL Server Reporting Services
7-1 Active Server and ADO Colorado Technical University IT420 Tim Peterson.
Advanced Database & Client Server Introduction to MS SQL Server 2000 and Transact SQL -
GRIN-Global Suite of Software Components. Updater.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
Building Enterprise Applications Using Visual Studio®
Web-based Software Development - An introduction
ADO.NET Accessing Databases in VS.NET
K-Plex, Inc. We Develop Technology for… Personalization Integration
Database Objects 1/12/2019 See scm-intranet.
DAT381 Team Development with SQL Server 2005
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 10 ADO.
Database Applications
Presentation transcript:

PI Data Access via OLE DB/SQL PI OLEDB PI Data Access via OLE DB/SQL PI OLEDB Data Provider, Bodo Bachmann

Agenda Functional Overview Web Service for PI OLEDB MS Linked Server Real-time Performance Management for the Enterprise Agenda Functional Overview Web Service for PI OLEDB MS Linked Server Oracle Generic Connectivity Be aware Future Development PI OLEDB Data Provider, Bodo Bachmann Copyright © 2003 OSIsoft, Inc.

What Tasks? PI OLEDB PI OLEDB Copy Data between PI and RDBMS Link Data Link RDBMS data into PI Link PI data into RDBMS Display PI and RDBMS data together ProcessBook Excel Other Clients, e.g. SQL Tools, Report Writer,... PI OLEDB PI OLEDB PI OLEDB Data Provider, Bodo Bachmann

PI OLEDB 2.0 OLE DB Data Provider – SQL Read/Write Access to Archive, Module DB , Batch , User DB, Tag DB, Dig. States Read Access to Log File , PE Functions, Aggregation Explicit support for ADO, ADO.NET , Data Controls MS SQL Server - Linked Server Oracle Generic Connectivity MS Data Analysis Services (OLAP) PI OLEDB Data Provider, Bodo Bachmann

Explore PI OLEDB : Demo PI OLEDB Data Provider, Bodo Bachmann

Web Service for PI OLEDB PI Servers FIREWALL WEB SERVICE Microsoft IIS PI OLEDB Web Client MS .NET Framework SOAP XML HTML Port 80 INTERNET / INTRANET Web Browser VB Script PI OLEDB Data Provider, Bodo Bachmann

Web Service - Demo PI OLEDB Data Provider, Bodo Bachmann

SQL Server – Linked Server MS SQL Server 2000 OLEDB / ODBC MS Access 2000 Views MS Query Local Tables ODBC Clients OLE DB for Oracle PI OLEDB RDBMS NET Relational database non real-time data product, equipment, specification, safety, etc. PI SERVER PI SYSTEM REAL-TIME DATA MANUAL / PROCESS / CALCULATED PI OLEDB Data Provider, Bodo Bachmann

Linked Server - Demo PI OLEDB Data Provider, Bodo Bachmann

Oracle – Generic Connectivity Oracle 8i (8.1.6+), 9i OLEDB / ODBC SQL Plus Views Oracle Forms Local Tables ODBC Clients OLE DB for SQL Server PI OLEDB RDBMS NET Relational database non real-time data product, equipment, specification, safety, etc. PI SERVER PI SYSTEM Real-time data manual / process / calculated PI OLEDB Data Provider, Bodo Bachmann

Oracle Generic Connectivity Edit 3 text files tnsnames.ora listener.ora initpioledb.ora Define database link CREATE PUBLIC DATABASE LINK PI3 USING 'PIOLEDB'; Map Oracle users to PI users CREATE DATABASE LINK PI3 CONNECT TO “piadmin" IDENTIFIED BY “password"; Repeat per user PI OLEDB Data Provider, Bodo Bachmann

Generic Connectivity - Demo PI OLEDB Data Provider, Bodo Bachmann

Be aware (1): Use Optional Connection Pooling In Linked Server Connection Pooling=True; SQL Server 2000 Cannot Write To Remote VARIANT Columns Our batch tables for example use variants  use pass through Current Version Can Be Used With ASP.NET Aspcompat=true VS.NET Database Designer Wizard Puts Brackets Microsoft Knowledge Base Article - 325790 PI OLEDB Data Provider, Bodo Bachmann

Be aware (2): Older Oracle ODBC drivers cannot access remote databases Use Oracle ODBC driver 9.0.1.5.0 and above Oracle Cannot Set OLE DB Query Timeout Use global Command Timeout Property (in UDL file) Oracle Heterogenious Queries Switch Off Two-Phase Commit dbms_hs.create_class_init ('xxx', '2PC', 'SS', 'F'); Tag Search Queries With Escape Character Other Than ‘\‘ Are Local „... WHERE tag like ‘tag\_1*‘ ESCAPE ‘\‘ ...“ PI OLEDB Data Provider, Bodo Bachmann

Future OLE DB Has Not Reached Its Peak Bug Fix Version - Q2/2003 Continued tests for integration scenarios, e.g. OLAP Bug Fix Version - Q2/2003 Module DB XML Import/Export Utility (ADO.NET Example) Next Major Version - Beta Q4/2003 Move to „free threading“ Support for .NET Web Service Support for Application Framework New SQL Engine Prepare ground for .NET Managed Provider PI ODBC? PI OLEDB Data Provider, Bodo Bachmann

RtPM Pyramid Act Visualize Distribute Analyze Assign Context Gather Without Action, there is no Benefit People Need Pictures, Graphs, Trends Visualize Get the Information to People Who Need It Distribute Aggregation, Reconciliation, Calculation, Cases Analyze Execs Look for Equipment, Plants, Products, not Tags Assign Context Gather Data Collection from Inside and Outside the Corporation PI OLEDB Data Provider, Bodo Bachmann