(ats3-plat04) database connectivity for application development

19
(ATS3-PLAT04) Database Connectivity for Application Development Ed Kernohan Lead Engineer [email protected]

Upload: accelrys

Post on 11-Jan-2015

1.078 views

Category:

Technology


0 download

DESCRIPTION

Learn about establishing connections to external data sources through Pipeline Pilot. Accelrys has made several additions to the way users can connect to external data sources, and has enhanced the tools for managing your connections. This presentation will cover configuring data sources in Linux or windows, available connection technologies (JDBC, ODBC) and their performance characteristics, connection types (DSN, Connection strings, etc.), configuring components to access your data (Select, insert, functions and stored procedure calls) and commonly encountered connection problems.

TRANSCRIPT

Page 1: (ATS3-PLAT04) Database Connectivity for Application Development

(ATS3-PLAT04) Database Connectivity for Application Development

Ed KernohanLead Engineer

[email protected]

Page 2: (ATS3-PLAT04) Database Connectivity for Application Development

The information on the roadmap and future software development efforts are intended to outline general product direction and should not be relied on in making a purchasing decision.

Page 3: (ATS3-PLAT04) Database Connectivity for Application Development

Agenda

• Overview of database connectivity with Accelrys Enterprise Platform

• Connection technologies• Connection types• Component access• Data source configuration• Common pitfalls

Page 4: (ATS3-PLAT04) Database Connectivity for Application Development

ETL Processing

• Objective: Facilitate movement and transformation of data

• 3 Functions– Extract data from remote sources– Transform Data (Standardize,

reformat etc.)– Load data to a target system

• Focus on Extraction and Load using Data Sources

Page 5: (ATS3-PLAT04) Database Connectivity for Application Development

• The Integration collection includes a set of components designed for Database connectivity.

• Pipeline Pilot Server can access databases that are ODBC or JDBC compliant

• Allows connections to a variety of compliant databases (Oracle, SQL Server, MS Access, etc.)

• Data sources are defined and administered through the Administration Portal. – The client machines do not require configuration

• Network databases are accessed through the SQL components through data Sources.

Database Connectivity

Page 6: (ATS3-PLAT04) Database Connectivity for Application Development

Connection Technologies

• Open Database Connectivity (ODBC)– Better peformance for simple data selection

• Java Database Connectivity (JDBC)– Selection of LOB’s– Oracle proxy connections– Wider array of connections available.

– Batch insert and update now supported in ODBC and JDBC (8.5)

Page 7: (ATS3-PLAT04) Database Connectivity for Application Development

Performance: ODBC v JDBC

Page 8: (ATS3-PLAT04) Database Connectivity for Application Development

Performance: Batching

Page 9: (ATS3-PLAT04) Database Connectivity for Application Development

Connection Types

• Connection String– Configured within components

• DSN– Data Source connection manager (Windows)– ODBC.ini file (Linux)

• Pipeline Pilot – Administration Portal– Required for JDBC

Page 10: (ATS3-PLAT04) Database Connectivity for Application Development

• AKA Connection strings

• Configurable directly on the component

• Currently supported for ODBC only

Example:Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\mydatabase.accdb;Uid=Admin;Pwd=;

DSN-less connections

Page 11: (ATS3-PLAT04) Database Connectivity for Application Development

Demo• Component Configuration

Page 12: (ATS3-PLAT04) Database Connectivity for Application Development

Configuring via DSN

• Managed through ODBC Data Source Administrator on Windows

• Managed through a configuration file on Linux called ODBC.ini

Page 13: (ATS3-PLAT04) Database Connectivity for Application Development

• Consolidation of connections

• Import / Export functionality

• Assignment of global credentials

• Set connection access levels

• Required for JDBC

Configuring via the admin portal

Page 14: (ATS3-PLAT04) Database Connectivity for Application Development

Demo• Admin Portal configuration

Page 15: (ATS3-PLAT04) Database Connectivity for Application Development

Common connection problems

• SQLDescribe Param• 32-Bit vs. 64-Bit• 4000 character limitation• MySQL community driver

Page 16: (ATS3-PLAT04) Database Connectivity for Application Development

Summary

• What we learned– Accelrys Enterprise Platform supports ODBC and JDBC connections– Connections can be established 3 ways

• DSN• Connection String• Pipeline Pilot Data Source

– How to manage data source globally through the admin portal– How to configure components to use these data sources

• What Now?– Contact your account manager to inquire about the integration collection– Take a look at our available resources for more information

Page 17: (ATS3-PLAT04) Database Connectivity for Application Development

Available Resources

• Pipeline Pilot Help Center– Context Menu: Help-> Help Center within client– http://<servername>:<port>/help/docs/

• The Accelrys community– http://community.accelrys.com/

• Contact customer support– Phone: 1-800-756-4674– Email: [email protected]

Page 18: (ATS3-PLAT04) Database Connectivity for Application Development

Q&A

• Any questions?

Page 19: (ATS3-PLAT04) Database Connectivity for Application Development

The information on the roadmap and future software development efforts are intended to outline general product direction and should not be relied on in making a purchasing decision.

For more information on the Accelrys Tech Summits and other IT & Developer information, please visit:https://community.accelrys.com/groups/it-dev