Db2 for z/OS and its ecosystem

Db2 for z/OS and its ecosystem

Connect with Db2, Informix, Netezza, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only

Smarter Management of VSAM Data Set Extents in Db2 for z/OS

By SYDNEY VILLAFUERTE posted 29 days ago

  

By Sydney Villafuerte and Emily Alameida

As Db2 workloads continue to grow, the VSAM data sets that support them expand rapidly and can approach extent limits sooner, increasing the risk of application disruptions. Two recent enhancements help address this challenge from different perspectives.

APAR PH68303 provides earlier warning and better handling of extend failures, while APAR PH71682, together with DFSMS APAR OA68858, enables SMS-managed data sets associated with Db2 objects to grow beyond the traditional 255-extent limit.

Detect Issues Earlier

Previously, Db2 issued the DSNP031I message when a data set was already near its maximum extent limit. PH68303 improves issues the first warning at 70% of maximum extents and additional warnings at 75%, 80%, 85%, 90%, and 95% to provide the database administrator enough time to react.

APAR PH68303 also improves extend-failure processing by avoiding repeated extend attempts and unnecessary space searches, helping reduce CPU overhead and the impact of space-related problems.

Reduce the Impact of Extent Limits

While earlier warnings provide more time to respond, increasing the maximum number of extents can help to reduce the risk of reaching the limit. However, this requires administrators to manually update the SMS Extent Constraint Removal (ECR) setting to allow the data set to extend beyond 255.

PH71682 addresses this concern for SMS-managed Db2 page set data sets by taking advantage of DFSMS support introduced in OA68858. Together, the APARs allow eligible data sets to grow beyond the traditional 255-extent limit to a maximum of 7,257 extents without the need to manually update the SMS ECR setting.

Better Together

These enhancements complement each other to improve resilience:

  • PH68303 helps you identify extent-related risks sooner and respond more effectively.
  • PH71682 helps prevent those risks from becoming application outages by removing a key growth limitation for SMS-managed data sets.

Together, these enhancements provide a more proactive approach to extent management, helping keep Db2 workloads running smoothly as data volumes continue to grow.

0 comments
15 views

Permalink