SQL Based Data Access - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

SQL Based Data Access

Description:

Run on Windows and Linux without additional work. PI JDBC Demo. Linux (ubuntu) DBVisualizer. allows to access and explore any jdbc Driver. PI JDBC (Bridge) ... – PowerPoint PPT presentation

Number of Views:119
Avg rating:3.0/5.0
Slides: 19
Provided by: kellyk2
Category:
Tags: sql | access | based | data | linux | ubuntu

less

Transcript and Presenter's Notes

Title: SQL Based Data Access


1
SQL Based Data Access Bodo Bachmann
2
Agenda
  • New Architecture
  • Motivation
  • PI SQL Data Access Server (PI SQL DAS)
  • Roadmap
  • PI JDBC
  • PI SQL DAS 1.0
  • Cross Platform Demo
  • PI OLEDB 64bit (x64)
  • Details
  • PI System OLEDB Provider 1.0
  • Functionality
  • Demo
  • Future (Tag based data, Event Frames,...)

3
Data Access - Overview
PI Data is available via common standards
Data Access
RtBaseline Services for Thin Clients
OLEDB
OPC
ODBC
  • WebServices (i.e. RtBaseline Services) Provide
    Data to Web Applications
  • OLEDB Data Access via SQL Queries
  • ODBC Data Access via SQL Queries
  • OPC DA/HDA/UA Data Access to the PI System via
    OPC Standard

4
Data Access Via PI OLEDB
  • PI OLEDB provider allows applications (OLE DB
    consumers) working with PI data through SQL
    queries
  • Next Generation Motivation
  • renew PI OLEDB Architecture
  • introduce JDBC and other data provider standards
  • support PI System

Client Application
PI Server
SQL Engine
SQL Queries
OLE DB Consumer
PI OLEDB Provider
5
AF in the PI System
  • Data structured and organized by Assets
  • Spans multiple PI Systems
  • Incorporates non time series Data

Non Time Series Data Sources

SCM
RDBMS
MES
Time Series Data
Meta-Data
Time Series Data
6
New Architecture
  • Multi-standard andmulti-platform
    architectureOne connection allows querying
    multiple data sources
  • Standard implementation separated from SQL
    functionality
  • Prepared for heterogenious query engine

Consumer / Client
Consumer / Client
Consumer / Client
Consumer / Client
New SQLStandards
OLE DB
ODBC (possible)
JDBC
Third party data source
PI Servers
AF Database
7
New Resource Management
  • Paging
  • Protects server from huge data requests
  • Decreases memory requirements
  • Caching
  • Smart memory management
  • PI SQL DAS Deployment optionsfor example
  • 1x PI SQL DAS for Web Farm
  • 1x PI SQL DAS for Reporting
  • 1x PI SQL DAS for Clients

Third party data source
PI Servers
AF Database
8
Roadmap
2008
2011
Use of new Architecture Components
PI JDBC
PISysODBC
PISysJDBC
PISysOLEDB
PISysOLEDB
PI SQL DAS
PI SQL DAS
PI OLEDB
AF Server
AF Server / BLS
PI Server
PI System
PI System
9
PI JDBCArchitecture Details
  • PI JDBC
  • Windows Linux
  • requires PI OLEDB
  • meant to support Java server apps

Client Application
Multi-Platform(Windows, Linux)
PI JDBC
WCF
RDSA
RDSA
https
WCF C
PI OLEDB
PI Servers
10
PI JDBC
  • PI JDBC Details
  • bridge to PI OLEDB (Type 1 JDBC driver)
  • based on JDBC 4.0 API (Java Platform SE 6)
  • same table structure, same SQL functionality as
    PI OLEDB
  • Multiplatform
  • Will work on many Linux Distributions
  • Testing concentrates on Windows, Novell Suse
    Linux Enterprise Server and Red Hat Enterprise
    Linux
  • best option for JAVA based development
  • Limitations
  • PI OLEDB is multithreaded but not designed as
    backend
  • additional communication infrastructure overhead
  • amount of supported OS limited because network
    component is OS specific

11
PI JDBC Demo
  • getSnap JDBC application
  • Compile in Windows version of Eclipse
  • Run on Windows and Linux without additional work

12
PI JDBC Demo
  • Linux (ubuntu)
  • DBVisualizerallows to access and explore any
    jdbc Driver
  • PI JDBC (Bridge)talking to PI OLEDB

13
PI OLEDB 64bit
  • can coexist with 32bit PI OLEDB version on 64bit
    Windows (x86-x64)
  • transparent to applications if both versions
    installed
  • required for 64bit SQL Server Linked Server
  • requires 64bit PI SDK
  • comes as seperate setup kit

14
PI OLEDB 64bit
  • check version via architecture column in
    piproductversion table

15
PI OLEDB 64bit
  • Increased performance for large resultsets

16
PI System OLEDB v1 Architecture Details
  • PISysOLEDB version 1
  • Windows based
  • Linked to AF SDK (bypass object model)
  • Access via AF Server
  • Read-only

Consumer
PISysOLEDB
AF SDK
Third party data source
PI Servers
AF Database
17
PI System OLEDB v1 Demo
18
Summary
  • Upcoming releases
  • PI JDBC
  • PI OLEDB 64bit
  • Release schedule Q2/2009
  • PISysOLEDB v1
  • Beta scheduled Q2/2009
  • Release schedule Q4/2009
  • PI SQL DAS v2 based products in development
  • PISysOLEDB v2
  • PISysJDBC
Write a Comment
User Comments (0)
About PowerShow.com