SlideShare a Scribd company logo
1 of 38
Download to read offline
Technical University/Symposia materials may not be reproduced in whole or in part without the prior written permission of IBM.
9.0
© Copyright IBM Corporation 2015
More Fun With DDF
Session z011599
Martin Packer
IBM
Abstract
The	idea	of	"alien"	DB2	work	coming	into	your	system	through	DDF	strikes	
fear	into	even	the	most	seasoned	Performance	Specialist...	
	
How	will	I	classify	it?	
	
What	will	stop	it	from	taking	over	my	machine?	
	
This	presentaDon	describes	how	to	use	performance	data	to	address	both	
of	those	quesDons,	based	on	the	author's	recent	experiences	with	
numerous	customers.	
	
It	also	enables	you	to	understand	what	applicaDons	and	machines	are	
issuing	the	DDF	requests,	improving	your	knowledge	of	the	applicaDon	
landscape.
Agenda
•  What	Is	DDF?	
•  Why	Do	I	Care	About	DDF?	
•  Tutorial	
•  Client	N	
•  Client	S	
•  Client	P	
•  Conclusion
What Is DDF?
•  One	of	the	major	gateways	into	z/OS	
•  Specific	to	DB2	as	the	server	
•  Around	since	DB2	Version	2	
•  Refined	many	Dmes	since	
•  Broadly	clients	are:	
•  JDBC	–	'JCC'	
•  z/OS	–	'DSN'	
•  OS/400	–	'QSQ'	
•  Other	–	'SQL'	
•  Higher	risk	of	"feral	SQL"
Why Do I Care About DDF?
•  Many	modern	applicaDons	use	DDF	to	get	to	DB2	
•  You'd	like	them	to	perform	well	
•  You'd	like	them	not	to	take	over	your	machine	
•  You'd	like	to	know	what	they	even	are	
•  Don't	you	just	hate	it	when	work	shows	up	and	nobody	
tells	you?	
•  You'd	like	to	ensure	zIIP	exploitaDon	is	opDmal
Tutorial
We're	Interested	In
StarDng	Right	At	
The	Top
Drilling	
Down	Into	A	
Service	Class
Roughly	60%
But What Is A DDF Transac<on?
•  ConversaDons	between	requestors	and	DB2	are	of	
variable	complexity	
•  Some	do	few	commits	
•  Some	do	many	
•  Each	commit	/	abort	ends	a	transacDon	
•  Infrequent	commits	can	lead	to	long	transacDons	
•  Frequent	commits	to	short	ones	
•  So	a	transacDon	is	generally	not	a	whole	
conversaDon	
•  A	DDF	transacDon	is	a	WLM	transacDon	
•  And	we've	already	seen	those
Mul<period Transac<ons
•  As	with	many	transacDon	types	WLM	can	work	
with	"period	aging"	
•  If	a	transacDon	accumulates	enough	service	it'll	fall	into	
second	and	subsequent	periods	
•  Generally	we're	talking	about	CPU
CPU And The DBM1 And DIST Address Spaces
Mostly	Independent	Enclave	 Roughly	60%	of		
Independent	Enclave
SMF 30 Contains Transac<on Rate
•  SMF30ETC	is	Independent	Enclave	TransacDon	Rate	Count	
•  Process	for	DIST	address	space	
•  Counts	transacDons	for	all	DDF	service	classes	served	by	the	
subsystem	
•  Likewise	doesn't	disDnguish	between	period	endings	
•  Many	customers	have	mulDple	DB2	subsystems	per	LPAR	
•  Unnecessary	to	have	separate	service	classes	for	each	
•  SMF30ETC	lets	you	see	how	busy,	transacDonwise,	each	subsystem	
is	
•  Could	usefully	divide	Enclave	CPU	by	transacDon	rate
DDF And The DB2 Accoun<ng Trace (SMF 101) Record
•  Everything	you'd	expect	from	a	101	record	
•  e.g.	Timings	
•  e.g.	SQL	Counts	
•  Plus	more:	
•  DDF	IdenDfiers	(QMDA	secDon)	
•  DDF	Counters	(QLAC	secDon)	
•  WLM	Service	Class	(QWACWLME)	
•  Records	for	requester	and	for	server	
•  DB2	on	z/OS	to	DB2	on	z/OS	appears	twice	
•  One	in	each	subsystem	
•  Records	can	be	rolled	up	
•  ACCUMACC=10	is	default	
•  10th	Commit	/	Rollback	
•  Or	some	other	obscure	cases	
•  ACCUMACC=NO	
•  1	per	Commit	/	Rollback	
•  Can	calculate	ACCUMACC	value	from	SMF	101
QMDA and QLAC Sec<ons
•  QMDA	–	idenDfiers	
•  Different	for	z/OS	and	other	plahorms	
•  Useful	for	designing	DDF	WLM	classificaDon	rules	
•  AccounDng	InformaDon	
•  IP	Address	/	Net	Name	
•  End	User	ID	
•  z/OS	DB2	CorrelaDon	/	Plan	informaDon	
•  …	
•  QLAC	–	counters	
•  Common	across	all	plahorms	
•  Sent	&	Received	
•  SQL	Statements	
•  Bytes	
•  Rows	
•  Blocks	
•  Commits	/	Aborts	
•  …
QWHS and QWACWLME
•  QWHS	Common	to	SMF	101	records	from	different	types	of	
connecDons.	
•  Standard	Header	in	Product	SecDon	
•  QWHSLWID	–	24-byte	Logical	Unit	Of	Work	ID	
•  QWHSNID	–	8-byte	Network	Name	
•  QWHSLUNM	–	8-byte	LU	Name	
•  QWHSLUUV	–	6-byte	Uniqueness	Value	
•  QWHSLUCC	–	2-byte	Commit	Count	
•  QWHSLWID	(minus	QWHSLUCC)	allows	you	to	De	a	
conversaDon	together.	
•  QWACWLME	unique	to	DDF	
•  WLM	Service	Class	
•  Binary	zeroes	for	other	amachments
Batch And DDF – Strange Bedfellows?
•  SAP	Batch	is	not	JES	Batch	
•  A	bunch	of	"transacDons"	ie	SMF	101	records	
•  Unique	correlator	in	QWHS	secDon	
•  Plonng	commit	(or	record)	rate	by	minute	Dmes	the	job	
•  Gives	bemer	granularity	than	JES	Batch	
•  Eg	Varying	effect	of	CPU	queuing	–	Not	Accounted	For	Dme	
•  Conversely,	some	JES	Batch	uses	DDF	
•  Job	J	amaches	to	Subsystem	A	
•  Subsystem	A	talks	DDF	to	Subsystem	B	
•  Field	QTXAOTSE	for	A	documents	Dme	spent	in	B	and	
communicaDng	
•  Collect	SMF	101	from	both	subsystems	
•  Correlators	in	QWHS	secDons	match
Client 1
-
Some Basic Sta<s<cs
Client 2
-
A CPU Spike
Client 3
-
Sloshing Or Not?
Sloshing Or Not? You Decide
A Nice Response Time Distribu<on
So What Have We
Learnt?
Maybe you learnt something like this
•  DDF	Is	Important	To	Manage	
•  DDF	Management	needs	to	happen	with	WLM	and	
by	applicaDon	examinaDon	/	tuning	
•  AccounDng	Trace	SMF	101	is	key	instrumentaDon	
•  MarDn	has	some	super	DFSORT	code	to	summarise	it	
•  Down	to	arbitrarily	short	Dme	intervals	
•  You	can	have	more	fun	with	DDF	(than	you	
might've	supposed)

More Related Content

What's hot

zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity PlanningMartin Packer
 
Parallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsParallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsMartin Packer
 
zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity PlanningMartin Packer
 
Educational seminar lessons learned from customer db2 for z os health check...
Educational seminar   lessons learned from customer db2 for z os health check...Educational seminar   lessons learned from customer db2 for z os health check...
Educational seminar lessons learned from customer db2 for z os health check...John Campbell
 
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and BeyondA Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and BeyondSurekha Parekh
 
Mainframe Optimization with Modern Systems
Mainframe Optimization with Modern SystemsMainframe Optimization with Modern Systems
Mainframe Optimization with Modern SystemsModern Systems
 
DB2 Design for High Availability and Scalability
DB2 Design for High Availability and ScalabilityDB2 Design for High Availability and Scalability
DB2 Design for High Availability and ScalabilitySurekha Parekh
 
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...Anderson Bassani
 
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMunich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMartin Packer
 
DB2 pureScale Technology Preview
DB2 pureScale Technology PreviewDB2 pureScale Technology Preview
DB2 pureScale Technology PreviewCristian Molaro
 
Mahati's PPT Mainframes
Mahati's PPT MainframesMahati's PPT Mainframes
Mahati's PPT MainframesMahati V
 
Gse 2009 Cmolaro Final02 1
Gse 2009 Cmolaro Final02 1Gse 2009 Cmolaro Final02 1
Gse 2009 Cmolaro Final02 1Cristian Molaro
 

What's hot (18)

Time For D.I.M.E?
Time For D.I.M.E?Time For D.I.M.E?
Time For D.I.M.E?
 
zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity Planning
 
IBM zAware
IBM zAwareIBM zAware
IBM zAware
 
Parallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsParallel Sysplex Performance Topics
Parallel Sysplex Performance Topics
 
zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity Planning
 
Educational seminar lessons learned from customer db2 for z os health check...
Educational seminar   lessons learned from customer db2 for z os health check...Educational seminar   lessons learned from customer db2 for z os health check...
Educational seminar lessons learned from customer db2 for z os health check...
 
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and BeyondA Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
 
IBM zEnterprise: Retail
IBM zEnterprise: RetailIBM zEnterprise: Retail
IBM zEnterprise: Retail
 
Mainframe Optimization with Modern Systems
Mainframe Optimization with Modern SystemsMainframe Optimization with Modern Systems
Mainframe Optimization with Modern Systems
 
Benchmarking Market Pricing
Benchmarking Market PricingBenchmarking Market Pricing
Benchmarking Market Pricing
 
DB2 Design for High Availability and Scalability
DB2 Design for High Availability and ScalabilityDB2 Design for High Availability and Scalability
DB2 Design for High Availability and Scalability
 
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...
 
DB2 Application programming and sql guide
DB2 Application programming and sql guideDB2 Application programming and sql guide
DB2 Application programming and sql guide
 
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMunich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
 
DB2 pureScale Technology Preview
DB2 pureScale Technology PreviewDB2 pureScale Technology Preview
DB2 pureScale Technology Preview
 
Mahati's PPT Mainframes
Mahati's PPT MainframesMahati's PPT Mainframes
Mahati's PPT Mainframes
 
02introduction
02introduction02introduction
02introduction
 
Gse 2009 Cmolaro Final02 1
Gse 2009 Cmolaro Final02 1Gse 2009 Cmolaro Final02 1
Gse 2009 Cmolaro Final02 1
 

Viewers also liked

BladeHandoutflat
BladeHandoutflatBladeHandoutflat
BladeHandoutflatJoe Soroka
 
LA REVOLUCIÓN INDUSTRIAL.
LA REVOLUCIÓN INDUSTRIAL.LA REVOLUCIÓN INDUSTRIAL.
LA REVOLUCIÓN INDUSTRIAL.jjpj61
 
LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.
LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.
LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.jjpj61
 
LA DICTADURA MILITAR DE FRANCO.
LA DICTADURA MILITAR DE FRANCO.LA DICTADURA MILITAR DE FRANCO.
LA DICTADURA MILITAR DE FRANCO.jjpj61
 
Hello (4) Adjectives
Hello (4) Adjectives   Hello (4) Adjectives
Hello (4) Adjectives Sawsan Ali
 
Campagne Communication ESAM Antoine Arrouy
Campagne Communication ESAM Antoine ArrouyCampagne Communication ESAM Antoine Arrouy
Campagne Communication ESAM Antoine ArrouyAntoine Arrouy
 
Part numbering system u pvc Extrusions
Part numbering system u pvc ExtrusionsPart numbering system u pvc Extrusions
Part numbering system u pvc Extrusionsravindra varma
 
La aparición de la burguesía y los obreros. revisado.
La aparición de la burguesía y los obreros. revisado.La aparición de la burguesía y los obreros. revisado.
La aparición de la burguesía y los obreros. revisado.jjpj61
 
Juan carlos i, rey de españa
Juan carlos i, rey de españaJuan carlos i, rey de españa
Juan carlos i, rey de españajjpj61
 
La segunda guerra mundial
La segunda guerra mundialLa segunda guerra mundial
La segunda guerra mundialjjpj61
 
Marco general para las funciones de ATP Educación Física
Marco general para las funciones de ATP Educación Física Marco general para las funciones de ATP Educación Física
Marco general para las funciones de ATP Educación Física DIEGO ALBERTO SOLIS VALDEZ
 
Diaposita de l a charla de seminario.
Diaposita de l a charla de seminario.Diaposita de l a charla de seminario.
Diaposita de l a charla de seminario.orfelina corcino
 
Ddf feed tutorial agents
Ddf feed tutorial agentsDdf feed tutorial agents
Ddf feed tutorial agentsJumptools Inc.
 

Viewers also liked (15)

BladeHandoutflat
BladeHandoutflatBladeHandoutflat
BladeHandoutflat
 
LA REVOLUCIÓN INDUSTRIAL.
LA REVOLUCIÓN INDUSTRIAL.LA REVOLUCIÓN INDUSTRIAL.
LA REVOLUCIÓN INDUSTRIAL.
 
LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.
LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.
LA SOCIEDAD Y LA CIENCIA DEL SIGLO XX.
 
Curriculum vitae
Curriculum vitaeCurriculum vitae
Curriculum vitae
 
LA DICTADURA MILITAR DE FRANCO.
LA DICTADURA MILITAR DE FRANCO.LA DICTADURA MILITAR DE FRANCO.
LA DICTADURA MILITAR DE FRANCO.
 
Hello (4) Adjectives
Hello (4) Adjectives   Hello (4) Adjectives
Hello (4) Adjectives
 
Campagne Communication ESAM Antoine Arrouy
Campagne Communication ESAM Antoine ArrouyCampagne Communication ESAM Antoine Arrouy
Campagne Communication ESAM Antoine Arrouy
 
2016 Calendar "Bites Peach"
2016 Calendar "Bites Peach"2016 Calendar "Bites Peach"
2016 Calendar "Bites Peach"
 
Part numbering system u pvc Extrusions
Part numbering system u pvc ExtrusionsPart numbering system u pvc Extrusions
Part numbering system u pvc Extrusions
 
La aparición de la burguesía y los obreros. revisado.
La aparición de la burguesía y los obreros. revisado.La aparición de la burguesía y los obreros. revisado.
La aparición de la burguesía y los obreros. revisado.
 
Juan carlos i, rey de españa
Juan carlos i, rey de españaJuan carlos i, rey de españa
Juan carlos i, rey de españa
 
La segunda guerra mundial
La segunda guerra mundialLa segunda guerra mundial
La segunda guerra mundial
 
Marco general para las funciones de ATP Educación Física
Marco general para las funciones de ATP Educación Física Marco general para las funciones de ATP Educación Física
Marco general para las funciones de ATP Educación Física
 
Diaposita de l a charla de seminario.
Diaposita de l a charla de seminario.Diaposita de l a charla de seminario.
Diaposita de l a charla de seminario.
 
Ddf feed tutorial agents
Ddf feed tutorial agentsDdf feed tutorial agents
Ddf feed tutorial agents
 

Similar to Manage DDF Performance with SMF 101 Records

Ibm db2 update2019 intro ending
Ibm db2 update2019   intro endingIbm db2 update2019   intro ending
Ibm db2 update2019 intro endingGustav Lundström
 
Ims12 workbench data visualization - IMS UG May 2014 Sydney & Melbourne
Ims12   workbench data visualization - IMS UG May 2014 Sydney & MelbourneIms12   workbench data visualization - IMS UG May 2014 Sydney & Melbourne
Ims12 workbench data visualization - IMS UG May 2014 Sydney & MelbourneRobert Hain
 
Nrb Mainframe Day z Data and AI - Leif Pedersen
Nrb Mainframe Day z Data and AI - Leif PedersenNrb Mainframe Day z Data and AI - Leif Pedersen
Nrb Mainframe Day z Data and AI - Leif PedersenNRB
 
Confluent Partner Tech Talk with SVA
Confluent Partner Tech Talk with SVAConfluent Partner Tech Talk with SVA
Confluent Partner Tech Talk with SVAconfluent
 
DB2 for z/O S Data Sharing
DB2 for z/O S  Data  SharingDB2 for z/O S  Data  Sharing
DB2 for z/O S Data SharingSurekha Parekh
 
Lessons learned from the worlds largest XPage project
Lessons learned from the worlds largest XPage projectLessons learned from the worlds largest XPage project
Lessons learned from the worlds largest XPage projectMark Roden
 
Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...
Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...
Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...Teodoro Cipresso
 
F12 vercelletto innovator-c_tpc_benchmark
F12 vercelletto innovator-c_tpc_benchmarkF12 vercelletto innovator-c_tpc_benchmark
F12 vercelletto innovator-c_tpc_benchmarkBeGooden-IT Consulting
 
Syncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 SystemsSyncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 SystemsPrecisely
 
Application trends db2 day 2015 jorn
Application trends   db2 day 2015 jornApplication trends   db2 day 2015 jorn
Application trends db2 day 2015 jornPeter Schouboe
 
Trends and directions for application developers
Trends and directions for application developersTrends and directions for application developers
Trends and directions for application developersJørn Thyssen
 
Leverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and TestLeverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and TestRightScale
 
Meistern Sie die Herausforderungen der telearbeitenden Belegschaft
Meistern Sie die Herausforderungen der telearbeitenden BelegschaftMeistern Sie die Herausforderungen der telearbeitenden Belegschaft
Meistern Sie die Herausforderungen der telearbeitenden Belegschaftpanagenda
 
Enterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktopsEnterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktopsMolten Technologies
 
110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters Show110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters ShowEmile Voogt
 
Citrix Synergy 2014 - Syn231 Why cloud projects fail
Citrix Synergy 2014 - Syn231 Why cloud projects failCitrix Synergy 2014 - Syn231 Why cloud projects fail
Citrix Synergy 2014 - Syn231 Why cloud projects failCitrix
 
Virtual Private Data Center Solution Overview
Virtual Private Data Center Solution OverviewVirtual Private Data Center Solution Overview
Virtual Private Data Center Solution OverviewAngela Chavez
 
Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...
Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...
Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...Precisely
 

Similar to Manage DDF Performance with SMF 101 Records (20)

Ibm db2 update2019 intro ending
Ibm db2 update2019   intro endingIbm db2 update2019   intro ending
Ibm db2 update2019 intro ending
 
Ims12 workbench data visualization - IMS UG May 2014 Sydney & Melbourne
Ims12   workbench data visualization - IMS UG May 2014 Sydney & MelbourneIms12   workbench data visualization - IMS UG May 2014 Sydney & Melbourne
Ims12 workbench data visualization - IMS UG May 2014 Sydney & Melbourne
 
Nrb Mainframe Day z Data and AI - Leif Pedersen
Nrb Mainframe Day z Data and AI - Leif PedersenNrb Mainframe Day z Data and AI - Leif Pedersen
Nrb Mainframe Day z Data and AI - Leif Pedersen
 
Confluent Partner Tech Talk with SVA
Confluent Partner Tech Talk with SVAConfluent Partner Tech Talk with SVA
Confluent Partner Tech Talk with SVA
 
DB2 for z/O S Data Sharing
DB2 for z/O S  Data  SharingDB2 for z/O S  Data  Sharing
DB2 for z/O S Data Sharing
 
Lessons learned from the worlds largest XPage project
Lessons learned from the worlds largest XPage projectLessons learned from the worlds largest XPage project
Lessons learned from the worlds largest XPage project
 
Hariharan_Resume
Hariharan_ResumeHariharan_Resume
Hariharan_Resume
 
Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...
Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...
Innovate 2014: Get an A+ on Testing Your Enterprise Applications with Rationa...
 
F12 vercelletto innovator-c_tpc_benchmark
F12 vercelletto innovator-c_tpc_benchmarkF12 vercelletto innovator-c_tpc_benchmark
F12 vercelletto innovator-c_tpc_benchmark
 
VendorReview_IBMDB2
VendorReview_IBMDB2VendorReview_IBMDB2
VendorReview_IBMDB2
 
Syncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 SystemsSyncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 Systems
 
Application trends db2 day 2015 jorn
Application trends   db2 day 2015 jornApplication trends   db2 day 2015 jorn
Application trends db2 day 2015 jorn
 
Trends and directions for application developers
Trends and directions for application developersTrends and directions for application developers
Trends and directions for application developers
 
Leverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and TestLeverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and Test
 
Meistern Sie die Herausforderungen der telearbeitenden Belegschaft
Meistern Sie die Herausforderungen der telearbeitenden BelegschaftMeistern Sie die Herausforderungen der telearbeitenden Belegschaft
Meistern Sie die Herausforderungen der telearbeitenden Belegschaft
 
Enterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktopsEnterprise Desktops Well Served - a technical perspective on virtual desktops
Enterprise Desktops Well Served - a technical perspective on virtual desktops
 
110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters Show110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters Show
 
Citrix Synergy 2014 - Syn231 Why cloud projects fail
Citrix Synergy 2014 - Syn231 Why cloud projects failCitrix Synergy 2014 - Syn231 Why cloud projects fail
Citrix Synergy 2014 - Syn231 Why cloud projects fail
 
Virtual Private Data Center Solution Overview
Virtual Private Data Center Solution OverviewVirtual Private Data Center Solution Overview
Virtual Private Data Center Solution Overview
 
Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...
Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...
Modernizing Your IMS Environment Without an Application Rewrite Series Part 2...
 

More from Martin Packer

Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance SpecialistMunich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance SpecialistMartin Packer
 
Life And Times Of An Address Space
Life And Times Of An Address SpaceLife And Times Of An Address Space
Life And Times Of An Address SpaceMartin Packer
 
DB2 Data Sharing Performance
DB2 Data Sharing PerformanceDB2 Data Sharing Performance
DB2 Data Sharing PerformanceMartin Packer
 
I Know What You Did Last Summer
I Know What You Did Last SummerI Know What You Did Last Summer
I Know What You Did Last SummerMartin Packer
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersMartin Packer
 
Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Martin Packer
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPUMartin Packer
 

More from Martin Packer (11)

Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance SpecialistMunich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
 
DB2 Through My Eyes
DB2 Through My EyesDB2 Through My Eyes
DB2 Through My Eyes
 
Time For DIME
Time For DIMETime For DIME
Time For DIME
 
Life And Times Of An Address Space
Life And Times Of An Address SpaceLife And Times Of An Address Space
Life And Times Of An Address Space
 
DB2 Data Sharing Performance
DB2 Data Sharing PerformanceDB2 Data Sharing Performance
DB2 Data Sharing Performance
 
I Know What You Did Last Summer
I Know What You Did Last SummerI Know What You Did Last Summer
I Know What You Did Last Summer
 
Much Ado About CPU
Much Ado About CPUMuch Ado About CPU
Much Ado About CPU
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for Beginners
 
Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPU
 
Much Ado About CPU
Much Ado About CPUMuch Ado About CPU
Much Ado About CPU
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

Manage DDF Performance with SMF 101 Records

  • 1. Technical University/Symposia materials may not be reproduced in whole or in part without the prior written permission of IBM. 9.0 © Copyright IBM Corporation 2015 More Fun With DDF Session z011599 Martin Packer IBM
  • 3. Agenda •  What Is DDF? •  Why Do I Care About DDF? •  Tutorial •  Client N •  Client S •  Client P •  Conclusion
  • 4. What Is DDF? •  One of the major gateways into z/OS •  Specific to DB2 as the server •  Around since DB2 Version 2 •  Refined many Dmes since •  Broadly clients are: •  JDBC – 'JCC' •  z/OS – 'DSN' •  OS/400 – 'QSQ' •  Other – 'SQL' •  Higher risk of "feral SQL"
  • 5. Why Do I Care About DDF? •  Many modern applicaDons use DDF to get to DB2 •  You'd like them to perform well •  You'd like them not to take over your machine •  You'd like to know what they even are •  Don't you just hate it when work shows up and nobody tells you? •  You'd like to ensure zIIP exploitaDon is opDmal
  • 11. But What Is A DDF Transac<on? •  ConversaDons between requestors and DB2 are of variable complexity •  Some do few commits •  Some do many •  Each commit / abort ends a transacDon •  Infrequent commits can lead to long transacDons •  Frequent commits to short ones •  So a transacDon is generally not a whole conversaDon •  A DDF transacDon is a WLM transacDon •  And we've already seen those
  • 12. Mul<period Transac<ons •  As with many transacDon types WLM can work with "period aging" •  If a transacDon accumulates enough service it'll fall into second and subsequent periods •  Generally we're talking about CPU
  • 13.
  • 14. CPU And The DBM1 And DIST Address Spaces Mostly Independent Enclave Roughly 60% of Independent Enclave
  • 15. SMF 30 Contains Transac<on Rate •  SMF30ETC is Independent Enclave TransacDon Rate Count •  Process for DIST address space •  Counts transacDons for all DDF service classes served by the subsystem •  Likewise doesn't disDnguish between period endings •  Many customers have mulDple DB2 subsystems per LPAR •  Unnecessary to have separate service classes for each •  SMF30ETC lets you see how busy, transacDonwise, each subsystem is •  Could usefully divide Enclave CPU by transacDon rate
  • 16. DDF And The DB2 Accoun<ng Trace (SMF 101) Record •  Everything you'd expect from a 101 record •  e.g. Timings •  e.g. SQL Counts •  Plus more: •  DDF IdenDfiers (QMDA secDon) •  DDF Counters (QLAC secDon) •  WLM Service Class (QWACWLME) •  Records for requester and for server •  DB2 on z/OS to DB2 on z/OS appears twice •  One in each subsystem •  Records can be rolled up •  ACCUMACC=10 is default •  10th Commit / Rollback •  Or some other obscure cases •  ACCUMACC=NO •  1 per Commit / Rollback •  Can calculate ACCUMACC value from SMF 101
  • 17. QMDA and QLAC Sec<ons •  QMDA – idenDfiers •  Different for z/OS and other plahorms •  Useful for designing DDF WLM classificaDon rules •  AccounDng InformaDon •  IP Address / Net Name •  End User ID •  z/OS DB2 CorrelaDon / Plan informaDon •  … •  QLAC – counters •  Common across all plahorms •  Sent & Received •  SQL Statements •  Bytes •  Rows •  Blocks •  Commits / Aborts •  …
  • 18. QWHS and QWACWLME •  QWHS Common to SMF 101 records from different types of connecDons. •  Standard Header in Product SecDon •  QWHSLWID – 24-byte Logical Unit Of Work ID •  QWHSNID – 8-byte Network Name •  QWHSLUNM – 8-byte LU Name •  QWHSLUUV – 6-byte Uniqueness Value •  QWHSLUCC – 2-byte Commit Count •  QWHSLWID (minus QWHSLUCC) allows you to De a conversaDon together. •  QWACWLME unique to DDF •  WLM Service Class •  Binary zeroes for other amachments
  • 19. Batch And DDF – Strange Bedfellows? •  SAP Batch is not JES Batch •  A bunch of "transacDons" ie SMF 101 records •  Unique correlator in QWHS secDon •  Plonng commit (or record) rate by minute Dmes the job •  Gives bemer granularity than JES Batch •  Eg Varying effect of CPU queuing – Not Accounted For Dme •  Conversely, some JES Batch uses DDF •  Job J amaches to Subsystem A •  Subsystem A talks DDF to Subsystem B •  Field QTXAOTSE for A documents Dme spent in B and communicaDng •  Collect SMF 101 from both subsystems •  Correlators in QWHS secDons match
  • 21.
  • 22.
  • 23.
  • 24.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 35. Sloshing Or Not? You Decide
  • 36. A Nice Response Time Distribu<on
  • 37. So What Have We Learnt?
  • 38. Maybe you learnt something like this •  DDF Is Important To Manage •  DDF Management needs to happen with WLM and by applicaDon examinaDon / tuning •  AccounDng Trace SMF 101 is key instrumentaDon •  MarDn has some super DFSORT code to summarise it •  Down to arbitrarily short Dme intervals •  You can have more fun with DDF (than you might've supposed)