Servizio Monitoraggio e Capacity - epvtech.com

21
EPV User Group 2016 Roma 29 settembre CONSORZIO OPERATIVO GRUPPO MPS Roberto Gioi Servizio Monitoraggio e Capacity EPV for DB2 in MPS

Transcript of Servizio Monitoraggio e Capacity - epvtech.com

Page 1: Servizio Monitoraggio e Capacity - epvtech.com

EPV User Group 2016 Roma 29 settembre

CONSORZIO OPERATIVO GRUPPO MPS

Roberto Gioi

Servizio Monitoraggio e Capacity

EPV for DB2 in MPS

Page 2: Servizio Monitoraggio e Capacity - epvtech.com

2 © 2016 Montepaschi. All rights reserved.

Some history

2012 – Production 2 CEC 11 LPARs

36 DB2 subsys

2012 – Production 2 CEC 11 LPARs

36 DB2 subsys

2014 – Production 1 CEC 5 LPARS

28 DB2 subsys

2012 – Production 2 CEC 11 LPARs

36 DB2 subsys

2014 – Production 1 CEC 5 LPARS

28 DB2 subsys

2016 – Production 1 CEC 4 LPARS

20 DB2 subsys Add 6 DB2 subsys in SAP-dedicated LPAR (2014)

Mainframe Consolidation

We don’t mention Test environment ( DevOps project still on-going )

Page 3: Servizio Monitoraggio e Capacity - epvtech.com

3 © 2016 Montepaschi. All rights reserved.

…and in MPS ?

EPV for DB2 as natural extension of

EPV for z/OS

Initially intended to be used by DBA’s

Eventually adopted by Capacity Mgmt.

& Performance Optimisation

System programmers: - daily check: exceptions, critical events, configuration changes - periodical checks: resources, EDM pools, BP/GBP pools, correspondent Daily Trends Performance analysts: System AS, Workloads, Daily, Weekly and Monthly Trends DBA: Workloads, User plans and packages, Accounting reports (optional DB2PM-like reports in HTML pages)

Why EPV for DB2 ? Great support to many IT figures

Page 4: Servizio Monitoraggio e Capacity - epvtech.com

4 © 2016 Montepaschi. All rights reserved.

We won’t deal with usual DBA topics like BPs, Locks and so on…

We’ll go over some real life situations we came

across

…and see how EPV for DB2 helped in

understanding and solving the issues

Page 5: Servizio Monitoraggio e Capacity - epvtech.com

5 © 2016 Montepaschi. All rights reserved.

Critical Events Overview page: you better start from here!

Page 6: Servizio Monitoraggio e Capacity - epvtech.com

6 © 2016 Montepaschi. All rights reserved.

Critical Events Overview page: you better start from here!

Page 7: Servizio Monitoraggio e Capacity - epvtech.com

7 © 2016 Montepaschi. All rights reserved.

Critical Events Overview page: you better start from here!

Page 8: Servizio Monitoraggio e Capacity - epvtech.com

8 © 2016 Montepaschi. All rights reserved.

Critical Events Overview page: you better start from here!

Page 9: Servizio Monitoraggio e Capacity - epvtech.com

9 © 2016 Montepaschi. All rights reserved.

Critical Events Overview page: you better start from here!

Page 10: Servizio Monitoraggio e Capacity - epvtech.com

10 © 2016 Montepaschi. All rights reserved.

Critical Events Overview page: you better start from here!

Page 11: Servizio Monitoraggio e Capacity - epvtech.com

11 © 2016 Montepaschi. All rights reserved.

A closer look into System Address Spaces

Why ?

Page 12: Servizio Monitoraggio e Capacity - epvtech.com

12 © 2016 Montepaschi. All rights reserved.

A closer look into System Address Spaces

Migration from DB2 v.10 to

DB2 v.11 CM

Page 13: Servizio Monitoraggio e Capacity - epvtech.com

13 © 2016 Montepaschi. All rights reserved.

A closer look into System Address Spaces

What’s that spike ?

Geolocation SW deployed

Page 14: Servizio Monitoraggio e Capacity - epvtech.com

14 © 2016 Montepaschi. All rights reserved.

A closer look into System Address Spaces leads to…

Migration from DB2 v.10 to

DB2 v.11 CM

Geolocation SW deployed

Page 15: Servizio Monitoraggio e Capacity - epvtech.com

15 © 2016 Montepaschi. All rights reserved.

A closer look into System Address Spaces

REALSTORAGE_MANAGEMENT in macro DSN6SPRM The REALSTORAGE_MANAGEMENT subsystem parameter specifies whether DB2® should manage real storage consumption. Acceptable values: ON, OFF, AUTO Default: AUTO DSNZPxxx: DSN6SPRM REALSTORAGE_MANAGEMENT ON DB2 always discards unused real storage frames. Discarding the frames results in some CPU overhead, and this option is intended for systems in which the availability of real storage is limited. This value would most likely be appropriate for LPARs that have many DB2 subsystems, such as a development LPAR. OFF DB2 does not discard unused real storage frames until one of the following conditions is met: The LPAR had reached an auxiliary critical state. The total real and auxiliary storage has reached 80% of the value of the REALSTORAGE_MAX subsystem parameter. AUTO DB2 discards unused real storage frames when a significant amount of paging activity is detected. By discarding frames, DB2 tries to bring the system to a point where paging is limited or nonexistent. However, it might not be possible to bring the system to that point if other applications on the same LPAR cause the shortage of real storage frames. AUTO is the default value.

…leads to DSNZPARM

Spatial function responsible Two PTFs: UI36156 UI37237

Page 16: Servizio Monitoraggio e Capacity - epvtech.com

16 © 2016 Montepaschi. All rights reserved.

A closer look into System Address Spaces leads to…

MSTR average CPU before 670 mips MSTR average CPU after 210 mips

-68%

CPU savings

Page 17: Servizio Monitoraggio e Capacity - epvtech.com

17 © 2016 Montepaschi. All rights reserved.

Concentrate Statements With Literals (CSWL)

Starting from DB2 10 in NFM, more SQL statements can be reused in the cache across users. Dynamic SQL statements can now be shared with an already cached dynamic SQL statement if the only difference between the two statements is literal values; when stored in the cache, literals are replaced with an ampersand ("&") that behaves similar to parameter markers. This avoids a full PREPARE and can provide a performance improvement similar to what is gained by coding SQL statements with parameter markers.

Page 18: Servizio Monitoraggio e Capacity - epvtech.com

18 © 2016 Montepaschi. All rights reserved.

Concentrate Statements With Literals (CSWL)

Page 19: Servizio Monitoraggio e Capacity - epvtech.com

19 © 2016 Montepaschi. All rights reserved.

…and what about QMF users ?

Alive and kicking!

Page 20: Servizio Monitoraggio e Capacity - epvtech.com

20 © 2016 Montepaschi. All rights reserved.

…and what about QMF users ?

Page 21: Servizio Monitoraggio e Capacity - epvtech.com

THANK YOU

EPV User Group 2016 Roma 29 settembre

QUESTIONS ?