Db2 for z/OS Data Sets: If You're Worrying About Extents, You Can Probably Stop Worrying
Robert's Db2 Blog
by
2w ago
Not long ago, a Db2 for z/OS DBA sent to me, via a colleague of mine, a question. He described in an email the procedure that his team regularly used to consolidate extents, when the number of these got into double digits for a Db2 table space-related data set, back down to one. He noted that this extent-consolidation procedure was more time-consuming and CPU-intensive than desired, and he wanted to know if I had any suggestions for making the procedure more efficient. In fact, I did have a suggestion for improving the efficiency of the Db2 data set extent consolidation procedure used at this ..read more
Visit website
Db2 for z/OS: Stop Making APPLCOMPAT in ZPARM More Important Than It Is
Robert's Db2 Blog
by
2M ago
The APPLCOMPAT option of the Db2 for z/OS BIND and REBIND PACKAGE commands is really important - that's why I posted part 1 and part 2 blog entries on the topic back in 2019. The APPLCOMPAT parameter in ZPARM, on the other hand (referring to DSNZPARM, the data set that contains a Db2 subsystem's configuration parameter settings), is less important. I pointed this out in part 1 of the aforementioned two-part blog entry on APPLCOMPAT, but I still find that plenty of Db2 for z/OS people ascribe significance to the ZPARM parameter APPLCOMPAT that just doesn't jibe with reality. That being the case ..read more
Visit website
Db2 for z/OS: Code Level, Catalog Level, Function Level, and More
Robert's Db2 Blog
by
4M ago
In a Db2 for z/OS context, the terms "code level," "catalog level," and "function level" were introduced when the Db2 for z/OS development team went to the continuous delivery mechanism for delivering new product functionality in-between the availability dates of new versions of the DBMS. That was a little over 7 years ago, referring to the general availability of Db2 12 - the first continuous-delivery version of Db2 for z/OS. And yet, there remains a good bit of misunderstanding among some in the Db2 for z/OS user community regarding basic concepts that are of foundational importance in a con ..read more
Visit website
Db2 13 for z/OS: Autobind Phase-In
Robert's Db2 Blog
by
5M ago
Db2 13 function level 504 became available last month (October 2023), via the fix for APAR PH54919. One of the new capabilities delivered with FL504 is something called autobind phase-in. I like that new feature a lot, and I think you will, too - especially if you're a Db2 for z/OS DBA. In this blog entry I'll explain what autobind phase-in is, why it's a very welcome addition to Db2 functionality, and how you can get ready to leverage the feature, even before you've activated function level V13R1M504. First, a shout-out to my coworker Dengfeng Gao, a member of the IBM Db2 for z/OS develo ..read more
Visit website
Db2 13 for z/OS: A New Means for Managing RELEASE(DEALLOCATE) Packages
Robert's Db2 Blog
by
6M ago
It has long been understood by many Db2 for z/OS DBAs that a combination of the RELEASE(DEALLOCATE) package bind specification (especially for frequently executed Db2 packages that consume little CPU time per execution) and persistent threads can significantly reduce in-Db2 CPU time for Db2-accessing applications (a "persistent thread" is one that persists through commits - examples include CICS-Db2 protected threads, the threads between IMS wait-for-input regions and Db2, the Db2 threads associated with batch jobs, and high-performance database access threads, aka high-performance DBATs). The ..read more
Visit website
Db2 for z/OS: Two Stories of Temporary Tables
Robert's Db2 Blog
by
7M ago
Db2 for z/OS provides, for your use, two different temporary table types: declared and created. I recently worked with Db2 for z/OS people at a couple of different sites, providing assistance in understanding and effectively utilizing Db2 temporary tables, and I think information related to these experiences might be useful to folks in the larger user community - thus this blog entry. The first story points up an advantage of declared global temporary tables, while the second illustrates advantageous use of a created global temporary table. I hope that what follows will be of interest to you ..read more
Visit website
Db2 for z/OS: An Important Difference Between Data in Memory and Data on Disk
Robert's Db2 Blog
by
7M ago
For the past several years, I've tried to post an entry per month to this blog. Sometimes, it will be very near the end of a month, and I haven't posted anything since the previous month, and I don't have any good ideas for a new entry. Then, I'll have an exchange with someone - could be via email, a phone call, a face-to-face discussion, whatever - and BOOM! Right there I'll find the inspiration for a blog entry. That happened again yesterday - the day before the last day of the month. Whew! Here's what happened: in an email message, an IT professional recounted to me a situation that had her ..read more
Visit website
Db2 for z/OS: What I Would Say to Application Developers (Part 2)
Robert's Db2 Blog
by
7M ago
In the part 1 of this 2-part entry (posted last month), I emphasized what I consider to be job one for a developer coding a Db2 for z/OS-targeted query (write a SQL statement that will retrieve the data your program requires, and don't worry too much about the statement's performance - that's mostly taken care of by Db2), while also noting ways in which a developer can effectively work in partnership with a DBA to enhance the performance of a Db2-based application. In this part 2 entry I will focus on leveraging application-enabling features of Db2 for z/OS. First, what interface is right for ..read more
Visit website
OUTBUFF: A Db2 for z/OS ZPARM You Really Ought to Check
Robert's Db2 Blog
by
7M ago
Over the past year or so, I've seen more and more situations in which a too-small Db2 for z/OS log output buffer is negatively impacting system and application performance. The Db2 development team took aggressive action to remedy that situation via a change to the default value of OUTBUFF (the relevant ZPARM parameter) with Db2 13, but if you are not yet on Db2 13 you should make this change yourself in your Db2 12 environment (and, if you are on Db2 13, you should definitely be using the new OUTBUFF default, or an even higher value). In this blog entry I'll provide information that I hope wi ..read more
Visit website
Migrating to Db2 13 for z/OS When You Have Old (pre-11.1) Db2 Client Code on Your App Servers
Robert's Db2 Blog
by
7M ago
Not long ago, I had a talk with a Db2 for z/OS systems programmer who works at a pretty big site. In a somewhat dramatized form, our conversation went something like this: Me: "When are you guys going to migrate your production Db2 for z/OS systems to Db2 13?" Db2 sysprog: "Later than I'd like." Me: "Why's that?" Db2 sysprog: "We have some old Db2 client code on some of our application servers." Me: "So?" Db2 sysprog: "So, I can't take APPLCOMPAT for our NULLID packages above V12R1M500." Me: "No prob. Just leave the APPLCOMPAT value for the NULLID packages at ..read more
Visit website

Follow Robert's Db2 Blog on FeedSpot

Continue with Google
Continue with Apple
OR