Db2 for z/OS Community

 View Only

zPARM Simplification Continues in Db2 13

By TRAN LAM posted 23 days ago

  

By Tran Lam, Akiko Hoshikawa, Haakon Roberts, Jim Pickel, Gayathiri Chandran, and Paul McWilliams

In a continuation of the  simplification effort for Db2 subsystem parameters (ZPARMs) in Db2 12, Db2 13 introduces changes the default settings for various subsystem parameters (zPARMs) to better match current practices, and where appropriate, it removes obsolete and rarely use subsystem parameters to simplify installation, migration, and management of Db2 systems.

Db2 zPARM settings generally are not controlled by activation of a function level, so you should expect these changes to take effect immediately when you migrate to Db2 13 at function level 100. In most cases, use the following new settings in your Db2 12 subsystem before starting migration to Db2 13 for best results.

Updated subsystem parameter defaults in Db2 13

To better reflect current best practices and typical usage of Db2, the following zPARMs are changed to use the indicated default settings in Db2 13.

DDF=AUTO

Specifies that the distributed data facility (DDF) is loaded at Db2 startup, and whether DDF starts automatically or by a command. The previous default setting was NO.

EDM_SKELETON_POOL=81920 (81,920 KB)

Determines the maximum storage size to be used for the EDM skeleton pool. The previous default setting was 51200.

EDMDBDC=40960 (40,960 KB)

Determines the maximum amount of EDM storage to be used for DBDs. The previous default setting was 23400. The new default value better supports the conversion of multi-table segmented table spaces to UTS. 

FTB_NON_UNIQUE_INDEX=YES

Specifies the fast index traversal (FTB) is enabled for non-unique indexes. The previous default setting was NO.

MAXSORT_IN_MEMORY=2000 (2 MB)

Specifies the maximum allocation of storage in kilobytes for a query that contains an ORDER BY clause, a GROUP BY clause, or both. The previous default setting was 1000.

MAXCONQN=ON

Specifies the maximum number of inactive or new connection requests that can be queued waiting for a DBAT to process the request. The new default setting means that the MAXDBAT subsystem parameter setting specifies the limit. The previous default setting was OFF.

With the previous default setting, the connections waiting for a thread after hitting MAXDBAT still had to reach CONDBAT before failing and being allowed to retry on another member. However, many customers who use "connection pooling" and "Sysplex workload balancing" have increased their CONDBAT setting much higher than their MAXDBAT setting. Without setting MAXCONQW and MAXCONQN, there is no external way to timeout or control the number of connections waiting for thread until CONDBAT is reached, and connections are basically hung until a thread becomes available.  Setting MAXCONQN provides more timely reroutes when a member has reached its limits.

MAXCONQW=ON

Specifies the maximum length of time that a client connection waits for a DBAT to process the next unit-of-work or new connection request. The new default setting means that the IDHTOIN subsystem parameter setting specifies this time limit, the previous default setting was OFF.

With the previous default setting, the connections waiting for a thread after hitting MAXDBAT still had to reach CONDBAT before failing and being allowed to retry on another member. However, as mentioned above, many customers use a CONDBAT setting much higher than their MAXDBAT setting, and setting MAXCONQW provides more timely reroutes when a member reaches limits, and enables connections to timeout to meet SLAs. 

NUMLKTS=5000

Specifies the default maximum number of page, row, or LOB locks that an application can hold simultaneously in a table or table space. The previous default setting was 2000.

2000 locks per object is likely to be too small and cause premature lock escalation, so the default is increased.

NUMLKUS=20000

Specifies the maximum number of page, row, or LOB locks that a single application can hold concurrently for all table spaces. The previous default setting was 10000.

OUTBUFF=102400 (102,400KB)

Specifies the size of the output buffer for writing active log data sets. The previous default setting was 4000.

Several customers were suffering output log buffer full situation. Increasing the default setting reduces access to active log datasets to help avoid the unavailable log output buffer condition.

PAGESET_PAGENUM=RELATIVE

Specifies the default type of page numbering to use for new partition-by-range (PBR) table spaces. The previous default setting was ABSOLUTE. 

The strategic position for Db2 is to use PBR with relative page numbers (RPN), not absolute. This change also makes the default behavior consistent for newly created table spaces and table spaces for tables that are converted with the new PBG to PBR conversion support in Db2 13.

Db2 12 introduced PBR RPN table spaces, but the default zPARM setting still specified APN in Db2 12.   Creating a new table space as RPN, or converting directly from PBG to PBR RPN, avoids the need for a later costly conversion from APN to RPN, which always requires a REORG of the entire table space.

SRTPOOL=20000 (20MB)

