Preparing tables for Performance Reporter
Use one of the following procedures to prepare the tables that Performance Reporter will use:
- To create new Performance Reporter tables
- To update existing Performance Reporter tables to a newer version
To create new Performance Reporter tables
(optional) Using the DZPRUCNV utility with the DZPRUPRM and DZPRUJCL samples, you can change the default names to conform to your site's naming conventions. See the samples in the following table.For more information, see Using-product-libraries.
Default table name and description
Default table space name
Create table space/table member (UBBSAMP)
Report members (BBPARM)
DMRPR.DMRACDTL
(accounting table—detail)
DMRPRTAD
DPCSACDT
DPCTACDT
ACxxxxxx
DMRPR.DMRACSUM
(accounting table—summary)
DMRPRTAS
DPCSACSM
DPCTACSM
SAxxxxxx
DMRPR.DMRACSM2
(accounting table—summary–2)
DMRPRTA2
DPCSACS2
DPCTACS2
SAxxxxxx
DMRPR.DMRAXDTL
(Accounting Accelerator table—detail)
DMRPRXAD
DPCTAXDT
Not applicable
DMRPR.DMRAXSUM
(Accounting Accelerator table—summary)
DMRPRXAS
DPCTAXSM
Not applicable
DMRPR.DMRAXSM2
(Accounting Accelerator table—summary)–2
DMRPRXA2
DPCTAXS2
Not applicable
DMRPR.DMRAUSUM
(audit summary table)
DMRPRAUS
DPCSAUSM
DPCTAUSM
AUSUM
AUDTL
DMRPR.DMRAUGRV
(authorization control—GRANTs/REVOKEs table)
DMRPRAUG
DPCSAUGR
DPCTAUGR
AUDGRV
DMRPR.DMRAUFAL
(authorization failures table)
DMRPRAUF
DPCSAUFL
DPCTAUFL
AUFAIL
DMRPR.DMRAUCHG
(authorization ID change table)
DMRPRAUC
DPCSAUCH
DPCTAUCH
AUCHNG
DMRPR.DMRABDTL
(buffer accounting table—detail)
DMRPRTID
DPCSABDT
DPCTABDT
ACxxxxxx
DMRPR.DMRABSUM
(buffer accounting table—summary)
DMRPRTIS
DPCSABSM
DPCTABSM
SAxxxxxx
DMRPR.DMRABSM2
(buffer accounting table—summary–2)
DMRPRTI2
DPCSABS2
DPCTABS2
SAxxxxxx
DMRPR.DMRSBFDT
(buffer statistics table—detail)
DMRPRTBD
DPCSSBDT
DPCTSBDT
STxxxxx
DMRPR.DMRSBSUM
(buffer statistics table—summary)
DMRPRTBS
DPCSSBSM
DPCTSBSM
SSxxxxx
DMRPR.DMRSBSM2
(buffer statistics table—summary–2)
DMRPRTB2
DPCSSBS2
DPCTSBS2
SSOVDFT
SSOVRxx
DMRPR.DMRADDTL
(DDF accounting table—detail)
DMRPRTDD
DPCSADDT
DPCTADDT
ACxxxxx
DMRPR.DMRADSUM
(DDF accounting table—summary)
DMRPRTDS
DPCSADSM
DPCTADSM
SAxxxxxx
DMRPR.DMRADSM2
(DDF accounting table—summary–2)
DMRPRTD2
DPCSADS2
DPCTADS2
SAxxxxxx
DMRPR.DMRSTDF
(DDF statistics table—detail)
DMRPRTSF
DPCSSTSD
DPCTSTSD
STOVDFT
DMRPR.DMRSDSUM
(DDF statistics table—summary)
DMRPRTFS
DPCSSFSM
DPCTSFSM
STOVDFT
DMRPR.DMRSDSM2
(DDF statistics table—summary–2)
DMRPRTF2
DPCSSFS2
DPCTSFS2
SSxxxxx
DMRPR.DMRAUDDL
(DDL access table)
DMRPRAUD
DPCSAUDL
DPCTAUDL
AUDDL
DMRPR.DMRAUDML
(DML access table)
DMRPRAUM
DPCSAUDM
DPCTAUDM
AUDML
DMRPR.DMRAUDMB
(DML at BIND table)
DMRPRAUB
DPCSAUDB
DPCTAUDB
AUDMLB
DMRPR.DMRAPDTL
(package accounting table—detail)
DMRPRTPD
DPCSAPDT
DPCTAPDT
ACxxxx
DMRPR.DMRAPSUM
(package accounting table—summary)
DMRPRTPS
DPCSAPSM
DPCTAPSM
SAxxxx
DMRPR.DMRAPSM2
(package accounting table—summary–2)
DMRPRTP2
DPCSAPS2
DPCTAPS2
SAxxxx
DMRPR.DMRSXDTL
(Statistics Accelerator table—detail)
DMRPRXSD
DPCTSXDT
Not applicable
DMRPR.DMRSXSUM
(Statistics Accelerator table—summary)
DMRPRXSM
DPCTSXSM
Not applicable
DMRPR.DMRSXSM2
(Statistics Accelerator table—summary–2)
DMRPRXS2
DPCTSXS2
Not applicable
DMRPR.DMRSTAT
(statistics table—detail)
DMRPRTSS
DPCSSTDT
DPCTSTDT
STxxxxxx
DMRPR.DMRSTSUM
(statistics table—summary)
DMRPRTTS
DPCSSTSM
DPCTSTSM
SSxxxxxx
DMRPR.DMRSTSM2
(statistics table—summary–2)
DMRPRTT2
DPCSSTS2
DPCTSTS2
SSxxxxx
DMRPR.DMRSTADT
(storage address space table)
DMRSTADT
DPCTSADT
Not applicable
DMRPR.DMRSTSDT
(storage system table)
DMRSTSDT
DPCTSSDT
Not applicable
DMRPR.DMRAUUTL
(utility access table)
DMRPRAUU
DPCSAUUT
DPCTAUUT
AUUTIL
- If you changed the STOGROUP name (when setting up Performance Reporter defaults) also change the STOGROUP name in the DOCSxxxx sample members to the same name.
- Customize the table definitions.The following table customization applies to all tables, both detail and summary.
- Determine the data that you do not want stored, such as:
Entire tables not used at your site
For example, the detail accounting table does not need to be created if you summarize accounting data and only load summary data.
DDF data
If your site does not use DDF or DRDA, you do not need to create any DDF tables or reports.
Package accounting data
If your site does not run with accounting trace class 7/8 active, you do not need to create any package accounting tables.
Data collected by Performance Reporter that is not used in any Performance Reporter reports and that is not needed for special reports at your site
For more information about the data that is used in the Performance Reporter reports, see the performance data tables section of the Working-with-reports.
- Columns in Performance Reporter tables that are meaningful only if data sharing is used at your site
- Columns in Performance Reporter tables not used for reporting at your site
- COMMENT ON statements for Performance Reporter columns
- CREATE INDEX columns that are not used in any sample reports, but do not delete the CREATE INDEX for the index ending in RIDX that uses the ROWID column
- Using the samples that start with a DPCT prefix (TABLE CREATE members), remove the following items:
Unwanted tables
Remove the utility statements that create the table, table space, and table index, and grant SELECT ACCESS to that table to PUBLIC.
Columns not used in any distributed report
Each member contains a column name, DMRAUTOCUST, that marks the beginning of optional columns for that table. BMC AMI Ops configuration uses this column to delete the remaining column definitions if you request only the columns used in the distributed reports.
Data sharing and global locking columns
Each member contains a column name, DMRACSHARE, that marks the beginning of data sharing and global locking columns for that table. BMC AMI Ops configuration uses this column to delete the columns up to the DMRAUTOCUST column definition if you request to exclude data sharing columns.
Long name columns
Each member contains a column name, DMRAUTOLONG, that marks the beginning of long name columns for those columns that also have short name equivalents in that table. If you choose to exclude long name columns, BMC AMI Ops configuration deletes the columns following the DMRAUTOLONG column.
Unwanted columns
Remove the control statement that creates the column name. Do not delete the ROWID columns.
This table customization applies to all tables, both detail and summary.
COMMENT ON statements
Remove any or all COMMENT ON statements. BMC AMI Ops configuration can optionally remove all COMMENT ON statements for you.
Unused CREATE INDEX columns
Each member has a CREATE INDEX statement with index column names. Index column names after DATETIME are not used in any sample Performance Reporter reports and may be removed if not used by any special reports at your site. Any index column names preceding and including DATETIME must be kept to avoid processing of duplicate keys in Performance Reporter. BMC AMI Ops configuration can optionally remove unused CREATE INDEX statement column names for you.
- Examine the space allocations performed by each DPCSxxxx sample for compatibility with the volumes you plan to use.
- COMPRESS YES is specified. Review for applicability in your environment.
- To create segmented table spaces instead of simple table spaces, uncomment the line that contains the SEGSIZE clause and replace the 0 with a valid segment size value.
- Determine the data that you do not want stored, such as:
Execute the CREATE statements that you generated in Step 3.Edit member DPJCREAT (IBM LOAD or BMC AMI Load) and run it on the same Db2 system where the objects are to be created:
DPJCREAT
a two-step allocation job
The first step allocates a spin file that is required by the DPRSMF job, which extracts Db2 SMF records and loads the data into the Performance Reporter tables. If you do not use BMC AMI Ops configuration to install BMC AMI OpsM for Db2, you will need to create the spin file by using the JCL in the BBSAMP member DPRSPIN.
The second step defines the storage group, database, table spaces, tables, and indexes that are used to store the performance data. DPJCREAT also grants SELECT authority to PUBLIC.
- Add your job statement.
- Change the HIDP parameter to the high-level qualifier of your BMC Software product libraries.
- Verify that the HIDB2 parameter is the correct prefix for your Db2 library names.
- Specify the UNIT and VOL parameters. These parameters are used to allocate a small permanent data set used by the SMF extractor.
- Submit the job.
To update existing Performance Reporter tables to a newer version
- Verify that the maintenance for the previous version of Performance Reporter is up-to-date.That is, if you want to update version 11 tables to version 12 tables, ensure that the maintenance for Performance Reporter version 11 is up-to-date.
- Run the DPJALTER job to change the TABLEVERSION, and any other structure changes that might have been updated due to maintenance.You are provided with a populated set of Performance Reporter tables that you can maintain with version 12 of DPRDSMF.
Related topic