Top Banner
IBM z Systems (Mainframes!) for IT Architects and Data Scientists The Fillmore Group – March 2016 A Premier IBM Business Partner
34

IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Apr 25, 2018

Download

Documents

phungque
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

IBM z Systems (Mainframes!) for IT Architects

and Data Scientists

The Fillmore Group – March 2016

A Premier IBM Business Partner

Page 2: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Agenda

Introduction

Types of data on z Systems (z/OS) DB2 for z/OS (relational database)

IMS – Information Management System (hierarchical

database)

VSAM –Virtual Storage Access Method (indexed file)

2

Page 3: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Agenda

Key Approaches to Unlocking the Data HTAP – Hybrid Transaction / Analytics Processing

Replication to heterogeneous data stores

Virtualization of heterogeneous data stores

ETL – Extract, Transform, Load

3

Page 4: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

History

The Fillmore Group, Inc.

Founded in the US in Maryland, 1987

IBM Business Partner since 1989

Delivering IBM Education since 1994

DB2 Gold Consultant since 1998

IBM Champions since 2009

4

Page 5: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

The Fillmore Group, Inc.

IBM Analytics Technical Support and Consulting

Authorized Training with IBM Global Training Partner

IBM Analytics Software Reseller

5

Page 6: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

DB2 for z/OS v11

Relational Database Management System (RDBMS)

Primarily structured data formatted in tables using rows

and columns

Application access using Structured Query Language

(SQL) ANSI X3.135-1999 (with extensions)

B-tree indexes

Cost-based Optimizer chooses access path

6

Page 7: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

7

Data

Manager

Buffer

ManagerIRLM

Log

Manager

Applications DBA Tools, z/OS Console, ...

. . .

Operational Interfaces(e.g. DB2 Commands)

Application Interfaces(standard SQL dialects)

z/OS on z Systems

DB2 for z/OS

Superior availability

reliability, security,

workload management

Page 8: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Access to DB2 for z/OS from Windows/Linux(EBCDIC to ASCII/Unicode Protocol Conversion)

DB2 Connect

IBM Data Server Driver for JDBC and SQLJ

IBM Data Server Driver for ODBC and CLI

DB2 Adapter for z/OS Connect Mobile and Cloud connectivity

Packaged with WAS, CICS and IMS

8

Page 9: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Access to DB2 for z/OS from Windows/Linux

Scripting languages PhP, Ruby on Rails, Python, Perl, Node.js

Hibernate/iBatis Accelerators

JavaScript Object Notation (JSON)

Microsoft .NET Data Provider, Visual Studio

Application servers WebSphere, Apache

9

Page 10: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

10

DB2 Adapter for z/OS Connect

Page 11: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Real-time DB2 for z/OS Analytics Challenges

Might interfere with online transaction processing

(OLTP)

B-tree index access degrades over billions of rows

z Systems disk storage cost

11

Page 12: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Hybrid Transaction / Analytic Processing (HTAP)

IBM DB2 Analytics Accelerator (IDAA)

Transaction Processing

Systems (OLTP)

Complex

Analytics

DB2 for z/OS PureData for Analytics

(PDA)

Data MartData MartData Mart

Data Mart Consolidation

Transactional Analytics

12

Page 13: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

13

Queries executed with DB2 Analytics Accelerator

DB2 for z/OS

Optimizer

IDA

A D

RD

A R

eq

ues

tor

DB2 Analytics Accelerator

Application

Application

Interface

Queries executed without DB2 Analytics Accelerator

Query execution run-time for queries that

cannot be or should not be off-loaded to

IDAA

SPUCPU FPGA

Memory

SPUCPU FPGA

Memory

SPUCPU FPGA

Memory

SPUCPU FPGA

Memory

SM

P H

ost

Page 14: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

14

Times

Faster

Query

Total Rows

Reviewed

Total

Qualifying

Rows

Total

Rows

Returned Hours Sec(s) Hours Sec(s)

Query 1 591,941,065 2,813,571 853,320 2:39 9,540 0.0 5 1,908

Query 2 591,941,065 2,813,571 585,780 2:16 8,220 0.0 5 1,644

Query 3 813,343,052 8,260,214 274 1:16 4,560 0.0 6 760

Query 4 283,105,125 2,813,571 601,197 1:08 4,080 0.0 5 816

Query 5 591,941,089 3,422,765 508 0:57 4,080 0.0 70 58

Query 6 813,343,052 4,290,648 165 0:53 3,180 0.0 6 530

Query 7 591,941,065 361,521 58,236 0:51 3,120 0.0 4 780

Query 8 813,343,052 3,425,292 724 0:44 2,640 0.0 2 1,320

Query 9 813,343,052 4,130,107 137 0:42 2,520 0.1 193 13

DB2 Only

DB2 with

IDAA

Page 15: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

15

Page 16: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

IMS – Information Management System v14

Hierarchical data model

