11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.43 VSAM resource pool<br />

VSAM resource pool is formed by:<br />

I/O control blocks<br />

Buffer pool (set <strong>of</strong> equal-sized buffers)<br />

VSAM resource pool can be shared by VSAM<br />

clusters, improving the effectiveness <strong>of</strong> these<br />

buffers<br />

Four types <strong>of</strong> VSAM buffering techniques:<br />

Non-shared resource (NSR)<br />

Local shared resource (LSR)<br />

Global shared resource (GSR)<br />

Record-level sharing (RLS)<br />

Figure 4-53 VSAM resource pool<br />

VSAM resource pool<br />

Buffering is one <strong>of</strong> the key aspects as far as I/O performance is concerned. A VSAM buffer is<br />

a virtual storage area where the CI is transferred during an I/O operation. In VSAM KSDS<br />

there are two types <strong>of</strong> buffers: buffers for data CIs and buffers for index CIs. A buffer pool is a<br />

set <strong>of</strong> buffers with the same size. A resource pool is a buffer pool with several control blocks<br />

describing the pool and describing the clusters with CIs in the resource pool.<br />

The objective <strong>of</strong> a buffer pool is to avoid I/O operations in random accesses (due to re-visiting<br />

data) and to make these I/O operations more efficient in sequential processing, thereby<br />

improving performance.<br />

For more efficient use <strong>of</strong> virtual storage, buffer pools can be shared among clusters using<br />

locally or globally shared buffer pools. There are four types <strong>of</strong> resource pool management,<br />

called modes, defined according to the technique used to manage them:<br />

► Not shared resources (NSR)<br />

► Local shared resources (LSR)<br />

► Global shared resources (GSR)<br />

► Record-level shared resources (RLS)<br />

These modes can be declared in the ACB macro <strong>of</strong> the VSAM data set (MACRF keyword)<br />

and are described in the following section.<br />

176 <strong>ABCs</strong> <strong>of</strong> z/<strong>OS</strong> <strong>System</strong> <strong>Programming</strong> <strong>Volume</strong> 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!