db2 for z/os architecture in nutshell

Post on 27-Jan-2015

176 Views

Category:

Technology

7 Downloads

Preview:

Click to see full reader

DESCRIPTION

This presentation is specificially prepared for Computer Science Student. It's first presented in METU, Ankara and YTU, Istanbul

TRANSCRIPT

DB2 for z/OS Architecture in Nutshell

Cüneyt Göksu

DB2 SME, Information Champion, IBM Gold Consultant

CENG497 - DB2 for z/OS Seminar – May 26th 2011 – Middle East Technical University, Ankara

1

BS, Computer Science, YTU, Istanbul, 1990 MBA, Marmara University, Istanbul, 1992 MS in CS, IIT, Chicago, 1994 20+ years in “Information Management” Technologies 1996 IDUG (International DB2 Users Group) 2004 TDUG (Turkish DB2 Users Group) 2008-2010 IBM Data Champion 2009 IBM Gold Consultant 2011 IDUG BOD

Who am I ?

2

Mainframe – Legend Never Ends

•1964: IBM® System/360™

•Obsolete? New trend?

•Trusted for mission-critical data

•Capability to maintain both old and new applications

•SOA (Service-Oriented Architecture) enabled

•z/OS – Most widely used mainframe operating system

•DB2 for z/OS – IBM’s mainframe relational database management system – Since 1983!

3

4

5

6

What is DB2 for z/OS?

• Relational Data Base Management System (RDBMS) – Data base consists of tables • Simple concepts

• Dynamic relationships

– Structured query language (SQL) • High level – Data Manipulation Language (DML)

– Data Definition Language (DDL)

– Data Control Language (DCL)

• User specifies WHAT not HOW

– RDBMS facilities • Integrity

• Dynamic definition of DB2 objects

• Active catalog

• Recovery / restart

• Continuous operations

• Security

• Interactive tools

7

• DB2 receives MANY requests

from MANY user programs to

access potentially the SAME data

• Besides USER PROGRAMS, DB2

also receives requests from

UTILITIES

Utility

Trx2

Prog2

TSO

Trx1

CICS

Trxb

Trxa

IMS DB2

Utility

BATCH

Prog1

WebSphere Application

Server

Appl2

Appl1

• Distributed

Applications

The system’s view

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

The Risks of Database Failures

50

51

52

53

54

55

56

57

Log Time

UPDATE UPDATE DELETE

IMAGE COPY

RECOVER

DISK CRASH

COPY

COPY/RECOVER utilities

58

59

60

DB2 Data Structures

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

DB2 Concurrency Control

76

Prog1 Prog2

. . .

UPDATE

COMMIT

SELECT OK

Row

RELEASE LOCK

SHARED LOCK

... WAIT ...

EXCLUSIVE LOCK

DB2 must maintain data integrity and also

provide maximum concurrency

STOP

1

2

3

4

EMPLOYEE Table

Data integrity and concurrency

77

78

79

80

81

82

83

84

85

86

87

DB2 Security

88

Functional Designer

Programmer

Technical Designer

Database Administrator

System Administration

Security Administrator

Data Administrator

Capacity Planner

z/OS Sysprog

CICS/IMS Sysprog

TP Specialist

Operations

Roles and interfaces in DB2

89

90

91

92

93

Distributed Data Facility

94

Location transparency, Scalability, Phased growth, Portability of application

95

96

97

98

99

100

101

102

103

104

105

106

107

• Improved availability

• Huge queries feasible

• SYSPLEX hardware required

• Single shared catalog

• Incremental processing growth

• Configuration flexibility

• Dynamic workload balancing

z/OS

DB2 DB2 DB2

DB2 SHARED

DASD DB2

DB2 DB2 DB2

z/OS z/OS

z/OS z/OS

z/OS z/OS z/OS

DB2 for z/OS data sharing

108

Q&A

Cüneyt Göksu

DB2 SME, Information Champion, IBM Gold Consultant

Cuneyt.Goksu@Gmail.com

CENG497 - DB2 for z/OS Seminar – May 26th 2011 – Middle East Technical University, Ankara

109

top related