Typically accessed via 3GL (e.g. Cobol, PL/I) Imbedded Data Language/Interface (DL/I)

Multiple fields comprise a “segment” or record type

Applications navigate between segments using

imbedded pointers

16

Page 17: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

IMS – Information Management System

17

Page 18: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Access to IMS

Extract natively on z/OS Custom (e.g. Cobol)

Utility (e.g. File-Aid)

IMS Enterprise Suite Microsoft .NET

Java

SOAP

z/OS Connect

18

Page 19: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

VSAM –Virtual Storage Access Method

Types Entry-sequenced Data Set (ESDS)

Key-sequenced Data Set (KSDS) - indexed

Relative-record Data Set (RRDS)

Typically accessed via 3GL (e.g. Cobol, PL/I)

Schema imbedded in application program

Single file might have multiple schemas

“Dirty” data19

Page 20: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

VSAM –Virtual Storage Access Method

20

Page 21: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Access to VSAM

Extract natively on z/OS Custom (e.g. Cobol)

Utility (e.g. IDCAMS REPRO)

21

Page 22: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Access to IMS and VSAM

Replication IBM InfoSphere Data Replication (IIDR)

Virtualization InfoSphere Classic Federation for z/OS (SQL)

Rocket Data Virtualization (SQL, NoSQL)

HTAP - IDAA DB2 Analytics Accelerator Loader v2.1

22

Page 23: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Access to IMS and VSAM

Extract, Transform, Load (ETL) InfoSphere Classic Connector for z/OS and

InfoSphere Information Server (Datastage)

Third-party

23

Page 24: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

IBM InfoSphere Data Replication (IIDR)

24

DB2 (i, LUW)

Informix

Oracle/Exadata

MS SQL Server

Sybase

DB2 (z/OS, i, LUW)

Informix

Oracle/Exadata

MS SQL Server

Sybase

Pure Data for Analytics (Netezza)

Teradata

Information Server

Cloudant

DataStage to GreenPlum, …

Message Queues

Files

Customized Apply

FlexRep (JDBC targets)

IMS

DB2 z/OS

MySQL, EnterpriseDB…

ESB, MQ Series, JMS, …

Flat file, HDFS…

Hadoop/Streams HDFS/Hive, WebHDFS, User Exit

z/OS

VSAM

DB2 z/OS

IMS

VSAM

Page 25: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Replication

Strengths Typically log-based Capture

Isolate analytics from OLTP on a different platform

Weaknesses Data conversion issues (depending on the target)

EBCDIC to ASCII/Unicode protocol conversion

NULLs

Latency – data might be stale by seconds or minutes

Limited data transformations25

Page 26: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

InfoSphere Classic

Federation for

z/OS

(Virtualization)

26

z/OS

MetadataCatalog

Classic Server

ClassicData Connectors

ClassicDataArchitect

zLinux,

AIX, HP-UX,

Solaris, Linux,

Wintel, JVM,

Tool Application

Classic Client

COBOL or PL/Icopybooks

IMS, IDMS, Datacom, and Adabas databasesVSAM & seq. files

Page 27: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Virtualization (i.e. Federation)

Strengths Real-time access to system-of-record (no latency)

Weaknesses Might interfere with OLTP

Data conversion issues (but not “landing” the data)

Limited data transformations (SQL-based access)

27

Page 28: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

28

ETL – Extract, Transform, and Load

Page 29: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

ETL – Extract, Transform, Load

Strengths Unlimited data transformations (e.g. star schema)

Isolate analytics from OLTP on a different platform

Weaknesses Cost

Latency – data might be stale by hours or days

Complexity risk Data provenance

Security29

Page 30: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

HTAP – Hybrid Transaction / Analytic

Processing

Reduce z/OS CPU utilization

Analytics latency

Data modeling

Complexity risk

Integration costs

Storage costs for archival and historical data

30

Page 31: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Next Steps

Determine application requirements in terms of: Latency (e.g. in-transaction analytics)

Volume of data Granularity

Retention

Other data to be used in combination z/OS data Structured

Schema-on-read

Preferred analytical tools31

Page 32: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Next Steps

Whiteboarding session

Hands-on Workshop

Proof-of-concept (POC)

Financial analysis

32

Page 33: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

33

Attributions

Karen Durward, IBM

Namik Hrle, IBM Fellow

Jørn Thyssen, IBM

Paul Wirth, IBM

Page 34: IBM z Systems (Mainframes!) for IT Architects and Data ...thefillmoregroup.com/blog/wp-content/uploads/2016/03/IBM-z-Systems... · The Fillmore Group –March 2016 A Premier IBM Business

Contacts

Kim May

[email protected]

twitter.com/KimMayTFG

https://www.linkedin.com/in/kimmaytfg

Frank Fillmore

[email protected]

twitter.com/ffillmorejr

https://www.linkedin.com/in/frank-fillmore-9a65976

tinyurl.com/ChannelDB2

Flipboard for iPad, iPhone, Android: “BigData”

34