Professional Documents
Culture Documents
Karen Sullivan
IBM Canada Ltd
IBM Toronto Lab
John Macdonald
EMC Corporation
June 2003
Copyright 2003 EMC Corporation and IBM Corporation. All rights reserved.
EMC and IBM believe the information in this publication is accurate as of its publication date. The
information is subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. - NEITHER EMC
CORPORATION NOR IBM CORPORATION MAKE ANY REPRESENTATIONS OR WARRANTIES
OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND BOTH
SPECIFICALLY DISCLAIM IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR
A PARTICULAR PURPOSE.
The furnishing of this document does not imply giving license to any IBM or EMC patents.
References in this document to IBM products, Programs, or Services do not imply that IBM intends to
make these available in all countries in which IBM operates.
Use, copying, and distribution of any EMC or IBM software described in this publication requires an
applicable software license.
IBM, AIX, DB2, DB2 Universal Database, and RS/6000 are trademarks or registered trademarks of
International Business Machines Corporation in the United States, other countries, or both.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Table of Contents
Introduction ......................................................................................................................4
Symmetrix Concepts and Definitions........................................................................5
Hypervolumes ..................................................................................................................... 5
Hypervolume Size............................................................................................................ 5
Metavolumes ...................................................................................................................... 6
Metavolume Size............................................................................................................. 6
Meta Head and Meta Tail ................................................................................................. 7
Types of Metavolumes......................................................................................................... 7
Concatenated Metavolume ............................................................................................... 7
Striped Metavolume......................................................................................................... 8
Mirrored Metavolumes ..................................................................................................... 9
Channel Directors ............................................................................................................... 9
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Prefetch Size................................................................................................................. 22
Overhead and Transfer Rate .......................................................................................... 22
Other Tuning Parameters .................................................................................................. 23
I/O Servers .................................................................................................................... 23
DB2_PARALLEL_IO ...................................................................................................... 23
Multipage File Allocation ................................................................................................ 23
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Introduction
For every complex problem, there is a solution that is simple, neat, and wrong.
H. L. Mencken
H. L. Mencken was a journalist whose clever observation that simple solutions to complicated problems are
not always right ones, reflects the fear people sometimes feel when attempting to take on new, complicated
problems. Avoiding the solution that is neat and wrong is never simple; rather, it takes patience, planning,
and experience. This paper gives a general overview of IBM DB2 Universal Database (DB2 UDB) with
database paritioning and the EMC Symmetrix 8000 series (Symmetrix). It also supplies practical
recommendations for implementing DB2 UDB for data warehouse applications running on EMC
Symmetrix 8000 series storage servers. The information presented within this paper was compiled using
DB2 UDB V7.2. However, unless otherwise noted, concepts and methodologies remain the same for DB2
UDB V8.1.
The paper does not provide complete descriptions for DB2 UDB or the Symmetrix 8000 series products;
refer to www.emc.com or www.ibm.com/db2 for additional product information.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Hypervolumes
A hypervolume, also referred to as a hyper, is a range of contiguous space on a single physical disk that is
defined to be an individually addressable Symmetrix logical volume. Each physical disk can be divided
into a maximum of 128 hypervolumes. People familiar with the process of creating hypervolumes will
often refer to the process as slicing up the physical disks or creating splits. For clarity, the terms slices and
splits will not be used to describe hypervolumes. While hypervolumes can be presented to the server as a
directly addressable device, they are also the foundation for creating metavolumes. The major attribute that
defines a hypervolume is its size.
36 GB Physical Disk
9 GB Hypervolume
9 GB Hypervolume
9 GB Hypervolume
9 GB Hypervolume
Figure 1. A 36 GB Physical Disk Divided into Four Hypervolumes of 9 GB Each
Hypervolume Size
The amount of physical disk space associated with one hypervolume is called the hypervolume size.
Hypervolume size is microcode-dependent and currently limited to 15 GB. In Figure 1, a 36 GB physical
disk is subdivided into four hypervolumes, each with a hypervolume size of 9 GB.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Metavolumes
Once a physical disk has been divided into hypervolumes, a group of hypervolumes of the same size can
then be logically joined across various physical disks to create a metavolume. This newly created logical
volume can then be presented to a server as an addressable device. The hypervolumes that make up the
newly created metavolume can no longer be presented to the server as separate devices.
Figure 2 provides an example of how four metavolumes can logically reside on four 36 GB physical disks.
Note, for simplicitys sake only one metavolume is labeled. In the diagram, the four physical disks are
subdivided into four 9 GB hypervolumes. Each hypervolume is coloured red, yellow, blue, or green. The
metavolumes are made up of four like-coloured 9 GB hypervolumes. Therefore, there are four
metavolumes of 36 GB each in the diagram.
9 GB Hypers
36 GB Metavolume
Metavolume Size
A metavolume consists of 2 to 255 hypervolumes. Each time a metavolume is created, the number of
hypervolumes it contains must be determined. This value is referred to as the number of hypers per meta
for one metavolume. The metavolume size is simply the product of the hypervolume size and the number
of hypers per meta.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Member
Member
Tail
9 GB Hypers
36 GB Metavolume
Figure 3. Relative Positions of a Meta Head, Member, and Tail for an Example Metavolume
Data is always placed on the metavolume across the hypervolumes from meta head to meta tail. Therefore,
when data is first written to a metavolume, the first write always takes place on the meta head.
Types of Metavolumes
There are two different types of metavolumes: concatenated metavolumes and striped metavolumes. For
both types, the metavolume size is defined in the same way. For example, if you have the same number of
hypers per meta (e.g., four) and the same hypervolume size (e.g., 9 GB), then both a concatenated and a
striped metavolume will produce a device of the same size (e.g., 36 GB). The difference between
concatenated and striped metavolumes is in the method in which the logical data is placed on the
underlying hypervolumes. DB2 UDB database data allocation will be discussed in more detail later in the
paper.
Tail
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Striped Metavolume
In the case of a striped metavolume, data will be placed on the underlying hypervolumes in multiples of
Symmetrix cylinders. When an application writes data to the metavolume, the first write will take place on
the meta head, and the subsequent write will reside on the next member of the metavolume. Allocation will
continue in this fashion until the meta tail is reached. The process is then repeated starting at the meta head
once again.
Head
Tail
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Mirrored Metavolumes
Any metavolume, whether it be striped or concatenated, can also be mirrored. This means another
complete copy of the metavolume is created and is stored on a different physical disk using like hyper
volumes (same hyper volume size with the same hypers per meta but different physical disks). Even
though mirrored metavolumes require twice as much physical disk space, the metavolume size does not
change. The device presented to the server will still be the same size as a nonmirrored metavolume. When
a read request takes place against a mirrored metavolume, either hyper volume where the data resides may
service the request. Consequently, when a write request takes place, the write must occur on both hyper
volumes. To safeguard redundancy, a Symmetrix system ensures that mirrored copies are not created on
the same physical disk.
Same Logical
Data Written
Channel Directors
Host adapters on the Symmetrix system are known as channel directors. This is where the server
physically attaches to the storage server via cables. Each card contains a number of fiber, SCSI, or serial
ESCON ports.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Instances
An instance, in DB2 UDB, is a logical database manager environment where you can create and/or catalog
databases and set various instance-wide configuration parameters. A database manager instance can also
be defined as being similar to an image of the actual database manager environment. Furthermore, you can
have several instances of the database manager product on the same database server. You can use these
instances to separate the development environment from the production environment, tune the database
manager to a particular environment, and protect sensitive information from a particular group of people.
For a partitioned database environment, all database partitions will reside within a single instance and will
share at the instance level a common set of configuration parameters.
Databases
A database is created within an instance. They present logical data as a collection of database objects (e.g.,
tables and indexes). Each database includes a set of system catalog tables that describe the logical and
physical structure of the data, configuration files containing the parameter values allocated for the database,
and recovery log(s).
DB2 UDB allows multiple databases to be defined within a single database instance. Configuration
parameters can also be set at the database level to tune various characteristics, such as memory usage and
logging.
Database Partitions
DB2 UDB allows the user to divide a single database into multiple logical database partitions. Each of
these database partitions can look and behave as an independent database. Therefore, multiple database
partitions can reside on the same server, and/or database partitions can reside on many servers. They are all
part of the same database that is joined through the catalog database partition where the database is actually
created. This database partition stores the overall database configuration information. Each database
partition also has access to its own set of database-level configuration parameters.
Another term for a database partition is a node. A unique node number identifies each node.
Nodegroups
A nodegroup is a set of one or more database partitions. For nonpartitioned database implementations,
there is only one nonconfigurable nodegroup, which is always made up of a single database partition.
Figure 9 shows how five database partitions can be divided into three different nodegroups. As you can
see, a database partition can reside within multiple nodegroups. In this example, nodegroup 1 is made up
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
10
of database partitions 1, 2, 3, and 4. Nodegroup 2 contains only a single database partition, database
partition 1, and finally nodegroup 3 compris es database partitions 4 and 5.
Database
Partition 1
Database
Partition 2
Database
Partition 3
Database
Partition 4
Nodegroup 3
Nodegroup 2
Database
Partition 5
Figure 8. One DB2 UDB Database Comprising Five Database Partitions Grouped into Three
Nodegroups
Buffer Pools
A buffer pool is the main memory allocated in the host processor to cache table and index data pages as
they are being read from disk, or being modified. The purpose of the buffer pool is to improve system
performance. Data can be accessed much faster from memory than from disk; therefore, the fewer times
the database manager needs to read from or write to disk (I/O) the better the performance. Buffer pools are
created by database partitions and each partition can have multiple buffer pools.
Tables
The primary database object is the table. A table is defined as a named data object consisting of a specific
number of columns and a various number rows. Tables are uniquely identified units of storage maintained
within a DB2 table space. They consist of a series of logically linked blocks of storage that have been
given the same name. They also have a unique structure for storing information that permits that
information to be related to information in other tables.
When creating a table, you can choose to have certain objects, such as indexes, stored separately from the
rest of the table data. In order to do this, the table must be defined to a DMS (data-managed space) table
space.
Table Spaces
A database is logically organized into table spaces. A table space is a place to store tables. The table space
is where the database is defined to use the disk storage subsystem. One method to spread a table space over
one or more physical storage devices is to simply specify multiple containers.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
11
There are three main types of user table spaces: regular, temporary, and long. In addition to these userdefined table spaces, DB2 also defines separate system and catalog table spaces. For partitioned database
environments, the catalog table space resides on the catalog database partition.
Containers
A container is an allocation of physical storage. It is a way to define the device that will be made available
for storing database objects. Containers may be assigned to file systems by specifying a directory. Such
containers are identified as PATH containers and are used with SMS table spaces. Containers may also
reference files that reside within a directory. These are identified as FILE containers, and a specific size
must be identified. FILE containers are only used with DMS file table spaces. Containers may also
reference raw character devices. These containers are used by DMS raw table spaces and are identified as
DEVICE containers. Note that the device must already exist on the system before the container can be
used. In all cases, containers must be unique and can belong to only one table space.
Pages
Data is transferred to and from devices in discrete blocks that are buffered in memory called pages. DB2
UDB supports various page sizes including 4 KB, 8 KB, 16 KB and 32 KB. When an application accesses
data randomly, the page size determines the amount of data transferred. In other words, it will correspond
to the data transfer request size to the disk array. Page size determines the maximum length of a row, and
is associated with the maximum size of a table space. These limits are shown in Table 1. In all cases DB2
UDB limits the number of data rows on a single page to 255 rows.
Table 1. Page Size Limits
Page Size
4 KB
64 GB
4005 B
8 KB
16 KB
128 GB
256 GB
8101 B
16293 B
32 KB
512 GB
32677 B
Extents
An extent is the unit at which space is allocated within a container of a table space for a single table space
object. This allocation consists of multiple pages. The size of the extent is specified when the table space is
created. Note that when data is written to a table space with multiple containers, the data is striped across
all containers in extent-sized blocks.
Prefetch Size
The number of pages that the database manager will prefetch can be defined for each table space using the
PREFETCHSIZE clause with either the CREATE TABLESPACE or ALTER TABLESPACE statements.
The value specified is maintained in the PREFETCHSIZE column of the SYSCAT.TABLESPACES
system catalog table.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
12
Prefetching
Prefetching is a technique for anticipating data needs and reading ahead from storage in large blocks. By
transferring data in larger blocks, fewer system resources are expended and less total time is required.
Sequential prefetches read consecutive pages into the buffer pool before they are needed by DB2. List
prefetches are more complex. In this case, the DB2 optimizer optimizes the retrieval of randomly located
data.
The amount of data being prefetched is part of what determines the amount of parallel I/O activity.
Ordinarily the database administrator should define a prefetch value large enough to allow parallel use of
all of the available containers, and therefore all of the arrays physical disks.
Consider the following example:
The table space is defined across four containers, and each container resides on a separate logical disk,
and each logical disk resides on a separate RAID array.
Suppose a user issued a query that results in a table space scan, which then results in DB2 performing a
prefetch operation. The following would happen:
DB2 UDB would recognize that this prefetch request for 64 pages (a megabyte) evenly spans four
containers, and would issue four parallel I/O requests, one against each of those containers. The
request size to each container would be 16 pages, or 256 KB.
The AIX Logical Volume Manager would divide the 256 KB request to each AIX logical volume into
smaller units (128 KB is the largest), and pass them on to the array as back -to-back requests against
each logical disk.
An array receives a request for 128 KB; if the data is not in cache, four arrays would operate in parallel
to retrieve the data.
After receiving several of these requests, the array would recognize that these DB2 UDB prefetch
requests are arriving as sequential accesses, causing the array sequential prefetch to take effect.
Page Cleaners
Page cleaners write dirty pages from the buffer pool to disk, reducing the chance that agents looking for
victim buffer pool slots in memory will have to incur the cost of writing dirty pages to disk. For example,
if you have updated a large amount of data in a table, many data pages in the buffer pool may be updated
but not written into disk storage (these pages are called dirty pages). Since agents cannot place fetched data
pages into the dirty pages in the buffer pool, these dirty pages must be flushed to disk storage before their
buffer pool memory can be used for other data pages.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
13
The number of physical disk spindles that will service DB2 UDB to provide a device of the size
required by the database
The affect (if any) on the positioning schema of the maximum number of hypervolumes allowed with a
Symmetrix system
Creating Metavolumes
When creating metavolumes for a database server, several factors must be considered in order to ensure
reasonable performance.
Metavolume Size
A metavolumes size depends on two factors: hypervolume size and the number of hypers per meta. The
value for either of these factors can affect the overall metavolume performance.
Hypervolume Size
If you use a hyper size that is too large, you may not reach the six to ten desired spindles per CPU typically
recommended by DB2 UDB for your server. For example, if the hypervolume size is 15 GB and the
sought-after metavolume size is 30 GB, then only two physical disks (one per hypervolume) are required.
Even if DB2 UDB uses multiple containers created out of these devices, only two physical disks will be
servicing the requests. However, if a hypervolume size of 5 GB is used, and all six hypervolumes are
placed on different physical disks, then there will be six physical disks servicing the requests.
However, if your hypervolume size is too small, it is possible to reach the maximum number of logical
volumes allowed within a Symmetrix system. The equation in Formula 3 describes how to calculate the
maximum number of physical disks that can be partitioned before reaching this limit. Formula 3 assumes
each metavolume will be created using the same hypervolume size and number of hypers per meta.
maximum # of volumes
hypers per meta
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
14
Head
Tail
Stripe Size
Another consideration when defining metavolumes is stripe size. The minimum, and currently the default,
stripe size is 960 KB. This minimum value is based on the size of two disk cylinders. It is possible to set
this value higher, but it is recommended that the stripe size be left at the default for most systems. This
allows for the highest likelihood of requested data being spread across more than one underlying
hypervolumes, thus minimizing the chance for a bottleneck to occur on only one resource.
Channel Directors
Another physical performance consideration occurs when connecting a Symmetrix system to the database
server. The I/O cables should be spread across as many channel directors as possible. Each channel
director has a tangible throughput limit. Therefore, spreading the cables across all available channel
directors will decrease the likelihood of the channel directors becoming a bottleneck. Figures 10a and 10b
demonstrate the difference between the recommended and the not recommended method for attaching the
cables.
Multiple Fiber Channel (FC) connections per physical server provide both performance and redundancy to
the overall configuration. With current generation 2 GB FC ports, DB2 UDB can be configured with two
to four FC ports per physical server per attached Symmetrix system. (It is possible to configure more, but
they would not normally provide additional value.)
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
15
Channel Director
Channel Director
I/O Cables
I/O Cables
Server
Server
Symmetrix
Symmetrix
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
16
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
17
Shared Nothing
The basic concept behind shared nothing is resources are isolated for use by specific applications. For DB2
UDB, this usually means isolating physical disks for use by a particular database partition or table space.
Therefore, all metavolumes residing on a set of physical disks are used by a single database partition or table
space. This must be done carefully as more than one metavolume can reside on a physical disk. When
successful, each database partition or table space will have its own dedicated set of physical disks.
Figure 12 shows an example of isolating physical disks at the database partition level. In this example, there
are 16 physical disks. Each set of four physical disks has been divided into four metavolumes as is in Figure
2. Therefore, the total of 16 separate metavolumes can be addressed by a server.
For this example, we want to create two SMS table spaces for an imaginary database that has two database
partitions. As Figure 12 shows, the file systems that are mounted on the top eight metavolumes will be
assigned to database partition 1, while the file systems on the bottom eight metavolumes will be assigned to
database partition 2. Thus, the underlying disks are isolated to be used exclusively by a specific database
partition. This particular layout corresponds to the CREATE TABLESPACE statement presented in Figure
13.
Although not highlighted in the example, shared nothing is typically easier to configure and manage since
the creation of numerous additional devices is not usually required. However, in some cases, performance
under this configuration may not be optimal. When a system has a limited number of physical disks, sharing
all the physical disks between all the DB2 UDB database partitions can cause a performance gain.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
18
Physical
Disks
Metavolume 1
/node1/meta_volume1
Metavolume 2
/node1/meta_volume2
Metavolume 3
/node1/meta_volume3
Metavolume 4
/node1/meta_volume4
Metavolume 5
/node1/meta_volume5
Metavolume 6
/node1/meta_volume6
Metavolume 7
/node1/meta_volume7
Metavolume 8
/node1/meta_volume8
Metavolume 9
/node2/meta_volume9
Metavolume 10
/node2/meta_volume10
Metavolume 11
/node2/meta_volume11
Metavolume 12
/node2/meta_volume12
Metavolume 13
/node2/meta_volume13
Metavolume 14
/node2/meta_volume14
Metavolume 15
/node2/meta_volume15
Metavolume 16
/node2/meta_volume16
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
19
Shared Everything
With shared everything, resources are not isolated for use. All applications should have access to all the
resources. For DB2 UDB, this typically means all database partitions and table spaces will reside on all
physical disks. Therefore, each physical disk will need to be addressable by each database partition. This
can only be accomplished by creating at least one hypervolume per database partition on every physical
disk. In addition, if you are planning on using DMS raw table space containers, a separate metavolume must
be created for each table space in each database partition on every physical disk. You should notice how this
design can quickly increase the number of devices that must be managed by your system administrator.
Therefore, the chance of a possible performance gain should be weighed against the extra administrative
costs.
Figures 13 and 14 provide an example of creating a shared everything table space on a database with two
database partitions. Note that the Symmetrix disk configuration for this example has the exact same layout
as in the previous example for shared nothing (Figure 11). As before, 16 physical disks have been divided
into 16 separate metavolumes. This difference is in how the metavolumes are address by the database
server(s). Look closely at the ordering of the file system names used as containers for the two database
partitions in Figure 14. Notice how each database partition in the create table space statement has access to
each physical disk.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
20
Physical
Disks
Metavolume 1
/node1/meta_volume1
Metavolume 2
/node1/meta_volume2
Metavolume 3
/node2/meta_volume3
Metavolume 4
/node2/meta_volume4
Metavolume 5
/node1/meta_volume5
Metavolume 6
/node1/meta_volume6
Metavolume 7
/node2/meta_volume7
Metavolume 8
/node2/meta_volume8
Metavolume 9
/node1/meta_volume9
Metavolume 10
/node1/meta_volume10
Metavolume 11
/node2/meta_volume11
Metavolume 12
/node2/meta_volume12
Metavolume 13
/node1/meta_volume13
Metavolume 14
/node1/meta_volume14
Metavolume 15
/node2/meta_volume15
Metavolume 16
/node2/meta_volume16
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
21
Figure 14. Example CREATE TABLESPACE Statement that Corresponds with Figure 13
JBOD
The final way to lay out Symmetrix physical disks is called JBOD (just a bunch of disks). In essence, it is
another example of shared nothing, where physical dis ks are isolated for use. It is only possible to create a
JBOD schema without the use of metavolumes. In this case, each hypervolume is presented to the server as
a separate addressable device. These devices are then used as containers by various DB2 UDB table spaces.
Basically, this is the same as the previous shared nothing schema, without the metavolume layer. When
databases are less than 1 TB in size, removing the metavolume layer does provide an additional performance
gain. However, if your database is larger, or has a chance of growing past 1 TB, do not use a JBOD
schema.
Prefetch Size
Prefetch size specifies how much data should be read into the buffer pool on a prefetch data request.
Prefetching data can help queries avoid unnecessary page faults. Therefore, the value of the most efficient
prefetch size for a table space is closely linked to its workload, and must be tuned on a per-system basis.
However, a good starting point for a Symmetrix-based system is to multiply the number of containers in the
table space by its extent size in KB, and then double it: This is twice the usual rule of thumb for prefetch
size and is linked to the ability of the Symmetrix mirrored metavolumes to fulfill a read request from two
separate physical disks.
prefetchsize (KB) = extentsize (KB) * # of containers * 2
Formula 4. Prefetch Size
Note that prefetchsize is tunable after table space creation. This is not true for extent size and page size.
These values are set at table space creation time and cannot be altered without re-defining the table space
and re-loading its data.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
22
Overhead
4 KB
8 KB
16 KB
32 KB
36 GB 10K RPM
8.7
0.1
0.1
0.3
0.6
50 GB 7200 RPM
73 GB 10K RPM
11.6
8.6
0.1
0.1
0.1
0.1
0.3
0.2
0.6
0.5
11.7
0.1
0.1
0.2
0.5
DB2_PARALLEL_IO
It is recommended that DB2_PARALLEL_IO be set to ON for all table spaces using containers created on
RAID devices. And Symmetrix striped metavolumes fall into this category. DB2_PARALLEL_IO allows
for multiple read and writes to occur on a single container, thus increasing throughput.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
23
1.
NODE NUMBER
---------------------0
1
2 record(s) selected.
2.
export DB2NODE=<database_partition_number>
(e.g., 1)
db2 connect to <database_name> (e.g., my_db)
db2 list tablespaces
Note: Only table space with IDs 3 and 4 are shown in diagram.
=
=
=
=
=
0
SYSCATSPACE
System managed space
Any data
0x0000
Tablespace ID
Name
Type
Contents
State
Detailed explanation:
Normal
=
=
=
=
=
1
TEMPSPACE1
System managed space
System Temporary data
0x0000
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
24
Tablespace ID
Name
Type
Contents
State
Detailed explanation:
Normal
= 2
= USERSPACE1
= System managed space
= Any data
= 0x0000
Tablespace ID
Name
Type
Contents
State
Detailed explanation:
Normal
=
=
=
=
=
3
TABLESPACE1
System managed space
Any data
0x0000
Tablespace ID
Name
Type
Contents
State
Detailed explanation:
=
=
=
=
=
4
TABLESPACE2
System managed space
Any data
0x0000
Normal
3.
= 0
= /my_fs0/tbspace
= Path
Container ID
Name
Type
= 1
= /my_fs1/tbspace
= Path
Container ID
Name
Type
= 2
= /my_fs2/tbspace
= Path
Container ID
Name
Type
= 3
= /my_fs3/tbspace
= Path
Container ID
Name
Type
= 4
= /my_fs4/tbspace
= Path
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
25
4.
Filesystem
512-blocks
/dev/lv_myfs2
75497472
5. Determine the PowerPath
physical volumes that make
up the logical volume.
lv_myfs2:/my_fs2
PV
hdiskpower0
hdiskpower1
hdiskpower2
hdiskpower3
Free %Used
45462376
40%
COPIES
288:000:000
288:000:000
288:000:000
288:000:000
IN BAND
20%
20%
20%
20%
DISTRIBUTION
058:058:058:058:056
058:058:058:058:056
058:058:058:058:056
058:058:058:058:056
Pseudo name=hdiskpower0
Symmetrix frame ID=000276901285; volume ID=0174
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
======================================================================
--------- Host Devices -------- - Symm - --- Path ---- -- Stats --### HW-path
device
director mode
state q-IOs errors
======================================================================
2 fscsi1
hdisk11
FA 3aA
active open
0
0
3 fscsi2
hdisk18
FA 4aA
active open
0
0
4 fscsi3
hdisk25
FA 13aA
active open
0
0
0 fscsi4
hdisk32
FA 14aA
active open
0
0
1 fscsi0
hdisk44
FA 13bA
active open
0
0
7. Determine the Symmetrix
physical disks that make up
the metavolume on which
the hdiskpower resides.
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
26
0175
0174
0174
0175
0176
0177
/dev/rhdiskpower0
/dev/rhdiskpower0
/dev/rhdiskpower0
/dev/rhdiskpower0
/dev/rhdiskpower0
/dev/rhdiskpower0
???:?
13B:0
13B:0
???:?
???:?
???:?
15A:D5
16A:D5
01B:C3
02B:C3
15B:C3
16B:C3
1
1
1
1
1
1
2-Way
2-Way
2-Way
2-Way
2-Way
2-Way
Mir
Mir
Mir
Mir
Mir
Mir
(m)
(M)
(M)
(m)
(m)
(m)
37125
37125
-
/dev/rhdiskpower0
/dev/rhdiskpower22
/dev/rhdiskpower43
/dev/rhdiskpower34
/dev/rhdiskpower1
???:?
13B:0
13B:0
13B:0
???:?
01A:D5
01A:D5
01A:D5
01A:D5
01A:D5
1
2
3
4
5
2-Way
2-Way
2-Way
2-Way
2-Way
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
Mir
Mir
Mir
Mir
Mir
(m)
(M)
(m)
(M)
(m)
24750
6188
20625
-
27
Figure 15. Overall View of an Example Relationship between DB2 UDB and Symmetrix
Best Practices for EMC Symmetrix with IBM DB2 Universal Database
28