Specifies the amount of storage size in kilobytes to be used for the sort pool. The previous default setting was 10000 (10 MB). The new default value setting best practices and typical usage.

STATIME_MAIN=10 (10 Seconds) 

Specifies the time interval in seconds, for collection of interval-driven statistics not collected at the interval specified by the STATIME subsystem parameter. The previous default setting was 60 seconds.

With the previous default of 60s, DBAs and Db2 system programmers cannot identify true workload peaks, when using Db2 statistics for subsystem level performance tuning and planning. Having a default of 10s, we will collect the necessary frequency of data rather than ask the customer for a recreate of the problem and help to speed up diagnosis by having data readily available.

 

Extended range for DSMAX in DB2 13

The range of the following subsystem parameter is increased in Db2 13:

DSMAX=400,000 (new maximum value, with existing default 20000)

Specifies the maximum number data sets that can be open at one time.


Removed subsystem parameters in Db2 13

To simplify, installation, migration, and configuration of Db2 systems, Db2 13 always operates as if these removed ZPARMs have the following settings.

AUTHCACH=4K 

Specifies the size (in bytes per plan) of the authorization cache that is to be used if no CACHESIZE is specified on the BIND PLAN subcommand.

The plan authorization cache is enhanced in Db2 13 to cache the successful execute on plan authorization checks when access control authorization exit is used for access control. With this enhancement, Db2 provides a consistent behavior for plan authorization caching, regardless of the access control mechanism used. Hence the AUTHCACH zparm is removed and set to the max value of 4K.

You can specify the authorization cache value for a plan by using the CACHESIZE option on the BIND PLAN subcommand. The plan-level CACHESIZE value takes precedence over the default limit of 4K for that plan.

DDF_COMPATIBILITY=null

This obsolete zPARM controlled certain characteristics of a connection between a client application and a Db2 for z/OS data server.

 

DSVCI=1 (YES)

This rarely used zPARM controlled whether Db2-managed data sets that are created by CREATE TABLESPACE or CREATE INDEX statements are to have variable VSAM control intervals.

 

EXTRAREQ=100

This rarely used zPARM limited the number of extra DRDA query blocks that Db2 is to request from a remote DRDA server.

 

EXTRASRV=100

This rarely used zPARM limited the number of extra DRDA query blocks that Db2is to return to a DRDA client.

HONOR_KEEPDICTIONARY=0 (NO)

This obsolete zPARM specified whether Db2 honored the LOAD and REORG parameter KEEPDICTIONARY when tables were converted between basic row format and reordered row format.

 

IMMEDWRI=N (NO)

This rarely used zPARM determined when updates to group buffer pool-dependent buffers were written to the coupling facility.

 

IX_TB_PART_CONV_EXCLUDE=1 (YES)

This obsolete zPARM specified whether to exclude trailing columns from the table-controlled partitioning keys when tablespaces are converted from index-controlled partitioning to table-controlled partitioning.

 

MAXARCH=10000

This rarely used zPARM controlled the maximum number of archive log volumes that were recorded in the BSDS.

 

MAXTYPE1=0

This rarely used zPARM determined the number of inactive TYPE1 DBATs that Db2 allowed.

OPT1ROWBLOCKSORT=0 (DISABLE)

This rarely used zPARM specified whether Db2explicitly blocked sort operations when the OPTIMIZE FOR 1 ROW clause was specified on a query.

 

PLANMGMTSCOPE=S (STATIC)

This obsolete zPARM specified the types of SQL statements for applying the PLANMGMT subsystem parameter setting. STATIC was the only supported value.

 

PARA_EFF=50

This rarely used zPARM controlled the efficiency that Db2 assumes for parallelism when Db2 chose an access path.

 

REALSTORAGE_MANAGEMENT=A (AUTO)

This obsolete zPARM specified whether Db2 should manage real storage consumption. Unlike the other ZPARMs mentioned here, it is best to leave this setting unchanged in Db2 12, even if you're not currently using the default value AUTO. Db2 13 introduces real storage management improvements that eliminates the need for setting this parameter, which are not yet available in Db2 12. For the full story, check out  earlier blog entry about REALSTORAGE_MANAGEMENT

SUBQ_MIDX=1 (ENABLE)

This rarely used zPARM specified whether to enable or disable multiple index access on some non-Boolean uncorrelated subquery predicates.

TRACSTR=00000000000000000000000000000000 (NO)

This rarely used zPARM specified whether to start the global trace automatically when Db2 is started.

 

#Db2Znews


#Db2Znews
#db2z13
#Featured-area-2
#Featured-area-3
#Featured-area-3-home
0 comments
281 views

Permalink