Professional Documents
Culture Documents
The product or products described in this book are licensed products of Teradata Corporation or its affiliates.
Teradata, Active Data Warehousing, Active Enterprise Intelligence, Applications-Within, Aprimo Marketing Studio, Aster, BYNET, Claraview,
DecisionCast, Gridscale, MyCommerce, QueryGrid, SQL-MapReduce, Teradata Decision Experts, "Teradata Labs" logo, Teradata ServiceConnect,
Teradata Source Experts, WebAnalyst, and Xkoto are trademarks or registered trademarks of Teradata Corporation or its affiliates in the United
States and other countries.
Adaptec and SCSISelect are trademarks or registered trademarks of Adaptec, Inc.
AMD Opteron and Opteron are trademarks of Advanced Micro Devices, Inc.
Apache, Apache Hadoop, Hadoop, and the yellow elephant logo are either registered trademarks or trademarks of the Apache Software Foundation
in the United States and/or other countries.
Apple, Mac, and OS X all are registered trademarks of Apple Inc.
Axeda is a registered trademark of Axeda Corporation. Axeda Agents, Axeda Applications, Axeda Policy Manager, Axeda Enterprise, Axeda Access,
Axeda Software Management, Axeda Service, Axeda ServiceLink, and Firewall-Friendly are trademarks and Maximum Results and Maximum
Support are servicemarks of Axeda Corporation.
Data Domain, EMC, PowerPath, SRDF, and Symmetrix are registered trademarks of EMC Corporation.
GoldenGate is a trademark of Oracle.
Hewlett-Packard and HP are registered trademarks of Hewlett-Packard Company.
Hortonworks, the Hortonworks logo and other Hortonworks trademarks are trademarks of Hortonworks Inc. in the United States and other
countries.
Intel, Pentium, and XEON are registered trademarks of Intel Corporation.
IBM, CICS, RACF, Tivoli, and z/OS are registered trademarks of International Business Machines Corporation.
Linux is a registered trademark of Linus Torvalds.
LSI is a registered trademark of LSI Corporation.
Microsoft, Active Directory, Windows, Windows NT, and Windows Server are registered trademarks of Microsoft Corporation in the United States
and other countries.
NetVault is a trademark or registered trademark of Dell Inc. in the United States and/or other countries.
Novell and SUSE are registered trademarks of Novell, Inc., in the United States and other countries.
Oracle, Java, and Solaris are registered trademarks of Oracle and/or its affiliates.
QLogic and SANbox are trademarks or registered trademarks of QLogic Corporation.
Quantum and the Quantum logo are trademarks of Quantum Corporation, registered in the U.S.A. and other countries.
Red Hat is a trademark of Red Hat, Inc., registered in the U.S. and other countries. Used under license.
SAP is the trademark or registered trademark of SAP AG in Germany and in several other countries.
SAS and SAS/C are trademarks or registered trademarks of SAS Institute Inc.
SPARC is a registered trademark of SPARC International, Inc.
Symantec, NetBackup, and VERITAS are trademarks or registered trademarks of Symantec Corporation or its affiliates in the United States and
other countries.
Unicode is a registered trademark of Unicode, Inc. in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other product and company names mentioned herein may be the trademarks of their respective owners.
THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROVIDED ON AN "AS-IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
NON-INFRINGEMENT. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION
MAY NOT APPLY TO YOU. IN NO EVENT WILL TERADATA CORPORATION BE LIABLE FOR ANY INDIRECT, DIRECT, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS OR LOST SAVINGS, EVEN IF EXPRESSLY ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
The information contained in this document may contain references or cross-references to features, functions, products, or services that are not
announced or available in your country. Such references do not imply that Teradata Corporation intends to announce such features, functions,
products, or services in your country. Please consult your local Teradata Corporation representative for those features, functions, products, or
services available in your country.
Information contained in this document may contain technical inaccuracies or typographical errors. Information may be changed or updated
without notice. Teradata Corporation may also make improvements or changes in the products or services described in this information at any time
without notice.
To maintain the quality of our products and services, we would like your comments on the accuracy, clarity, organization, and value of this document.
Please email: teradata-books@lists.teradata.com.
Any comments or materials (collectively referred to as "Feedback") sent to Teradata Corporation will be deemed non-confidential. Teradata
Corporation will have no obligation of any kind with respect to Feedback and will be free to use, reproduce, disclose, exhibit, display, transform,
create derivative works of, and distribute the Feedback and derivative works thereof without limitation on a royalty-free basis. Further, Teradata
Corporation will be free to use any ideas, concepts, know-how, or techniques contained in such Feedback for any purpose whatsoever, including
developing, manufacturing, or marketing products or services incorporating Feedback.
Preface
Purpose
This is a reference book for Teradata Database resource usage macros and tables. The macros
can be used to report resource usage data and, when enabled, the tables can be used to:
Related Documentation
For information on:
Workload management (WM) capacity on demand (COD) and setting limits on resource
usage, refer to the following:
Audience
This book is intended to be used by administrators, programmers, and other Teradata
technical personnel responsible for administering or managing Teradata Database.
SLES 11
Preface
Changes to This Book
Description
August 2014
Preface
Additional Information
Release
Description
Additional Information
URL
Description
www.info.teradata.com/
Search.
www.teradata.com
Preface
Teradata Database Optional Features
URL
Description
www.teradata.com/t/TEN/
tays.teradata.com/
developer.teradata.com/
To maintain the quality of our products and services, we would like your comments on the
accuracy, clarity, organization, and value of this document. Please email teradatabooks@lists.teradata.com.
Teradata Columnar
Teradata SQL-H
Teradata Temporal
You may not use these features without the appropriate licenses. The fact that these features
may be included in product media or downloads, or described in documentation that you
receive, does not authorize you to use them without the appropriate licenses.
Contact your Teradata sales representative to purchase and enable optional features.
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Supported Software Releases and Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Changes to This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Teradata Database Optional Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Chapter 1: Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Benefits of Resource Usage Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Overview of Resource Usage Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Data Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Resource Usage Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Application Programming Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
23
23
24
24
Table of Contents
Table of Contents
52
52
55
55
56
57
60
64
65
65
66
Spare Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Table of Contents
10
Table of Contents
133
133
146
146
150
151
155
158
11
Table of Contents
ResSvdskView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178
ResSvprView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179
12
Table of Contents
243
243
248
249
250
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
13
Table of Contents
14
CHAPTER 1
Introduction
This manual documents the resource usage data and settings for a variety of installation
configurations and environments in Chapter 2: Planning Your Resource Usage Data. To
implement the settings you decide on, see Chapter 3: Resource Usage and Procedures.
The only maintenance required is to purge old data regularly. See Purging Data.
For additional information on performance analysis and system tuning, see the following:
Database Administration
15
Chapter 1: Introduction
Data Reporting
Which includes
client-to-server traffic
CPU utilization
memory allocation.
Data Reporting
Data is reported at the logging period. When a new logging period starts, the data is gathered
in the Gather Buffer, then updated to the Log Buffer and logged to the database resource usage
tables.
16
Chapter 1: Introduction
Resource Usage Macros
Gather Buffer
Log Buffer
ResUsage
Tables
ResUsage Reports
1099B001
17
Chapter 1: Introduction
Application Programming Interfaces
Collect RSS data and return node, vproc, and WD oriented data
Examples of these APIs, include the System PMPC SET RESOURCE RATE, MONITOR
PHYSICAL RESOURCE, MONITOR VIRTUAL RESOURCE, and MONITOR WD requests.
For more information on these APIs, see Application Programming Reference.
18
CHAPTER 2
See...
19
Covers
ResUsageIpma
---
ResUsageIvpr
---
ResUsageSawt
ResUsageScpu
ResUsageShst
ResUsageSldv
ResUsageSpdsk
20
Table Name
Covers
ResUsageSpma
ResUsageSvpr
Logging Rate
The logging rate controls the frequency (number of seconds) at which resource usage data is
logged to the resource usage tables.
When you have decided what rate to set, see Chapter 3: Resource Usage and Procedures for
details on how to set the logging rate.
Logging Period
Resource usage logging means the writing of resource data as rows to one or more of the
resource usage database tables. The tables are named DBC.ResUsagexxxx, where xxxx is the
name of the resource usage table (for example, SPMA, IPMA, and so on) as listed in Types of
Resource Usage Tables on page 20.
The shorter the logging period, the more frequently data is logged, and the more disk space is
used.
When the system is so busy that the resource usage table logging gets backed up, RSS will
automatically double the logging period which effectively summarizes the data by providing
values for a time period twice that provided by the previous logging period.
If you see the resource usage logging rates change without user intervention, this means that
the database is busy. When no longer busy, the system resumes logging as before.
21
Note: Events in the event logs related to this doubling of the logging period do not represent
fatal errors but are informational to indicate that the automatic operations of the RSS are
attempting to maintain data logging.
Rule
The following rule on the logging rate is imposed by the system.
Intervals must evenly divide into 3600 (the number of seconds in an hour). The following
table shows the valid logging rate.
The white area of the table shows rates recommended only for short-term use for
debugging a specific issue.
The highlighted area of the table shows rates recommended for production processing.
1
10
12
15
16
18
20
24
25
30
36
40
45
48
50
60
72
75
80
90
100
120
144
150
180
200
225
240
300
360
400
450
600
720
900
1200
1800
3600
Summary Mode
You can use Summary Mode to reduce the system overhead from logging tables that produce
multiple rows per logging period. Summary Mode helps reduce overhead by combining data
from multiple rows into one or more summary rows based on specific criteria for each table.
For example, if you want to log information provided in the ResUsageSvpr table but do not
need data for each individual vproc, use Summary Mode to produce one row per vproc type
instead of one row per vproc.
The ResUsageSpma table, in comparison, provides node level summary of key fields from
most of the other resource usage tables. When more details are required than the
ResUsageSpma table provides then the next level of information is provided by using
Summary Mode logging for the table of interest. This helps minimize the cost of the data
logging.
22
You can select Summary Mode for each table individually. For details on how Summary Mode
affects that particular table, see the description for each table.
For example, for the ResUsageSvpr table in Summary Mode, all the individual vproc rows of
the same vproc type are combined into a single row. Since the data values are added together,
you need to divide the summary row data value by the number of rows that made up the
Summary Mode row to get the average per vproc. For example, divide the AMP summary row
data value by the number of AMPs on that node to determine the average value per AMP. A
similar computation needs to be done to derive the average value per PE from the summary
row data value.
Note: To determine the number of AMP, PEs, and all other vproc types on your system, you
can use the ResUsageSpma table or use the Vproc Manager utility.
Resource usage columns that represent a maximum statistic are not summed together. Instead
the maximum value from the rows is used. For example, the ResUsageSvpr table
MsgWorkQLenMax column in the Summary Mode row for the AMPs will contain the
maximum value from all the AMP rows that would have been logged in non-Summary Mode.
The columns that represent a minimum statistic are summarized by storing the minimum
value from all the constituent rows.
Summary Mode has either no effect on the values of the Housekeeping Columns or it is
specifically detailed in the description of each affected field.
To enable Summary Mode, see Enabling RSS Logging on page 27.
For more information on Summary Mode, see Summary Mode in Resource Usage Tables on
page 42.
23
Writing to the database adds to the system I/O load. On a heavily loaded system, this could
affect the production workload throughput.
The rows written to the database take up space. If this space is never reclaimed, it will
eventually grow to consume all available space in user DBC.
In an extremely loaded system, it is possible that the RSS can fall behind in writing data to
the database. Although it caches such data and eventually catches up if given a chance, the
RSS is forced to start discarding rows if the system load persists and its cache capacity is
exceeded.
The system configuration (vproc, CPU, host driver, logical devices or device controllers)
Operational Methods
To optimize performance and reduce the cost of resource usage logging on your system,
Teradata recommends that you:
1
Use Summary Mode to reduce the number of rows inserted into the resource usage tables
if Summary Mode data provides sufficient information for your needs.
Do not disable Active Row Filter Mode for the tables that it is by default enabled for (for
example, the ResUsageSps table). Active Row Filter Mode limits the number of rows
written to the database each logging period and minimizes the amount of system resources
used.
Avoid unnecessarily using or exhausting available disk space by doing the following:
Use the largest rates that provide enough detail information for your purposes.
Generally, you should use a logging rate no smaller than 60. The default rate is 600.
These values can be adjusted any time, regardless of whether the database system is
busy. New values take effect as soon as the adjustment command is issued. (For
example, with ctl, when you issue the WRITE command.)
24
Related Topics
For instructions on...
See...
25
26
CHAPTER 3
ctl
You can set various Teradata Database configuration settings using ctl. The RSS screen in ctl
allows you to specify the rates of resource usage data logging. For detailed information on
starting ctl and modifying the settings, see ctl in Utilities.
DBW
Note: For instructions on starting the Database Window, see Database Window (xdbw) in
Utilities.
To enable RSS logging from DBW
1
Set the Node Logging Rate using the database command below.
SET RESOURCE
LOGGING
number
LOG
1099D002
27
Specify the table you want to enable logging to using the database command below.
SET LOGTABLE
tablename
ON
ALL
OFF
FE0CA030
where tablename is the suffix part of ResUsageXxxx. For example, for the
DBC.ResUsageSpma table, the tablename would be Spma.
After the table is enabled for logging, you can log rows in Summary Mode. For more
information, see Summary Mode on page 22.
Note: To log rows in Summary Mode, you must enable the table specified in both the RSS
Table Logging Enable group and in the RSS Summary Mode Enable group.
4
(Optional) Enable Summary Mode on the table specified using the command below.
SET SUMLOGTABLE
tablename
ON
OFF
1095A010
Example
The following example shows you how to enable table logging and set the Logging rate using
the database commands in DBW. Suppose you want to enable the ResUsageShst table and set
the logging rate for 10 minutes (600 seconds). You would enter the following:
set logtable shst on
set resource log 600
28
Multiple-node
One-node
All-node
ByGroup
For any given line in the following table, the macros on that line report the same statistics for either multiple nodes, one node,
all nodes, or group nodes as indicated.
Description
Multinode Macro
ResAWTByAMP
ResAWTByNode
ResCPUByAMP
ResCPUByAMPOneNode
ResAmpCpuByGroup
ResCPUByPE
ResCPUByPEOneNode
ResPeCpuByGroup
ResCPUByNode
ResCPUOneNode
ResCpuByGroup
Host statistics
One-Node Macro
All-Node Macro
ByGroup Macro
ResAWT
ResHostOneNode
ResHostByLink
ResHostByGroup
ResLdvByNode
ResLdvOneNode
ResLdvByGroup
Memory management
ResMemMgmtByNode
ResMemMgmtOneNode
ResMemByGroup
ResNetByNode
ResNetOneNode
ResNetByGroup
ResNodeByNode
ResOneNode
ResPdskByNode
ResPdskOneNode
ResPsByNode
ResVdskByNode
ResNode
ResNodeByGroup
ResPdskByGroup
ResPsByGroup
ResVdskOneNode
ResVdskByGroup
29
Number of Parameters
Multiple node
Six
FromNode, ToNode
One node
Five
Node
All node
Four
Group
Four
For instructions on using these macros, see Macro Execution on page 31.
A single node specification, instead of the FromNode and ToNode parameters to specify a
range of nodes. The default is '001-01'.
Macro Execution
Function
Macro execution is illustrated in the following diagram. For details about each macro and its
resulting report, see Chapter 15: Resource Usage Macros.
MacroNameMultiNode
FromDate
EXEC
MacroNameAllNode
(
FromDate
MacroNameOneNode
,
ToTime
ToDate
,
FromTime
ToDate
FromDate
A
,
ToDate
FromDate
MacroNameByGroup
ToDate
FromNode
);
ToNode
B
FromTime
ToTime
,
C
FromTime
,
ToTime
Node
D
FromTime
ToTime
1099A004
where:
31
Syntax element
Description
MacroNameMultiNode
MacroNameAllNode
ResAwtByNode
ResCPUByAMP
ResCPUByPE
ResCPUByNode
ResLdvByNode
ResMemMgmtByNode
ResNetByNode
ResNodeByNode
ResPdskByNode
ResPsByNode
ResVdskByNode
MacroNameByGroup
FromDate
ResAmpCpuByGroup
ResCPUByGroup
ResHostByGroup
ResLdvByGroup
ResMemByGroup
ResNetByGroup
ResNodeByGroup
ResPeCpuByGroup
ResPdskByGroup
ResPsByGroup
ResVdskByGroup
ToDate
32
FromTime
Start time to report resource usage data. The format is hhmmss. The
default is 000000.
ToTime
End time to report resource usage data. The format is hhmmss. The
default is 999999.
Syntax element
Description
FromNode
ToNode
Ending range of nodes to report resource usage data. The format is 'nnnnn'. A hyphen must be included in the fourth character position. The
default is '999-99'.
Note: To identify the node ID numbers for your system, type
get config in the DBW Supervisor Window (Supvr).
Node
where:
Statement Element
Description
ResCPUByAMP
'2006-12-25'
'2006-12-31'
080000
240000
'123-02'
'125-04'
For information on using numeric values for dates, see SQL Data Types and Literals.
33
where:
Statement Element
Description
ResCPUByAMPOneNode
'2006-12-25'
'2006-12-31'
080000
240000
'123-02'
Node
For information on using numeric values for dates, see SQL Data Types and Literals.
where:
Statement Element
Description
ResCPUByAMPByGroup
'2006-12-25'
'2006-12-31'
080000
240000
For information on using numeric values for dates, see SQL Data Types and Literals.
34
logged on. (DISABLE ALL LOGONS prevents all users, including user DBC, from logging on
and also stops logging to the tables.)
To enable logons from:
Teradata Command Prompt, use the Start With Logons field of the Screen Debug menu of
ctl. For more information, see Control GDO Editor (ctl) in Utilities.
For more information on enabling and disabling logons, see Changing Logon States and
Restarting the System in Database Administration.
Purging Data
The RSS does not automatically delete data from the resource usage tables. You need to purge
data you no longer need on a regular basis.
You can directly remove old resource usage data by submitting SQL statements. For example,
use the following SQL statement to remove data more than seven days old from the
ResUsageSpma table:
DELETE FROM ResUsageSpma WHERE TheDate < CURRENT_DATE - 7;
For more information about the DELETE syntax, see Statement Syntax in SQL Data
Manipulation Language.
35
36
CHAPTER 4
Information_type
S = System-wide information
I = Internal Teradata Database information
Table_name
The nonunique primary index consists of TheDate, TheTime, and NodeID columns.
Of duplicate rows that will appear with the same timestamp during daylight savings
time.
Rows that have duplicate timestamps can be distinguished by the GmtTime column.
Because the primary index is nonunique, all resource usage tables are created as
MULTISET tables. This prevents the system from checking for duplicate rows.
37
For more information on MULTISET tables, see CREATE TABLE (Table Kind Clause) in
SQL Data Definition Language or Duplicate Rows in Tables in SQL Fundamentals.
Column Name
Mode
For descriptions of the different modes of data reporting, see About the Mode Column
on page 42.
Description
Data Type
For descriptions of the data types described in this manual, see SQL Data Types and
Literals.
The columns are grouped into either housekeeping columns or statistics columns. Statistic
columns are further grouped by category and subcategory as shown in the following table.
38
Column Name
Mode
Description
Data Type
Statistics columns which can be further categorized into subcategories. Categories and
subcategories may vary from table to table.
The following table shows the types of statistics subdivided into their respective subcategories.
Category
Subcategories
Description
File System
AutoCylPack
Block-level compression (BLC)
Cylinder Defragmentation Overhead
Cylinder Management Overhead
Events
Cylinder MiniCylPack Overhead
Cylinder Split and Migrate Overhead
File Segment (FSG) Cache Wait
FSG I/O
Data Block Creations
Data Block Merge
Data Block Prefetches
Data Block Update Operations
Data Segment Lock Requests
Depot
Master Index (MI)
Multi-Row Requests
Segments Acquired
Segments Released
Single-Row Requests
Synchronized Full Table Scans
Transient Journal Requests
Transient Journal Overhead
Write Ahead Logging (WAL)
39
Category
Subcategories
Description
General Concurrency
Control
Database Locks
Monitor Management
Channel Traffic
Channel Management
Controller Overhead
Memory
Memory Allocations
Memory Availability Management
Memory Pages
Memory Resident
Paging
Task Context Segment Usage
Logical Device
Net
40
Category
Subcategories
Description
Process Scheduling
Reserved
None
Spare
None
TASM
Transient Journal
Management
Purge Overhead
User Commands
User command
User command Arrival and
Departure
Allocation
I/O
Migration
Node Agent
Invalid Columns
Some of the resource usage table columns described in this manual are not currently valid.
These columns are shaded in gray. For example:
Column Name
Mode
Description
Data Type
SampleColumn
track
FLOAT
41
count
max
report the maximum value recorded during the logging period. Most
of the max columns have a max suffix in the column name (for
example, IoRespMax).
min
report the minimum value recorded during the logging period. The
min columns have a min suffix in the column name (for example,
AvailableMin).
track
show the value of a countable item achieved at the end of the current
logging period. An example of a countable item is a queue length.
Count
Max
Min
42
Track
43
44
CHAPTER 5
ResUsageScpu Table
This resource usage table contains resource usage information specific to the CPUs within the
nodes. The ResUsageScpu table includes resource usage data for available system-wide,
CPU information.
Note: This table is created as a MULTISET table. For more information see Relational
Primary Index on page 37.
Housekeeping Columns
Relational Primary Index Columns
These columns, taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
45
Column Name
Mode
Description
Data Type
CPUId
n/a
Identifies the CPU within this node. The values are 0 through
NCPUs-1.
SMALLINT
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
SummaryFlag
n/a
Summarization status of this row. Possible values are 'N' if the row
is a non-summary row, and 'S if the row is a summary row.
CHAR (1)
Active
max
FLOAT
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
Statistics Columns
Process Scheduling CPU Utilization Columns
These columns count all CPU activities, including activities performed for virtual processors.
The CPU utilization columns are aggregates representing all CPUs on the node. CPU
utilization by user code is further subdivided by the vproc tables.
46
Theoretically, the values of these four columns, for any given interval, account for total CPU
time on the node. That is, these columns should total to 100 * Secs * number of CPUs on the
node, since each CPU is always in exactly one of these four states. In practice, there is
occasionally a very small plus or minus difference from this theoretical total.
Column Name
Mode
Description
Data Type
CPUIdle
count
Time in centiseconds the CPU is idle and not waiting for I/O.
FLOAT
CPUIoWait
count
FLOAT
Note: This represents another variety of Idle, since the CPU is only
recorded as being in this state if there are no processes eligible for
execution. This is because if there were any such process, the CPU
would be immediately dispatched for that process.
CPUUServ
count
FLOAT
CPUUExec
count
FLOAT
Reserved Columns
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (1)
Reserved2
n/a
CHAR (2)
Summary Mode
When Summary Mode is active for tables in this group, one row is written to the database for
each node, summarizing all CPUs per node, for each log interval.
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
IF the SummaryFlag column value is
'S'
in Summary Mode.
'N'
normally.
47
Spare Columns
The ResUsageScpu table spare fields are named Spare00 through Spare04, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare field currently being used.
Column Name
Description
Spare00
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
48
CHAPTER 6
ResUsageSpma Table
The ResUsageSpma table includes resource usage data for available system-wide information.
You can use the ResUsageSpma table to identify node-level skew by comparing maximum
CPU usage to the average CPU consumed across all nodes.
The ResUsageSpma table is similar to the ResUsageIpma table. For information on this table,
see Appendix B: ResUsageIpma Table.
Note: Summary Mode is not applicable to the ResUsageSpma table.
This table is created as a MULTISET table. For more information, see Relational Primary
Index on page 37.
Note: Always use the views provided in Chapter 14: Resource Usage Views to access the data
rather than accessing the resource usage table directly.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
49
(AMP), Type 2 (PE), Type 3 (GTW), Type 4 (RSG), and Type 5 (TVS) vprocs exist; vproc
types 6 through 7 are not currently used.
Column Name
Mode
Description
Data Type
GmtTime
n/a
FLOAT
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5100C, 5600C or 5555H.
CHAR(8)
TheTimestamp
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CentiSecs
n/a
INTEGER
n/a
SMALLINT
n/a
SMALLINT
CODFactor
n/a
SMALLINT
n/a
SMALLINT
n/a
SMALLINT
Vproc2
n/a
SMALLINT
Vproc3
n/a
SMALLINT
Vproc4
n/a
SMALLINT
Vproc5
n/a
SMALLINT
50
Column Name
Mode
Description
Data Type
Vproc6
n/a
SMALLINT
n/a
SMALLINT
n/a
CHAR(4)
VprocType2
n/a
CHAR(4)
VprocType3
n/a
CHAR(4)
VprocType4
n/a
CHAR(4)
VprocType5
n/a
CHAR(4)
VprocType6
n/a
CHAR(4)
n/a
CHAR(4)
n/a
INTEGER
NodeNormFactor
n/a
INTEGER
max
FLOAT
NetSamples
count
FLOAT
51
Statistics Columns
File System Columns
Segments Acquired Columns
These columns identify the total disk memory segments acquired by the File System during
the log period.
For more information, see Segment Acquires Columns in the Chapter 13: ResUsageSvpr
Table.
Column Name
Mode
Description
Data Type
FileAcqKB
count
FLOAT
count
FLOAT
FileAcqReadKB
count
FLOAT
FileAcqReads
count
FLOAT
FileAcqs
count
FLOAT
count
FLOAT
Mode
Description
Data Type
FileRels
count
FLOAT
FileRelsOther
count
FLOAT
FileRelKB
count
FLOAT
52
count
FLOAT
Column Name
Mode
Description
Data Type
FileWriteKB
count
FLOAT
count
FLOAT
Mode
Description
Data Type
FilePreKB
count
Sum of the sizes of data blocks logically loaded with data prefetches
(for example, either cylinder reads or individual block reads).
FLOAT
For cylinder reads, this column does not include the disk sectors in
between the loaded data blocks.
Note: Use the views provided in Chapter 14: Resource Usage
Views instead of accessing the data for this column directly from
this table.
FilePreReadKB
count
FLOAT
For cylinder reads, this column includes the disk sectors in between
the loaded data blocks.
Note: This column may produce a negative number due to
overflow. To avoid this issue, see ResSpmaView on page 173 to
access the ResUsageSpma table data.
53
Column Name
Mode
Description
Data Type
FilePreReads
count
FLOAT
FilePres
count
FLOAT
Mode
Description
Data Type
FileLockBlocks
count
FLOAT
FileLockDeadlocks
count
FLOAT
FileLockEnters
count
FLOAT
Depot Columns
These columns summarize the physical writes to the Depot used to protect in-place
modifications.
Column Name
Mode
Description
Data Type
FileLargeDepotBlocks
count
FLOAT
54
count
FLOAT
Column Name
Mode
Description
Data Type
FileSmallDepotWrites
count
FLOAT
Mode
Description
Data Type
DBLockBlocks
count
FLOAT
DBLockDeadlocks
count
FLOAT
Blocks
Messages
KB
Blocks are made up of some amount of variable sized messages. ReadKB and WriteKB identify
the KB involved in the traffic.
For host controller columns that provide overhead and management information, see
Chapter 8: ResUsageShst Table for details.
Column Name
Mode
Description
Data Type
HostBlockReads
count
FLOAT
HostBlockWrites
count
FLOAT
HostMessageReads
count
FLOAT
HostMessageWrites
count
FLOAT
HostReadKB
count
FLOAT
HostWriteKB
count
FLOAT
55
Memory Columns
Memory Allocation Column
Column Name
Mode
Description
Data Type
MemVprAllocKB
track
Change in memory.
FLOAT
Mode
Description
Data Type
MemFreeKB
track
FLOAT
Mode
Description
Data Type
MemCtxtPageReads
count
FLOAT
MemCtxtPageWrites
count
FLOAT
MemTextPageReads
count
FLOAT
56
Net Columns
Point-to-Point Net Traffic Columns
These columns identify the number (Reads, Writes) and amount (ReadKB, WriteKB) of input
and output messages passing through the Teradata Database nets through point-to-point
(1:1) methods (PtP). It excludes TCP/IP traffic.
Column Name
Mode
Description
Data Type
MsgPtPReadKB
count
FLOAT
MsgPtPReads
count
FLOAT
MsgPtPWriteKB
count
FLOAT
MsgPtPWrites
count
FLOAT
Mode
Description
Data Type
MsgBrdReadKB
count
FLOAT
MsgBrdReads
count
FLOAT
MsgBrdWriteKB
count
FLOAT
MsgBrdWrites
count
FLOAT
57
Column Name
Mode
Description
Data Type
NetMsgPtpWriteKB
count
FLOAT
NetMsgPtpWrites
count
FLOAT
NetMsgBrdWriteKB
count
FLOAT
NetMsgBrdWrites
count
FLOAT
NetMsgPtpReadKB
count
FLOAT
NetMsgPtpReads
count
FLOAT
NetMsgBrdReadKB
count
FLOAT
NetMsgBrdReads
count
FLOAT
NetRxKBBrd
count
FLOAT
NetRxKBPtP
count
FLOAT
NetTxKBBrd
count
FLOAT
NetTxKBPtP
count
FLOAT
Mode
Description
Data Type
NetTxConnected
count
FLOAT
NetRxConnected
count
FLOAT
NetTxRouting
count
FLOAT
NetTxIdle
count
FLOAT
NetRxIdle
count
FLOAT
58
Column Name
Mode
Description
Data Type
NetBackoffs
count
FLOAT
NetHWBackoffs
count
FLOAT
NetRxCircBrd
count
FLOAT
NetRxCircPtp
count
FLOAT
NetTxCircBrd
count
FLOAT
NetTxCircHPBrd
count
FLOAT
NetTxCircHPPtP
count
FLOAT
NetTxCircPtp
count
FLOAT
Mode
Description
Data Type
NetChanInUse
track
FLOAT
NetChanInUseMax
max
FLOAT
MsgChnLastDone
count
FLOAT
Note: The last AMP to finish an operation may send a last done
broadcast message indicating the work is done for this step. This is
used in tracking down the slowest node or AMP in the system. A
node or AMP that has more last done messages than the others
could be a bottleneck in the system performance.
NetGroupInUse
track
FLOAT
NetGroupInUseMax
max
FLOAT
NetSemInUse
track
FLOAT
NetSemInUseMax
max
FLOAT
59
Mode
Description
Data Type
NetMrgRxKB
count
FLOAT
NetMrgRxRows
count
FLOAT
NetMrgTxKB
count
FLOAT
NetMrgTxRows
count
FLOAT
Mode
Description
Data Type
ProcBlocked
track
FLOAT
ProcReady
track
FLOAT
ProcReadyMax
max
FLOAT
Block involves a process that is logically idle, waiting to receive work on its primary
mailbox, or for a timer to elapse. This block does not affect throughput.
Block involves a process that has work to do but is being prevented from proceeding by
some circumstance like a segment lock or flow control. This kind of block does affect
throughput.
The first kind of block is represented by column ProcPendNetRead; the second kind is
represented by the remaining columns described here.
60
Column Name
Mode
Description
Data Type
ProcPendDBLock
track
FLOAT
ProcPendFsgLock
track
FLOAT
ProcPendFsgRead
track
FLOAT
ProcPendFsgWrite
track
FLOAT
ProcPendMemAlloc
track
FLOAT
ProcPendMisc
track
FLOAT
ProcPendMonitor
track
FLOAT
ProcPendMonResume
track
FLOAT
ProcPendNetRead
track
FLOAT
track
FLOAT
ProcPendQnl
track
FLOAT
ProcPendSegLock
track
FLOAT
Mode
Description
Data Type
ProcBlksFsgRead
count
FLOAT
ProcBlksFsgWrite
count
FLOAT
ProcBlksDBLock
count
FLOAT
ProcBlksFsgLock
count
FLOAT
ProcBlksTime
count
FLOAT
61
Column Name
Mode
Description
Data Type
ProcBlksMemAlloc
count
FLOAT
ProcBlksMisc
count
FLOAT
ProcBlksMonitor
count
FLOAT
ProcBlksMonResume
count
FLOAT
ProcBlksMsgRead
count
FLOAT
ProcBlksNetThrottle
count
FLOAT
ProcBlksQnl
count
FLOAT
ProcBlksSegLock
count
FLOAT
Mode
Description
Data Type
ProcWaitDBLock
count
FLOAT
ProcWaitFsgLock
count
FLOAT
ProcWaitFsgRead
count
FLOAT
ProcWaitFsgWrite
count
FLOAT
ProcWaitMemAlloc
count
FLOAT
ProcWaitMisc
count
FLOAT
ProcWaitMonitor
count
FLOAT
ProcWaitMonResume
count
FLOAT
ProcWaitMsgRead
count
FLOAT
62
Column Name
Mode
Description
Data Type
ProcWaitNetThrottle
count
FLOAT
ProcWaitPageRead
count
FLOAT
ProcWaitTime
count
FLOAT
ProcWaitQnl
count
FLOAT
ProcWaitSegLock
count
FLOAT
The NodeNormFactor is the per node normalization factor. This is related to the NodeType
value reported in this resource usage table. The normalization factor modifies the reported
CPU times to the equivalent time of a specified virtual processor. This does not add up to the
reported CPU time.
To calculate the non-normalized total CPU time, use the following formula:
CentiSecs x NCPUs = CPUIdle + CPUIoWait + CPUUServ + CPUUExec
Note: The CPU time returned in centiseconds is more accurate than those returned in
seconds.
Column Name
Mode
Description
Data Type
CPUIdle
count
Time in centiseconds CPUs are idle and not waiting for I/O.
FLOAT
CPUIoWait
count
FLOAT
63
Column Name
Mode
Description
Data Type
CPUUExec
count
FLOAT
count
FLOAT
TASM Columns
AMP Worker Task Columns
These columns report statistics about the AMP Worker Tasks.
For more information about the ResUsageSawt table and columns, see Chapter 7:
ResUsageSawt Table.
Column Name
Mode
Description
Data Type
AwtFlowControlled
track
FLOAT
AwtFlowCtlCnt
count
Number of times this log period that the node entered the flow
control state from a non-flow controlled state.
FLOAT
AwtInuse
track
FLOAT
AwtInuseMax
max
Peak number of AWTs for any one of the AMPs on the node.
FLOAT
Note: AwtInuseMax is not the peak number in use on the node for
all AMPs at any one point in time.
AwtInuseMax represents the largest number of AWTs in use on any
single AMP.
64
Column Name
Mode
Description
Data Type
PSNumRequests
count
FLOAT
PSQWaitTime
count
FLOAT
count
FLOAT
Teradata VS Columns
These columns identify pdisk I/O statistics that are reported by the Node Agent.
Column Name
Mode
Description
Data Type
TvsReadCnt
count
FLOAT
max
FLOAT
TvsReadRespTot
count
FLOAT
count
FLOAT
max
FLOAT
TvsWriteRespTot
count
FLOAT
Mode
Description
Data Type
CmdDDLStmts
count
FLOAT
65
Column Name
Mode
Description
Data Type
CmdDeleteStmts
count
FLOAT
CmdInsertStmts
count
FLOAT
CmdSelectStmts
count
FLOAT
CmdUpdateStmts
count
FLOAT
CmdUtilityStmts
count
FLOAT
CmdOtherStmts
count
FLOAT
Mode
Description
Data Type
CmdStmtErrors
count
FLOAT
CmdStmtFailures
count
FLOAT
CmdStmtSuccesses
count
FLOAT
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (2)
Reserved Column
Spare Columns
The ResUsageSpma table spare fields are named Spare00 through Spare19, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare fields currently being used.
66
Column Name
Description
Spare02
Number of I/Os completed on data blocks that were marked for contiguous
write.
You can get the average number of data blocks combined into a single I/O
by using the calculation:
FileContigWBlocks / FileContigWIOs
Note: This field will be converted to the FileContigWIOs column in
Teradata Database 15.0. You can access resource usage data for this field
using the FileContigWIOs column name in ResSpmaView view. For details,
see ResSpmaView on page 173.
Spare03
Spare04
Total size, in KB, of the data blocks that were marked for contiguous write.
You can get the average size of the writes that were candidates for being
combined into one single I/O by using the calculation:
FileContigWKB /FileContigWBlocks
Note: This field will be converted to the FileContigWKB column in
Teradata Database 15.0. You can access resource usage data for this field
using the FileContigWKB column name in the ResSpmaView view. For
details, see ResSpmaView on page 173.
Spare05
Number of times the TDAT Control Group (cgroup) query is throttled due
to the WM CPU COD. A cgroup provides a mechanism for aggregating or
partitioning sets of tasks, and all its future children, into hierarchical
groups with a specialized behavior.
Note: This field will be converted to the CpuThrottleCount column in
Teradata Database 15.0. You can access resource usage data for this field
using the CpuThrottleCount column name in the ResSpmaView view. For
details, see ResSpmaView on page 173.
Spare06
Time, in centiseconds, that the TDAT cgroup query is throttled due to the
WM CPU COD.
The data is reported to RSS in nanoseconds. During the data gathering, the
RSS converts the data to centiseconds.
Note: This field will be converted to the CpuThrottleTime column in
Teradata Database 15.0. You can access resource usage data for this field
using the CpuThrottleTime column name in the ResSpmaView view. For
details, see ResSpmaView on page 173.
67
Column Name
Description
Spare07
Sum of the full potential input or output token allocations from all devices
attached to the node.
The input or output token allocations are not limited by the IO_COD
setting.
The value is computed by summing the cod_full_potential_iota field for
each device in the /proc/tdmeter/disk_cod_stats file.
Note: This field will be converted to the FullPotentialIota column in
Teradata Database 15.0. You can access resource usage data for this field
using the FullPotentialIota column name in the ResSpmaView view. For
details, see ResSpmaView on page 173.
Spare08
Spare09
Sum of used input or output token allocations from all devices attached to
the node.
The value is computed by summing the cod_used_iota field for each device
in the /proc/tdmeter/disk_cod_stats file.
Note: This field will be converted to the UsedIota column in Teradata
Database 15.0. You can access resource usage data for this field using the
UsedIota column name in the ResSpmaView view. For details, see
ResSpmaView on page 173.
Spare10
Current size of the VH cache in KB. This field is populated by the FSG
subsytem.
Note: This field will be converted to the VHCacheKB column in Teradata
Database 15.0. You can access resource usage data for this field using the
VHCacheKB column name in the ResSpmaView view. For details, see
ResSpmaView on page 173.
For more information about VH cache, see Glossary on page 261.
Spare11
68
Column Name
Description
Spare12
SpareInt
PM I/O COD value in whole percent values for the entire system. For
example, a value of 50 represents a PM I/O COD value of 50%.
The value is set to 100 if the PM I/O COD is disabled.
Note: This field will be converted to the PM_IO_COD column in Teradata
Database 15.0. You can access resource usage data for the SpareInt field
using the PM_IO_COD column name in the ResSpmaView view. For
details, see ResSpmaView on page 173.
Related Topics
For more information about the different type of data fields, see About the Mode Column
on page 42.
69
70
CHAPTER 7
ResUsageSawt Table
The current and maximum number of AMP Worker Tasks in use by work type
Report the pattern in AMP Worker Task usage for standard or expedited work types.
Monitor the length of each message queue of the AMP, the queue which holds work
messages from the Dispatcher that are waiting to get an AMP Worker Task.
Identify if one or more AMPs have entered the state of flow control, and how often, during
the logging interval.
If you enable table logging, the data is written to the database once for each log period.
To consolidate and summarize the total number of rows written to the database, you can
enable Summary Mode. For details, see Summary Mode on page 76.
Note: This table is created as a MULTISET table. For more information see Relational
Primary Index on page 37.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
71
Column Name
Mode
Description
Data Type
NodeID
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR (8)
VprId
n/a
Identifies the vproc number. All Vprocs in this table are AMPS so
there is no VprType column provided. In Summary Mode, this
column is -1.
INTEGER
Secs
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
SummaryFlag
n/a
CHAR (1)
Active
max
FLOAT
72
Column Name
Mode
Description
Data Type
TheTimestamp
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
Statistics Columns
TASM Columns
AMP Worker Task Columns
These columns report statistics about the AMP Worker Tasks.
Column Name
Mode
Description
Data Type
Available
track
Number of unreserved AMP Worker Tasks from the pool that are
not being used at the end of the interval.
FLOAT
min
FLOAT
track
Current setting for AMP Worker Task (for example, 80, 100, or so
on) in the DBS Control MaxLoadAWT field. For more information,
see MaxLoadAWT in Utilities.
FLOAT
FlowControlled
track
FLOAT
count
Number of times during the log period that the system entered the
flow control state from a non-flow controlled state.
FLOAT
73
Column Name
Mode
Description
Data Type
FlowCtlTime
count
FLOAT
InuseMax
max
FLOAT
MailBoxDepth
track
Current depth of the AMP work mailbox at the end of the period.
FLOAT
WorkTypeInuse00 WorkTypeInuse15
track
Current number of AMP Worker Tasks in use during the log period
for each work type for the VprId vproc.
FLOAT
max
FLOAT
Characteristics of the system during skew conditions or when there are AMP Worker Task
shortages.
Use the tdntune utility to determine the settings for Flow Control. For information on
Expedited Allocation Groups, see Priority Scheduler (schmon) chapter of Utilities.
Column Name
Mode
Description
Data Type
MSGWORKNEW
n/a
Used for new work requests. This work type has the lowest number,
which means it is queued last. It also has the effect of honoring
secondary requests needed to complete existing work items before
any new ones are started.
n/a
74
Column Name
Mode
Description
Data Type
MSGWORKONE
n/a
First level secondary work items. Numbered work types are used for
secondary work items. For example, work type one
(MSGWORKONE) is used for secondary work requests spawned by
new work items; work type two (MSGWORKTWO) requests are
spawned from work type one requests and queued for delivery
before work type one requests; and so on. Each numbered work
type is queued for delivery just before the one from which it is
spawned.
n/a
MSGWORKTWO
n/a
n/a
MSGWORKTHREE
n/a
n/a
MSGWORKFOUR
n/a
n/a
MSGWORKFIVE
n/a
n/a
n/a
n/a
MSGWORKSEVEN
n/a
n/a
MSGWORKEIGHT
n/a
n/a
MSGWORKNINE
n/a
n/a
MSGWORKTEN
n/a
n/a
MSGWORKELEVEN
n/a
Not used.
n/a
MSGWORKABORT
n/a
Used for transaction abort requests. This work type has a higher
value than the numbered work types so that abort requests are
honored before beginning any additional work item for the
transactions being aborted.
n/a
n/a
n/a
n/a
Used for messages that do not fall within the standard work type
hierarchy. This work type is delivered before any of the work items
described above.
n/a
75
Column Name
Mode
Description
Data Type
MSGWORKCONTROL
n/a
Used for system control messages. These are delivered before any
other kind of message.
n/a
Reserved Column
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (1)
Summary Mode
When Summary Mode is active for the ResUsageSawt table, one row is written to the database
for each node in the system for each log interval. The AMP Worker Task data will be combined
for all the AMP vprocs on the node.
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
IF the SummaryFlag column value is
'S'
in Summary Mode.
'N'
normally.
Spare Columns
The ResUsageSawt table spare fields are named Spare00 through Spare19, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare field currently being used.
76
Column Name
Description
Spare00
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
77
78
CHAPTER 8
ResUsageShst Table
Contains resource usage information specific to the host channels and TCP/IP networks
communicating with Teradata Database.
Note: This table is created as a MULTISET table. For more information see Relational
Primary Index on page 37.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
79
Column Name
Mode
Description
Data Type
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
VprId
n/a
INTEGER
n/a
INTEGER
n/a
CHAR(8)
80
Column Name
Mode
Description
Data Type
IPaddr
n/a
INTEGER
n/a
SMALLINT
CentiSecs
n/a
INTEGER
NominalSecs
n/a
SMALLINT
SummaryFlag
n/a
CHAR (1)
Active
max
FLOAT
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
81
Statistics Columns
Host Controller Columns
Channel Management Columns
These columns identify overhead of channel management.
Column Name
Mode
Description
Data Type
HostReadFails
count
FLOAT
count
FLOAT
Blocks
Messages
KB
Blocks are made up of some amount of variable sized messages. ReadKB and WriteKB identify
the KB involved in the traffic.
For information on the ResUsageSpma table channel and TCP/IP network traffic columns, see
Host Controller Channel and TCP/IP Network Traffic Columns on page 55.
Column Name
Mode
Description
Data Type
HostBlockReads
count
FLOAT
HostBlockWrites
count
FLOAT
HostMessageReads
count
FLOAT
HostMessageWrites
count
FLOAT
HostReadKB
count
FLOAT
HostWriteKB
count
FLOAT
82
Statements. These columns are subdivided into the various statement types.
Column Name
Mode
Description
Data Type
CmdAlterStmts
count
FLOAT
CmdArchUtilityStmts
count
FLOAT
CmdCreateStmts
count
FLOAT
CmdDeleteStmts
count
FLOAT
CmdGrantStmts
count
FLOAT
CmdInsertStmts
count
FLOAT
CmdLoadUtilityStmts
count
FLOAT
CmdOtherStmts
count
FLOAT
CmdRequests
count
FLOAT
CmdSelectStmts
count
FLOAT
CmdTransactions
count
FLOAT
CmdUpdateStmts
count
FLOAT
Mode
Description
Data Type
CmdStmtErrors
count
FLOAT
CmdStmtFailures
count
FLOAT
CmdStmtSuccesses
count
FLOAT
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (5)
Reserved Column
83
Summary Mode
When Summary Mode is active for the ResUsageShst table, one row is written to the database
for each type of host (network or channel-connected) on each node in the system,
summarizing the hosts of that type on that node.
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
IF the SummaryFlag column value is
'S'
in Summary Mode.
'N'
normally.
Spare Columns
The ResUsageShst table spare fields are named Spare00 through Spare09, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare field currently being used.
Column Name
Description
Spare00
WM CPU COD value in one tenths of a percent. For example, a value of 500
represents a WM CPU COD value of 50.0%.
The value is set to 1000 if the WM CPU COD is disabled.
Note: This field will be converted to the WM_CPU_COD column in Teradata
Database 15.0. You can access resource usage data for this field using the
WM_CPU_COD column name in the ResShstView view. For details, see
ResShstView on page 170
Note: WM CPU COD is not supported on SLES 10. Its value is set to 1000 on
SLES 10.
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
84
CHAPTER 9
ResUsageSldv Table
The ResUsageSldv table contains resource usage information for system-wide, logical device
information. Statistics from this table are collected from the storage devices.
Note: This table is created as a MULTISET table. For more information see Relational
Primary Index on page 37.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
85
Column Name
Mode
Description
Data Type
CtlId
n/a
Controller number.
INTEGER
n/a
BYTE(4)
n/a
Type of logical device. The value is either DISK for database disk or
SDSK for system disk.
CHAR(4)
Secs
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
SummaryFlag
n/a
CHAR (1)
Active
max
FLOAT
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
86
Column Name
Mode
Description
Data Type
CODFactor
n/a
SMALLINT
Statistics Columns
Logical Device Columns
These columns identify individual logical device activities for storage components connected
through the buses.
The storage device statistics are calculated only on what can be derived from statistics
collected by the operating system since the disk array controllers do not provide us with any
useful data for resource usage.
The logical device columns are grouped into several subcategories as shown below.
Input and Output Traffic Columns
These columns represent the number and amount, in KB, of data read from or written to the
logical device.
Column Name
Mode
Description
Data Type
LdvReadKB
count
FLOAT
LdvReads
count
FLOAT
LdvWriteKB
count
FLOAT
LdvWrites
count
FLOAT
Mode
Description
Data Type
LdvReadRespMax
max
FLOAT
87
Column Name
Mode
Description
Data Type
LdvWriteRespMax
max
FLOAT
count
FLOAT
LdvWriteRespTot
count
FLOAT
ReadActiveTotal
count
FLOAT
count
FLOAT
Mode
Description
Data Type
QReadLength
track
FLOAT
track
FLOAT
count
FLOAT
count
FLOAT
LdvOutReqTime
count
FLOAT
88
Reserved Column
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (1)
Summary Mode
When Summary Mode is active for the ResUsageSldv table, the following rows are written to
the database for each node in the system for each log interval:
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
IF the SummaryFlag column value is
'S'
in Summary Mode.
'N'
normally.
Spare Columns
The ResUsageSldv table spare fields are named Spare00 through Spare04, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare fields currently being used.
89
Column Name
Description
Spare00
Spare01
Spare02
Spare03
Spare04
SpareInt
90
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
91
92
CHAPTER 10
ResUsageSpdsk Table
Note: This table is created as a MULTISET table. For more information see Relational
Primary Index on page 37.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
93
Column Name
Mode
Description
Data Type
PdiskGlobalId
n/a
Identifies the pdisk in the system. Each pdisk in the system has a
global ID which uniquely identifies the pdisk in the system. If a
pdisk is connected to the nodes in a clique, all the nodes in that
clique see the same pdisk global ID associated with that pdisk.
INTEGER
n/a
CHAR(4)
n/a
BYTE(4)
For both DISK and SSD pdisks, the pdisk device ID can be a
major/minor number. The major number bit positions are
20-31 and the minor number is in bits 0-19. The format is
similar to the one shown below.
(MMMM MMMM MMMM mmmm mmmm mmmm mmmm mmmm)
For FILE pdisk, the pdisk device ID is 0xFFFFFFFF.
In Summary Mode, the pdisk device ID is 0xFFFFFFFF.
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
Secs
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
SummaryFlag
n/a
CHAR (1)
Active
max
FLOAT
94
Column Name
Mode
Description
Data Type
TheTimestamp
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
Statistics Columns
Teradata VS Columns
Allocation Columns
These columns identify the allocation statistics reported by the Allocator process.
Column Name
Mode
Description
Data Type
ExtAllocHot
count
FLOAT
ExtAllocNonPacing
count
FLOAT
ExtAllocStatic
count
FLOAT
ExtAllocSystemPacing
count
FLOAT
ExtAllocTotal
count
FLOAT
count
FLOAT
95
Mode
Description
Data Type
ConcurrentMax
count
FLOAT
ConcurrentReadMax
max
FLOAT
ConcurrentWriteMax
max
FLOAT
MigrationBlockedIos
count
FLOAT
ReadCnt
count
FLOAT
ReadKB
count
FLOAT
ReadRespMax
max
FLOAT
ReadRespSq
count
FLOAT
ReadRespTot
count
FLOAT
WriteCnt
count
FLOAT
WriteKB
count
FLOAT
WriteRespMax
max
FLOAT
WriteRespSq
count
FLOAT
WriteRespTot
count
FLOAT
Migration Columns
Note: The ResUsageSpdsk table migration columns are populated only in Teradata VS. For
more information, see Teradata Virtual Storage.
The migration columns identify the number of cylinders that migrated to a different location
on a device as well as the time, in centiseconds, of all migration I/Os used, incurred, or saved
during the log period.
Note: Each allocation is for a cylinder size worth of data, also known internally in the
allocator as an extent. Thus the column names begin with Ext for extent.
96
Column Name
Mode
Description
Data Type
ExtMigrateFaster
count
FLOAT
count
FLOAT
ExtMigrateIOTimeCost
count
FLOAT
ExtMigrateIOTimeImprove
count
FLOAT
count
FLOAT
ExtMigrateWriteRespTot
count
FLOAT
ExtMigrateTotal
count
FLOAT
97
Reserved Column
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (1)
Summary Mode
When Summary Mode is active for the ResUsageSpdsk table, rows are summarized into a
single row for each pdisk type (for example, DISK, FILE, or SSD) for each node in the system
per log interval.
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
IF the SummaryFlag column value is
'S'
in Summary Mode.
'N'
normally.
Spare Columns
The ResUsageSpdsk table spare fields are named Spare00 through Spare19, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare fields currently being used.
Column Name
Description
Spare00
98
Column Name
Description
Spare01
SpareInt
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
99
100
CHAPTER 11
ResUsageSps
Get a historical view of workload behavior for utilities and SQL operations.
Determine the number of workload requests that are using AMP Worker Task (see the
NumRequests column for details).
Examine queue wait and service time numbers to find backed up queries and allocation
groups.
If you are using the ResUsageSps table on SLES 10, this allows you to validate the relative
weights given to workloads.
For a complete description of the Priority Scheduler and its components, see Priority
Scheduler (schmon) chapter in Utilities.
If you are running SLES 10 or earlier ...
For more information on the PGId and pWDid columns, see the RowIndex1 column.
Note: This table is created as a MULTISET table.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
101
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
PPId
n/a
BYTEINT
VprType
n/a
Type of vproc (for example, AMP, PE, and MISC). Rows reported as
vproc type of MISC contain data for all vproc types other than the
AMP and PE vproc types.
CHAR(4)
AMPCount
n/a
SMALLINT
102
Column Name
Mode
Description
Data Type
RowIndex1
n/a
SMALLINT
track
WD ID.
FLOAT
n/a
SMALLINT
n/a
NominalSecs
n/a
INTEGER
SMALLINT
NCPUs
n/a
SMALLINT
max
FLOAT
103
Column Name
Mode
Description
Data Type
TheTimestamp
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
track
FLOAT
Only one VpId is associated with a pWDid and VprType row at any
point in time. There can be multiple pWDid values associated with
a VPId.
Note: This column is valid on SLES 11 or later systems only.
Statistics Columns
TASM Columns
Monitor WD Columns
The Monitor WD columns provide RSS data to the following System PMPC APIs:
MONITOR WD request
MonitorWD function
Mode
Description
Data Type
ActiveSessions
track
FLOAT
AGId
track
FLOAT
104
Column Name
Mode
Description
Data Type
RelWgt
track
FLOAT
RelWgt is the average relative weight of active online nodes (that is,
divide the sum of the non-zero RelWgt by the count of online
nodes with the non-zero RelWgt).
Note: This column is valid on SLES 10 or earlier systems only.
CPURunDelay
count
FLOAT
count
FLOAT
The values are reported under VprType MISC because the summed
usage from PE and AMP go toward the usage that trips the decay.
The values reported from either PE or AMP usage alone would not
be accurate.
Note: DecayLevel1IO is used for Timeshare WDs only. For a
description of this workload management method, see
Glossary.
Note: This column is valid on SLES 11 or later systems only.
DecayLevel2IO
count
FLOAT
The values are reported under VprType MISC because the summed
usage from PE and AMP go toward the usage that trips the decay.
The values reported from either PE or AMP usage alone would not
be accurate.
Note: DecayLevel2IO is used for Timeshare WDs only. For a
description of this workload management method, see Glossary.
Note: This column is valid on SLES 11 or later systems only.
105
Column Name
Mode
Description
Data Type
DecayLevel1CPU
count
FLOAT
The values are reported under VprType MISC because the summed
usage from PE and AMP go toward the usage that trips the decay.
The values reported from either PE or AMP usage alone would not
be accurate.
Note: DecayLevel1CPU is used for Timeshare WDs only. For a
description of this workload management method, see Glossary.
Note: This column is valid on SLES 11 or later systems only.
DecayLevel2CPU
count
FLOAT
The values are reported under VprType MISC because the summed
usage from PE and AMP go toward the usage that trips the decay.
The values reported from either PE or AMP usage alone would not
be accurate.
Note: DecayLevel2CPU is used for Timeshare WDs. For a
description of this workload management method, see Glossary.
Note: This column is valid on SLES 11 or later systems only.
IOBlks
count
FLOAT
count
FLOAT
count
FLOAT
count
FLOAT
count
FLOAT
count
FLOAT
count
FLOAT
106
count
FLOAT
Column Name
Mode
Description
Data Type
NumTasks
track
FLOAT
count
FLOAT
max
FLOAT
ServiceTime
count
FLOAT
max
FLOAT
TacticalExceptionIO
count
FLOAT
The values are reported under VprType MISC because the summed
usage from PE and AMP go toward the usage that trips the
exception. The value reported from either PE or AMP usage alone
would not be accurate.
An exception, used only for Tactical WDs, is created for each
Tactical WD. For a description of this WD Share workload
management method, see Glossary.
Note: This column is valid on SLES 11 or later systems only.
107
Column Name
Mode
Description
Data Type
TacticalExceptionCPU
count
FLOAT
The values are reported under VprType MISC because the summed
usage from PE and AMP go toward the usage that trips the
exception. The value reported from either PE or AMP usage alone
would not be accurate.
Note: TacticalExceptionCPU is used for Tactical WDs only. For a
description of this workload management method, see Glossary.
Note: This column is valid on SLES 11 or later systems only.
WaitIO
count
FLOAT
count
Time for all messages not yet delivered at the end of each reporting
period. This column is related to the QWaitTime column and
represents a running total of delays attributed to the tasks that still
have not been assigned an AMP Worker Task within this interval.
When the task does receive an AMP Worker Task in a later interval,
the time attributed here is counted again within QWaitTime of the
interval where it was assigned an AMP Worker Task.
FLOAT
WorkMsgReceiveDelayCnt
count
Number of messages that are still waiting for AMP Worker Tasks at
the end of each reporting period.
FLOAT
WorkMsgReceiveDelayMax
max
FLOAT
WorkMsgReceiveDelayCntMax
max
FLOAT
WorkMsgSendDelay
count
FLOAT
WorkMsgSendDelayCnt
count
FLOAT
WorkMsgSendDelayMax
max
FLOAT
WaitOther
count
FLOAT
count
FLOAT
Note: This is not the running sum of a WD that exists over multiple
intervals.
WorkTimeInuseMax
108
max
FLOAT
Mode
Description
Data Type
AwtReleases
count
FLOAT
WorkTypeInuse00 WorkTypeInuse15
track
Current number of AMP Worker Tasks in use for each work type.
FLOAT
WorkTypeMax00 WorkTypeMax15
max
FLOAT
Mode
Description
Data Type
CPUUServAWT
count
FLOAT
109
Column Name
Mode
Description
Data Type
CPUUServDisp
count
FLOAT
CPUUServMisc
count
FLOAT
CPUUExecAWT
count
FLOAT
CPUUExecDisp
count
FLOAT
CPUUExecMisc
count
FLOAT
Mode
Description
Data Type
ProcBlksCPULimit
count
FLOAT
count
FLOAT
ProcBlksFsgLock
count
FLOAT
ProcBlksSegLock
count
FLOAT
ProcBlksTime
count
FLOAT
ProcBlksFlowControl
count
FLOAT
ProcBlksFsgNIOs
count
FLOAT
ProcBlksFsgRead
count
FLOAT
ProcBlksFsgWrite
count
Number of times processes were blocked for an FSG write from disk.
FLOAT
ProcBlksMisc
count
FLOAT
110
Column Name
Mode
Description
Data Type
ProcBlksMonitor
count
FLOAT
ProcBlksMonResume
count
FLOAT
ProcBlksNetThrottle
count
FLOAT
ProcBlksSegMDL
count
FLOAT
ProcBlksSegNoVirtual
count
FLOAT
ProcBlksQnl
count
FLOAT
Mode
Description
Data Type
ProcWaitCPULimit
count
FLOAT
count
FLOAT
ProcWaitFsgLock
count
FLOAT
ProcWaitDBLock
count
FLOAT
ProcWaitSegLock
count
FLOAT
ProcWaitFsgRead
count
FLOAT
ProcWaitFsgWrite
count
FLOAT
ProcWaitFsgNIOs
count
FLOAT
111
Column Name
Mode
Description
Data Type
ProcWaitMisc
count
FLOAT
ProcWaitMonitor
count
FLOAT
ProcWaitMonResume
count
FLOAT
ProcWaitNetThrottle
count
FLOAT
ProcWaitSegMDL
count
FLOAT
ProcWaitSegNoVirtual
count
FLOAT
ProcWaitTime
count
FLOAT
ProcWaitQnl
count
FLOAT
Mode
Description
Data Type
FileAPtAcqs
count
FLOAT
FilePCiAcqs
count
FLOAT
FilePDbAcqs
count
FLOAT
FileSCiAcqs
count
FLOAT
FileSDbAcqs
count
FLOAT
FileTJtAcqs
count
FLOAT
FileAPtAcqKB
count
FLOAT
FilePCiAcqKB
count
FLOAT
112
Column Name
Mode
Description
Data Type
FilePDbAcqKB
count
FLOAT
FileSCiAcqKB
count
FLOAT
FileSDbAcqKB
count
FLOAT
FileTJtAcqKB
count
FLOAT
FileAPtAcqReads
count
FLOAT
FilePCiAcqReads
count
FLOAT
FilePDbAcqReads
count
FLOAT
FileSCiAcqReads
count
FLOAT
FileSDbAcqReads
count
FLOAT
FileTJtAcqReads
count
FLOAT
FileAPtAcqReadKB
count
FLOAT
FilePCiAcqReadKB
count
FLOAT
FilePDbAcqReadKB
count
FLOAT
FileSCiAcqReadKB
count
FLOAT
FileSDbAcqReadKB
count
FLOAT
FileTJtAcqReadKB
count
FLOAT
Mode
Description
Data Type
FileAPtPres
count
FLOAT
FilePCiPres
count
FLOAT
FilePDbPres
count
FLOAT
113
Column Name
Mode
Description
Data Type
FileSCiPres
count
FLOAT
FileSDbPres
count
FLOAT
FileTJtPres
count
FLOAT
FileAPtPresKB
count
FLOAT
FilePCiPresKB
count
FLOAT
FilePDbPresKB
count
FLOAT
FileSCiPresKB
count
FLOAT
FileSDbPresKB
count
FLOAT
FileTJtPresKB
count
FLOAT
FileAPtPreReads
count
FLOAT
FilePCiPreReads
count
FLOAT
FilePDbPreReads
count
FLOAT
FileSCiPreReads
count
FLOAT
FileSDbPreReads
count
FLOAT
FileTJtPreReads
count
FLOAT
FileAPtPreReadKB
count
FLOAT
FilePCiPreReadKB
count
FLOAT
FilePDbPreReadKB
count
FLOAT
FileSCiPreReadKB
count
FLOAT
FileSDbPreReadKB
count
FLOAT
FileTJtPreReadKB
count
FLOAT
114
Both the number of segments (Rels, Writes, Drps) and the size of the segments (RelKB,
WriteKB, DrpKB) are counted. When a segment leaves memory, it must be written to disk
only if the segment is dirty, that is, modified (Dy). Otherwise, the clean or unmodified (Cn)
segment is simply dropped.
Most spool blocks are simply dropped from a task and put on the age queue. This may happen
multiple times. Each of these will be counted as a resident release. If the system is low on
memory and the age queue must be processed, this may also result in an age write or age drop.
Forced writes are always also counted as either clean resident releases or forced drops,
depending on whether age normal or age out now was specified.
Column Name
Mode
Description
Data Type
FileAPtDyRRels
count
FLOAT
FilePCiDyRRels
count
FLOAT
FilePDbDyRRels
count
FLOAT
FileSCiDyRRels
count
FLOAT
FileSDbDyRRels
count
FLOAT
FileTJtDyRRels
count
FLOAT
FileAPtDyRRelKB
count
KB released by FileAPtDyRRels.
FLOAT
FilePCiDyRRelKB
count
KB released by FilePCiDyRRels.
FLOAT
FilePDbDyRRelKB
count
KB released by FilePDbDyRRels.
FLOAT
FileSCiDyRRelKB
count
KB released by FileSCiDyRRels.
FLOAT
FileSDbDyRRelKB
count
KB released by FileSDbDyRRels.
FLOAT
FileTJtDyRRelKB
count
KB released by FileTJtDyRRels.
FLOAT
FileAPtFWrites
count
FLOAT
FilePCiFWrites
count
FLOAT
FilePDbFWrites
count
FLOAT
115
Column Name
Mode
Description
Data Type
FileSCiFWrites
count
FLOAT
FileSDbFWrites
count
FLOAT
FileTJtFWrites
count
FLOAT
FileAPtFWriteKB
count
KB written by FileAPtFWrites.
FLOAT
FilePCiFWriteKB
count
KB written by FilePCiFWrites.
FLOAT
FilePDbFWriteKB
count
KB written by FilePDbFWrites.
FLOAT
FileSCiFWriteKB
count
KB written by FileSCiFWrites.
FLOAT
FileSDbFWriteKB
count
KB written by FileSDbFWrites.
FLOAT
FileTJtFWriteKB
count
KB written by FileTJtFWrites.
FLOAT
Mode
Description
Data Type
MemAllocs
count
FLOAT
MemAllocKB
count
FLOAT
Net Columns
Broadcast Net Traffic Columns
These columns identify the number (Reads, Writes) and amount (ReadKB, WriteKB) of input
and output messages passing through the Teradata Database nets through broadcast (1:many)
methods (Brd) per net.
Column Name
Mode
Description
Data Type
NetBrdReads
count
FLOAT
NetBrdWrites
count
FLOAT
116
Mode
Description
Data Type
NetPtPReads
count
FLOAT
NetPtPWrites
count
FLOAT
NetPtPReadKB
count
FLOAT
NetPtPWriteKB
count
FLOAT
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (3)
Reserved Column
Spare Columns
The ResUsageSps table spare fields are named Spare00 through Spare19, and SpareInt. Four of
those fields are being used below.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare fields currently being used.
Column Name
Description
Spare00
117
Column Name
Description
Spare01
Spare03
Spare04
Spare05
Spare06
118
Column Name
Description
Spare07
Sum of the full potential input or output token allocations from all
devices attached to the node. This field is reported only to the AMP
vproc rows.
The input or output token allocations are not limited by the IO_COD
setting.
The data source for this field is located in the
all_wd_full_potential_iota field in /proc/tdmeter/limit_stats file.
Note: This field will be converted to the FullPotentialIota column in
Teradata Database 15.0. You can access the resource usage data for
this field using the FullPotentialIota column name in the ResSpsView
view. For details, see ResSpsView on page 175.
Note: This field is available on SLES 11 only.
Spare08
Spare09
Sum of the used input or output token allocations from all devices
attached to the node for this workload. This field is reported only to
AMP vproc rows.
The data source for this field is located in the following file:
wd_used_iota field in /proc/tdmeter/limit_stats
Note: This field will be converted to the UsedIota column in Teradata
Database 15.0. You can access the resource usage data for this field
using the UsedIota column name in the ResSpsView view. For details,
see ResSpsView on page 175.
Note: This field is available on SLES 11 only.
119
Column Name
Description
Spare10
Spare11
Spare12
Spare13
Number of very hot reads that were handled by physical disk I/O due
to a VH cache miss (that is, data not found in the VH cache). This
field is populated by the FSG system.
Note: This field will be converted to the VHPhysicalDBRead column
in Teradata Database 15.0. You can access the resource usage data for
this field using the VHPhysicalDBRead column name in the
ResSpsView view. For details, see ResSpsView on page 175.
For information about VH cache, see Glossary.
Spare14
120
Column Name
Description
SpareInt
PM I/O COD value in whole percent values for the entire system. For
example, a SpareInt value of 50 represents a
PM I/O COD value of 50%.
This field value is 100 if the PM I/O COD is disabled.
Note: This field will be converted to the PM_IO_COD column in
Teradata Database 15.0. You can access resource usage data for this
field using the PM_IO_COD column name in the ResSpsView view.
For details, see ResSpsView on page 175.
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
121
122
CHAPTER 12
ResUsageSvdsk Table
Includes resource usage logs on cylinder allocation, migration, and I/O statistics.
If you enable table logging on ResUsageSvdsk, a row is written to the database once for every
AMP vproc in the system for each log interval. To consolidate and summarize the total
number of rows written to the database, you can enable Summary Mode. For details, see
Summary Mode on page 128.
Note: This table is created as a MULTISET table.
The following table describes the ResUsageSvdsk table columns.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
123
Column Name
Mode
Description
Data Type
GmtTime
n/a
FLOAT
VprId
n/a
INTEGER
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
Secs
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
SummaryFlag
n/a
CHAR (1)
Active
max
FLOAT
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
124
Statistics Columns
Teradata VS Columns
Allocation Columns
These columns identify the allocation statistics reported by the Allocator process.
Column Name
Mode
Description
Data Type
ExtAllocHot
count
FLOAT
The cylinder resides in some disk storage location and holds some
data. Temperature is the frequency of access to the data by I/O
independent of where the data resides.
ExtAllocNonPacing
count
FLOAT
ExtAllocStatic
count
FLOAT
ExtAllocSystemPacing
count
FLOAT
ExtAllocTotal
count
FLOAT
count
FLOAT
The cylinder resides in some disk storage location and holds some
data. Temperature is the frequency of access to the data by I/O
independent of where the data resides.
Mode
Description
Data Type
ConcurrentMax
max
FLOAT
125
Column Name
Mode
Description
Data Type
ConcurrentReadMax
max
FLOAT
ConcurrentWriteMax
max
FLOAT
ReadCnt
count
FLOAT
WriteCnt
count
FLOAT
ReadKB
count
FLOAT
WriteKB
count
FLOAT
ReadRespTot
count
FLOAT
WriteRespTot
count
FLOAT
ReadRespMax
max
FLOAT
WriteRespMax
max
FLOAT
ReadRespSq
count
FLOAT
WriteRespSq
count
FLOAT
OutReqTime
count
FLOAT
Migration Columns
Note: The ResUsageSvdsk table migration columns are populated only in Teradata VS. For
more information, see Teradata Virtual Storage.
The migration columns identify the number of cylinders that migrated to a different location
on a device as well as the time, in centiseconds, of all migration I/Os used, incurred, or saved
during the log period.
Note: Each allocation is for a cylinder size worth of data, also known internally in the
allocator as an extent. Therefore, the column names begin with Ext for extent.
Column Name
Mode
Description
Data Type
ExtMigrateFaster
count
FLOAT
126
Column Name
Mode
Description
Data Type
ExtMigrateIOTimeCost
count
FLOAT
ExtMigrateIOTimeBenefit
count
FLOAT
This value does not include the cost of the migration I/Os and is a
gross benefit, not a net benefit.
ExtMigrateIOTimeImprove
count
FLOAT
For example, if, right before a particular log interval, the average
I/O response time was 10 milliseconds (ms), then the migration
logs an ExtMigrateIOTimeImprove value of 10% in this interval.
The average I/O response time after the log interval should be
(100%-10%)*10ms = 9ms. Migration then logs an
ExtMigrateIOTimeImprove of 1% in the next interval. The average
I/O response time in the new log interval is (100%-1%)*9ms =
8.91ms.
ExtMigrateIOTimeImprove is only an estimate. Its permanent
improvement remains in effect as long as the workload does not
change and newer migrations do not significantly alter the data
arrangement.
When the workload changes or new migrations affect data
arrangement, response time changes in a nonquantifiable way.
You can use this field to predict the actual system performance for
short periods of time and to understand why the migration
algorithm is doing what it is doing.
ExtMigrateReadRespTot
count
FLOAT
ExtMigrateWriteRespTot
count
FLOAT
ExtMigrateTotal
count
FLOAT
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (1)
Reserved Column
127
Summary Mode
When Summary Mode is active for the ResUsageSvdsk table, one row is written to the database
for each node in the system. This row summarizes all AMP vdisk data in each node per log
interval.
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
IF the SummaryFlag column value is
'S'
in Summary Mode.
'N'
normally.
Spare Columns
The ResUsageSvdsk table spare fields are named Spare00 through Spare19, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare field currently being used.
Column Name
Description
Spare00
Spare01
128
Column Name
Description
SpareInt
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
129
130
CHAPTER 13
ResUsageSvpr Table
ResUsageSvpr logical table includes resource usage data for available system-wide, virtual
processor information.
Note: This table is created as a MULTISET table. For more information see Relational
Primary Index on page 37.
Teradata recommends that you use the view ResSvprView on page 179 to access the data
rather than accessing the ResUsageSvpr table directly.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
131
Column Name
Mode
Description
Data Type
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
VprId
n/a
INTEGER
VprType
n/a
Type of vproc. The values can be NODE, AMP, PE, GTW, RSG, or
TVS (see Teradata Virtual Storage).
CHAR(4)
Secs
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
NCPUs
n/a
SMALLINT
n/a
Summarization status of this row. Possible values are 'N' if the row
is a non-summary row and 'S' if it is a summary row.
CHAR (1)
Active
max
FLOAT
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
132
Statistics Columns
File System Columns
Synchronized Full Table Scans Columns
These columns contain statistics relating to synchronized full table scans.
Note: The following columns are moved from the ResUsageIvpr table to the ResUsageSvpr
table to avoid costly joins.
Column Name
Mode
Description
Data Type
FileSyncGroups
track
FLOAT
FileSyncScanners
track
FLOAT
FileSyncScans
count
FLOAT
FileSyncSubtables
track
FLOAT
PDb
SCi
SDb
TJt
Column Name
Mode
Description
Data Type
FileAPtAcqs
count
FLOAT
FilePCiAcqs
count
FLOAT
FilePDbAcqs
count
FLOAT
FileSCiAcqs
count
FLOAT
FileSDbAcqs
count
FLOAT
133
Column Name
Mode
Description
Data Type
FileTJtAcqs
count
FLOAT
FileAPtAcqKB
count
FLOAT
FilePCiAcqKB
count
FLOAT
FilePDbAcqKB
count
FLOAT
FileSCiAcqKB
count
FLOAT
FileSDbAcqKB
count
FLOAT
FileTJtAcqKB
count
FLOAT
FileAPtAcqReads
count
FLOAT
FilePCiAcqReads
count
FLOAT
FilePDbAcqReads
count
FLOAT
FileSCiAcqReads
count
FLOAT
FileSDbAcqReads
count
FLOAT
FileTJtAcqReads
count
FLOAT
FileAPtAcqReadKB
count
FLOAT
FilePCiAcqReadKB
count
FLOAT
FilePDbAcqReadKB
count
FLOAT
FileSCiAcqReadKB
count
FLOAT
FileSDbAcqReadKB
count
FLOAT
FileTJtAcqReadKB
count
FLOAT
FileAPtAcqsOther
count
FLOAT
FilePCiAcqsOther
count
FLOAT
FilePDbAcqsOther
count
FLOAT
FileSCiAcqsOther
count
FLOAT
134
Column Name
Mode
Description
Data Type
FileSDbAcqsOther
count
FLOAT
FileTJtAcqsOther
count
FLOAT
FileAPtAcqOtherKB
count
FLOAT
FilePCiAcqOtherKB
count
FLOAT
FilePDbAcqOtherKB
count
FLOAT
FileSCiAcqOtherKB
count
FLOAT
FileSDbAcqOtherKB
count
FLOAT
FileTJtAcqOtherKB
count
FLOAT
Mode
Description
Data Type
FileAPtPres
count
FLOAT
FilePCiPres
count
FLOAT
FilePDbPres
count
FLOAT
FileSCiPres
count
FLOAT
FileSDbPres
count
FLOAT
FileTJtPres
count
FLOAT
FileAPtPresKB
count
FLOAT
FilePCiPresKB
count
FLOAT
FilePDbPresKB
count
FLOAT
FileSCiPresKB
count
FLOAT
135
Column Name
Mode
Description
Data Type
FileSDbPresKB
count
FLOAT
FileTJtPresKB
count
FLOAT
FileAPtPreReads
count
FLOAT
FilePCiPreReads
count
FLOAT
FilePDbPreReads
count
FLOAT
FileSCiPreReads
count
FLOAT
FileSDbPreReads
count
FLOAT
FileTJtPreReads
count
FLOAT
FileAPtPreReadKB
count
FLOAT
FilePCiPreReadKB
count
FLOAT
FilePDbPreReadKB
count
FLOAT
FileSCiPreReadKB
count
FLOAT
FileSDbPreReadKB
count
FLOAT
FileTJtPreReadKB
count
FLOAT
Forced (F)
Aged out of memory (A), from segments that are currently resident
Both the number of segments (Rels, Writes, Drps) and the size of the segments
(RelKB,WriteKB, DrpKB) are counted. When a segment leaves memory, it must be written to
disk only if the segment is dirty (Dy), that is, modified. Otherwise, the clean (Cn), that is,
unmodified segment is simply dropped.
Most spool blocks for a small table remain resident when they are created and age there. Each
of these will be counted as a dirty resident release (DyRRel columns). If a block survives in the
cache, it would be reacquired (whenever the system creates spool data, a subsequent step will
read it) and released again. The release will still be counted as a dirty resident release, since the
136
block survived in a modified state. On the other hand, if there is contention for room in the
FSG cache, the segment might be removed from memory. Because it is a modified segment, it
must be written out first. This is counted as a dirty age write (DyAWrite columns). When it is
reacquired it will no longer be modified, so the subsequent release will be counted as a clean
resident release (CnRRel columns).
If the segments are modified, only DyAWrites, DyAWriteKB, CnADrps, and CnADrpKB
columns are incremented.
If the segments are unmodified, only CnADrps and CnADrpKB columns are incremented.
Note: To determine the clean segments that aged out of memory for the CnADrps column,
subtract the DyAWrites value from the CnADrps value. To determine the clean segments that
aged out of memory for the CnADrpKB column, subtract the DyAWriteKB value from the
CnADrpKB value.
Full table modification operations make one pass on the table and modify each block only
once. Since these operations do not access a block multiple times, there is no point keeping
them in the cache. If a block that was examined did not contain any rows that qualify for the
modification, when the block is released, it will be dropped from memory immediately (FDrp
columns). However, if the block was modified, when it is released the system issues the write
as part of the release so it is counted as a forced write (FWrite columns). Since the system also
drops the block from memory as soon as the write is complete, this release is also counted as a
forced drop (FDrp columns).
Column Name
Mode
Description
Data Type
FileAPtDyRRels
count
FLOAT
FilePCiDyRRels
count
FLOAT
FilePDbDyRRels
count
FLOAT
FileSCiDyRRels
count
FLOAT
FileSDbDyRRels
count
FLOAT
FileTJtDyRRels
count
FLOAT
FileAPtDyRRelsKB
count
KB released by FileAPtDyRRels.
FLOAT
FilePCiDyRRelsKB
count
KB released by FilePCiDyRRels.
FLOAT
FilePDbDyRRelsKB
count
KB released by FilePDbDyRRels.
FLOAT
FileSCiDyRRelsKB
count
KB released by FileSCiDyRRels.
FLOAT
FileSDbDyRRelsKB
count
KB released by FileSDbDyRRels.
FLOAT
137
Column Name
Mode
Description
Data Type
FileTJtDyRRelsKB
count
KB released by FileTJtDyRRels.
FLOAT
FileAPtFWrites
count
FLOAT
FilePCiFWrites
count
FLOAT
FilePDbFWrites
count
FLOAT
FileSCiFWrites
count
FLOAT
FileSDbFWrites
count
FLOAT
FileTJtFWrites
count
FLOAT
FileAPtFWriteKB
count
KB written by FileAPtFWrites.
FLOAT
FilePCiFWriteKB
count
KB written by FilePCiFWrites.
FLOAT
FilePDbFWriteKB
count
KB written by FilePDbFWrites.
FLOAT
FileSCiFWriteKB
count
KB written by FileSCiWrites.
FLOAT
FileSDbFWriteKB
count
KB written by FileSDbFWrites.
FLOAT
FileTJtFWriteKB
count
KB written by FileTJtFWrites.
FLOAT
FileAPtDyAWrites
count
FLOAT
FilePCiDyAWrites
count
FLOAT
FilePDbDyAWrites
count
FLOAT
FileSCiDyAWrites
count
FLOAT
FileSDbDyAWrites
count
FLOAT
FileTJtDyAWrites
count
FLOAT
FileAPtDyAWriteKB
count
KB written by FileAPtDyAWrites.
FLOAT
138
Column Name
Mode
Description
Data Type
FilePCiDyAWriteKB
count
KB written by FilePCiDyAWrites.
FLOAT
FilePDbDyAWriteKB
count
KB written by FilePDbDyAWrites.
FLOAT
FileSCiDyAWriteKB
count
KB written by FileSCiDyAWrites.
FLOAT
FileSDbDyAWriteKB
count
KB written by FileSDbDyAWrites.
FLOAT
FileTJtDyAWriteKB
count
KB written by FileTJtDyAWrites.
FLOAT
FileAPtCnRRels
count
FLOAT
FilePCiCnRRels
count
FLOAT
FilePDbCnRRels
count
FLOAT
FileSCiCnRRels
count
FLOAT
FileSDbCnRRels
count
FLOAT
FileTJtCnRRels
count
FLOAT
FileAPtCnRRelKB
count
KB released by FileAptCnRRels.
FLOAT
FilePCiCnRRelKB
count
KB released by FilePCiCnRRels.
FLOAT
FilePDbCnRRelKB
count
KB released by FilePDbCnRRels.
FLOAT
FileSCiCnRRelKB
count
KB released by FileSCiCnRRels.
FLOAT
FileSDbCnRRelKB
count
KB released by FileSDbCnRRels.
FLOAT
FileTJtCnRRelKB
count
KB released by FileTJtCnRRels.
FLOAT
FileAPtFDrps
count
FLOAT
FilePCiFDrps
count
FLOAT
FilePDbFDrps
count
FLOAT
FileSCiFDrps
count
FLOAT
FileSDbFDrps
count
FLOAT
FileTJtFDrps
count
FLOAT
139
Column Name
Mode
Description
Data Type
FileAPtFDrpKB
count
KB dropped by FileAPtFDrps.
FLOAT
FilePCiFDrpKB
count
KB dropped by FilePCiFDrps.
FLOAT
FilePDbFDrpKB
count
KB dropped by FilePDbFDrps.
FLOAT
FileSCiFDrpKB
count
KB dropped by FileSCiFDrps.
FLOAT
FileSDbFDrpKB
count
KB dropped by FileSDbFDrps.
FLOAT
FileTJtFDrpKB
count
KB dropped by FileTJtFDrps.
FLOAT
FileAPtCnADrps
count
FLOAT
FilePCiCnADrps
count
FLOAT
FilePDbCnADrps
count
FLOAT
FileSCiCnADrps
count
FLOAT
FileSDbCnADrps
count
FLOAT
FileTJtCnADrps
count
FLOAT
FileAPtCnADrpKB
count
KB dropped by FileAPtCnADrps.
FLOAT
FilePCiCnADrpKB
count
KB dropped by FilePCiCnADrps.
FLOAT
FilePDbCnADrpKB
count
KB dropped by FilePDbCnADrps.
FLOAT
FileSCiCnADrpKB
count
KB dropped by FileSCiCnADrps.
FLOAT
FileSDbCnADrpKB
count
KB dropped by FileSDbCnADrps.
FLOAT
FileTJtCnADrpKB
count
KB dropped by FileTJtCnADrps.
FLOAT
FileAPtRelsOther
count
FLOAT
FilePCiRelsOther
count
FLOAT
FilePDbRelsOther
count
FLOAT
FileSCiRelsOther
count
FLOAT
FileSDbRelsOther
count
FLOAT
140
Column Name
Mode
Description
Data Type
FileTJtRelsOther
count
FLOAT
FileAPtRelOtherKB
count
FLOAT
FilePCiRelOtherKB
count
FLOAT
FilePDbRelOtherKB
count
FLOAT
FileSCiRelOtherKB
count
FLOAT
FileSDbRelOtherKB
count
FLOAT
FileTJtRelOtherKB
count
FLOAT
Mode
Description
Data Type
FileLockBlocks
count
FLOAT
count
FLOAT
FileLockEnters
count
FLOAT
Mode
Description
Data Type
FileCylAllocs
count
FLOAT
FileCylDefrags
count
FLOAT
FileCylFrees
count
FLOAT
FileCylMigrs
count
FLOAT
141
Column Name
Mode
Description
Data Type
FileMCylPacks
count
FLOAT
Mode
Description
Data Type
FileWCylAllocs
count
FLOAT
FileWCylFrees
count
FLOAT
Mode
Description
Data Type
IoRespMax
max
FLOAT
Mode
Description
Data Type
FSGCacheWaits
count
FLOAT
FSGCacheWaitTime
count
Total amount of time the File System waits for memory to become
available in the file segment cache when trying to read data from
disk.
FLOAT
FSGCacheWaitTimeMax
max
FLOAT
MI Columns
Column Name
Mode
Description
Data Type
MIWriteLocks
count
FLOAT
MIWriteLockTime
count
FLOAT
MIWriteLockTimeMax
max
FLOAT
142
Column Name
Mode
Description
Data Type
MIWrites
count
FLOAT
MIWriteTime
count
FLOAT
MIWriteTimeMax
max
FLOAT
MISleeps
count
FLOAT
MISleepTime
count
FLOAT
MISleepTimeMax
max
FLOAT
Mode
Description
Data Type
DBMergeDone
count
FLOAT
count
FLOAT
DBMergeExtraIO
count
FLOAT
DBMergeTried
count
FLOAT
AutoCylPack Columns
These columns track the number of cylinders used during AutoCylPack, a background task
that runs periodically to maintain the set levels of free space percent (FSP) on table cylinders.
For more information about AutoCylPack, see Database Administration.
Column Name
Mode
Description
Data Type
FileACPCylsMigr
count
FLOAT
143
Column Name
Mode
Description
Data Type
FileACPCylsPostponed
count
FLOAT
FileACPCylsSkipped
count
FLOAT
FileACPCylsUnFSEOnly
count
FLOAT
BLC Columns
These columns collect various BLC statistics for use in performance analysis and debugging.
BLC enables data compression at the data block (DB) level of the Teradata Database file
system. Compression reduces the amount of storage required for a given amount of data. The
BlockLevelCompression field of DBS Control enables and disables BLC.
For more information on BLC and compression-related DBS Control settings, see Utilities.
Note: You must enable BLC to collect statistics from the columns below or zero will be
returned for each column.
Column Name
Mode
Description
Data Type
FileCompDBs
count
FLOAT
FileCompCPU
count
FLOAT
count
FLOAT
count
Total number of MBs for the data block that will be compressed
before any compression starts.
FLOAT
144
Column Name
Mode
Description
Data Type
FileCompCylMigrs
count
FLOAT
count
FLOAT
FileCompTempDBs
count
FLOAT
count
Total number of MBs for the compressed data block that will be
uncompressed before uncompression starts.
FLOAT
count
FLOAT
count
FLOAT
count
FLOAT
145
Column Name
Mode
Description
Data Type
FileUnCompCylMigrs
count
FLOAT
count
FLOAT
FileUncompFerretDBs
count
FLOAT
FileUnCompTempDBs
count
FLOAT
Note: You must enable the TBBLC feature when using this
column or it will return zero. To determine if TBBLC is enabled,
see EnableTempBLC in Utilities.
Mode
Description
Data Type
DBLockBlocks
count
FLOAT
DBLockEnters
count
FLOAT
DBLockDeadlocks
count
FLOAT
Memory Columns
Memory Resident Columns
These columns represent the amount of memory resident specific to virtual processor
activities, subdivided into memory types. The columns do not include any memory
allocations specific to the node the vproc is running under.
146
Permanent segments for an entire table can be user-locked-in to memory. These are called
frozen segments (Frz), and no state subdivision is necessary because they cannot be aged or
forced out of memory.
Column Name
Mode
Description
Data Type
MemAPtKBResCA
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
147
Column Name
Mode
Description
Data Type
MemPDbKBResCA
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
148
Column Name
Mode
Description
Data Type
MemTJtKBResCA
track
FLOAT
track
FLOAT
track
FLOAT
track
FLOAT
Mode
Description
Data Type
MemCtxtAllocs
count
FLOAT
Note: Only scratch pages are allocated. All other task context pages
appear resident at some point soon after component restart.
Mode
Description
Data Type
MemCtxtAccesses
count
FLOAT
MemCtxtAccessKB
count
KB of segments accessed.
FLOAT
MemCtxtDeaccesses
count
FLOAT
count
KB of segments deaccessed.
FLOAT
MemCtxtDestroyKB
count
KB of segments destroyed.
FLOAT
MemCtxtDestroys
count
FLOAT
149
Net Columns
Point-to-Point Net Traffic Columns
These columns identify the number (Reads, Writes) and amount (ReadKB, WriteKB) of input
and output messages passing through either Teradata Database net through point-to-point
(1:1) methods (PtP).
Column Name
Mode
Description
Data Type
NetPtPReadKB
count
FLOAT
NetPtPReads
count
FLOAT
NetPtPWriteKB
count
FLOAT
NetPtPWrites
count
FLOAT
Mode
Description
Data Type
NetBrdReadKB
count
FLOAT
NetBrdReads
count
FLOAT
NetBrdWriteKB
count
FLOAT
NetBrdWrites
count
FLOAT
Mode
Description
Data Type
MsgWorkQLen
track
FLOAT
MsgWorkQLenMax
max
FLOAT
150
Mode
Description
Data Type
MsgChnLastDone
count
FLOAT
Note: The last AMP to finish an operation may send a last done
broadcast message indicating the work is done for this step. This is
used in tracking down the slowest AMP in the system. An AMP that
has more last done messages than the others could be a bottleneck
in the system performance.
Mode
Description
Data Type
CPUUServPart00 CPUUServPart48
count
FLOAT
CPUUExecPart00 CPUUExecPart48
count
FLOAT
Note: Some CPU times may not be reported to these fields if child
processes or threads are running on your system. For information
about the difference in CPU usage reported and possible cause, see
CPU Utilization Columnsin Chapter 11: ResUsageSps.
151
Column Name
Mode
Description
Data Type
FileFcrRequests
count
FLOAT
count
FLOAT
count
FLOAT
This column records the number of data blocks that were part of
attempts to use Cylinder read that were denied by the FSG
subsystem due to insufficient cache space; therefore, also
incremented the FileFcrDeniedCache column.
FileFcrBlocksDeniedKern
count
FLOAT
This column records the number of data blocks that were part of
attempts to use Cylinder Read that were denied by the FSG
subsystem, and therefore, also incremented the
FileFcrDeniedKern column.
FileFcrBlocksDeniedUser
count
FLOAT
This column records the number of data blocks that were part of
attempts to use Cylinder Read that were denied by the File
System.
FileFcrBlocksDeniedThreshKern
count
FLOAT
This column records the number of data blocks that were part of
attempts to use Cylinder read that were denied by the FSG
subsystem due to the number of blocks being below the
threshold, and therefore, also incremented the
FileFcrDeniedThreshKern column.
152
Column Name
Mode
Description
Data Type
FileFcrBlocksDeniedThreshUser
count
FLOAT
This column records the number of data blocks that were part of
attempts to use Cylinder Read that were denied by the File System
due to the number of blocks being below the threshold, and
therefore, also incremented the FileFcrDeniedThreshUser
column.
FileFcrBlocksRead
count
FLOAT
count
FLOAT
count
FLOAT
count
FLOAT
153
Column Name
Mode
Description
Data Type
FileFcrDeniedThreshKern
count
FLOAT
count
FLOAT
UDFAMPExec
UDFAMPServ
UDFPEExec
UDFPEServ
Note: The total of these UDF CPU columns can exceed 100% of elapsed centiseconds due to
the CPU data gathering operation. The UDF CPU reporting for the ResUsageSvpr table is
reported when the UDF completes an operation. A long running UDF will report all the CPU
154
time at one time and that may be significantly larger than the current reporting period. This
can cause spikes in the UDF CPU reporting columns.
The UDF CPU time value over multiple periods averages 100% or less.
Note: When an external routine (such as C, C++, Java UDF, or external stored procedure)
forks a child process or thread, the CPU time is not reported to these fields. As a result, the
resource usage table shows a lower CPU usage than shown in the ResUsageSpma table even if
the external routine consumes a large amount of CPU time. If there are child processes or
threads running on your system, this may account for the larger CPU times reported in the
ResUsageSpma table compared to this table. To confirm that the difference in CPU usage
reported by the ResUsageSpma table is caused by child processes or threads, contact your
Teradata Support Center personnel.
Column Name
Mode
Description
Data Type
UDFAMPServ
count
Reported system-level UDF CPU time value under the AMP vproc.
FLOAT
UDFAMPExec
count
Reported user execution UDF CPU time value under the AMP
vproc.
FLOAT
UDFPEServ
count
FLOAT
UDFPEExec
count
Reported user execution UDF CPU time value under the PE vproc.
FLOAT
Mode
Description
Data Type
ProcBlksDBLock
count
FLOAT
ProcPendDBLock
track
FLOAT
Mode
Description
Data Type
ProcWaitDBLock
count
FLOAT
Teradata VS Columns
Allocation Columns
These columns identify the allocation statistics reported by the Allocator.
155
Column Name
Mode
Description
Data Type
AllocatorExtentAllocReqs
count
FLOAT
AllocatorExtentFreeReqs
count
FLOAT
AllocatorMapIOsStarted
count
FLOAT
AllocatorMapIOsDone
count
FLOAT
Column Name
Mode
Description
Data
Type
ReadsCold
count
Total number of reads issued to all cylinders that are considered COLD.
FLOAT
count
Total number of reads issued to all cylinders that are considered HOT.
FLOAT
count
FLOAT
count
FLOAT
count
Total number of writes issued to all cylinders that are considered HOT.
FLOAT
count
FLOAT
count
Total read response time of all cylinders that are considered COLD
FLOAT
156
Column Name
Mode
Description
Data
Type
ReadResponseHotTotal
count
Total read response time of all cylinders that are considered HOT.
FLOAT
count
Total read response time of all cylinders that are considered WARM.
FLOAT
count
Total write response time of all cylinders that are considered COLD.
FLOAT
count
Total write response time of all cylinders that are considered HOT.
FLOAT
count
Total write response time of all cylinders that are considered WARM.
FLOAT
max
FLOAT
max
Maximum read response time of all cylinders that are considered HOT.
FLOAT
max
FLOAT
min
FLOAT
This column has a default value of the largest value of a 64-bit integer
column.
Note: This column is not currently valid. It should not be used.
ReadResponseHotMin
min
Minimum read response time of all cylinders that are considered HOT.
FLOAT
This column has a default value of the largest value of a 64-bit integer
column.
Note: This column is not currently valid. It should not be used.
ReadResponseWarmMin
min
FLOAT
This column has a default value of the largest value of a 64-bit integer
column.
Note: This column is not currently valid. It should not be used.
WriteResponseColdMax
max
FLOAT
157
Data
Type
Column Name
Mode
Description
WriteResponseHotMax
max
FLOAT
max
FLOAT
min
FLOAT
This column has a default value of the largest value of a 64-bit integer
column.
Note: This column is not currently valid. It should not be used.
WriteResponseHotMin
min
FLOAT
This column has a default value of the largest value of a 64-bit integer
column.
Note: This column is not currently valid. It should not be used.
WriteResponseWarmMin
min
FLOAT
This column has a default value of the largest value of a 64-bit integer
column.
Note: This column is not currently valid. It should not be used.
Mode
Description
Data Type
NodeAgentMigrationsDone
count
FLOAT
NodeAgentMigrationsStarted
count
FLOAT
Reserved Column
Column Name
Mode
Description
Data Type
Reserved
n/a
CHAR (3)
158
Summary Mode
When Summary Mode is active for the ResUsageSvpr table, one row is written to the database
for each type of vproc on each node in the system, summarizing the vprocs of that type on
that node, for each log interval.
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
IF the SummaryFlag column value is
'S'
in Summary Mode.
'N'
normally.
Spare Columns
The ResUsageSvpr table spare fields are named Spare00 through Spare19, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare fields currently being used.
Column Name
Description
Spare00
Number of data segments that were aged out of VH cache. This field
is populated by the FSG subsystem.
Note: This field will be converted to the VHAgedOut column in
Teradata Database 15.0. You can access resource usage data for this
field using the VHAgedOut column name in the ResSvprView view.
For details, see ResSvprView on page 179.
For information about VH cache, see Glossary.
Spare01
159
Column Name
Description
Spare02
Spare03
Spare04
Number of very hot reads that were handled by physical disk I/O due
to a VH cache miss (that is, data not found in the VH cache). This
field is populated by the FSG subsystem.
Note: This field will be converted to the VHPhysicalDBRead column
in Teradata Database 15.0. You can access resource usage data for this
field using the VHPhysicalDBRead column name in the ResSvprView
view. For details, see ResSvprView on page 179.
For information about VH cache, see Glossary.
Spare05
Spare06
160
Column Name
Description
Spare07
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
161
162
CHAPTER 14
Do not change or delete columns in these views. If the columns are modified, the resource
usage macros that use these views may not work properly. You can, however, safely add
columns.
163
ResCPUUsageByAMPView
ResCPUUsageByAMPView describes CPU usage per AMP.
REPLACE VIEW DBC.ResCPUUsageByAMPView
AS SELECT
TheDate,
TheTime,
VprId,
VprId
as Vproc,
NodeID,
Secs,
NCPUs,
/* GroupId */
/* Changes in GroupId definition affects the displayed grouping in
* the Res*ByGroup macros. The default setting below shows how to
* select different node families, but does not differentiate the
* resulting groups. If a coexistence system had 5550, 5600 and 5650 nodes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
/*
/*
/*
/*
164
CPUUExecPart11 AS AMPWorkTaskExec,
CPUUServPart11 AS AMPWorkTaskServ,
AMPMiscUserExec*/
(
CPUUExecPart01+CPUUExecPart02+CPUUExecPart03 +
CPUUExecPart04+CPUUExecPart05+CPUUExecPart06+CPUUExecPart07 +
CPUUExecPart08+CPUUExecPart09+CPUUExecPart10 +
CPUUExecPart12+CPUUExecPart13+CPUUExecPart14+CPUUExecPart15 +
CPUUExecPart16+CPUUExecPart17+CPUUExecPart18+CPUUExecPart19 +
CPUUExecPart20+CPUUExecPart21+CPUUExecPart22+CPUUExecPart23 +
CPUUExecPart24+CPUUExecPart25+CPUUExecPart26+CPUUExecPart27 +
CPUUExecPart28+CPUUExecPart29+CPUUExecPart30+CPUUExecPart31 +
CPUUExecPart32+CPUUExecPart33+CPUUExecPart34+CPUUExecPart35 +
CPUUExecPart36+CPUUExecPart37+CPUUExecPart38+CPUUExecPart39 +
CPUUExecPart40+CPUUExecPart41+CPUUExecPart42+CPUUExecPart43 +
CPUUExecPart44+CPUUExecPart45+CPUUExecPart46+CPUUExecPart47) AS AMPMiscUserExec,
AMPMiscUserServ */
(
CPUUServPart01+CPUUServPart02+CPUUServPart03 +
CPUUServPart04+CPUUServPart05+CPUUServPart06+CPUUServPart07 +
CPUUServPart08+CPUUServPart09+CPUUServPart10 +
CPUUServPart12+CPUUServPart13+CPUUServPart14+CPUUServPart15 +
CPUUServPart16+CPUUServPart17+CPUUServPart18+CPUUServPart19 +
CPUUServPart20+CPUUServPart21+CPUUServPart22+CPUUServPart23 +
CPUUServPart24+CPUUServPart25+CPUUServPart26+CPUUServPart27 +
CPUUServPart28+CPUUServPart29+CPUUServPart30+CPUUServPart31 +
CPUUServPart32+CPUUServPart33+CPUUServPart34+CPUUServPart35 +
CPUUServPart36+CPUUServPart37+CPUUServPart38+CPUUServPart39 +
CPUUServPart40+CPUUServPart41+CPUUServPart42+CPUUServPart43 +
CPUUServPart44+CPUUServPart45+CPUUServPart46+CPUUServPart47) AS AMPMiscUserServ,
AMPTotalUserExec */
(CPUUExecPart00+CPUUExecPart01+CPUUExecPart02+CPUUExecPart03 +
CPUUExecPart04+CPUUExecPart05+CPUUExecPart06+CPUUExecPart07 +
CPUUExecPart08+CPUUExecPart09+CPUUExecPart10+CPUUExecPart11 +
CPUUExecPart12+CPUUExecPart13+CPUUExecPart14+CPUUExecPart15 +
CPUUExecPart16+CPUUExecPart17+CPUUExecPart18+CPUUExecPart19 +
CPUUExecPart20+CPUUExecPart21+CPUUExecPart22+CPUUExecPart23 +
CPUUExecPart24+CPUUExecPart25+CPUUExecPart26+CPUUExecPart27 +
CPUUExecPart28+CPUUExecPart29+CPUUExecPart30+CPUUExecPart31 +
CPUUExecPart32+CPUUExecPart33+CPUUExecPart34+CPUUExecPart35 +
CPUUExecPart36+CPUUExecPart37+CPUUExecPart38+CPUUExecPart39 +
CPUUExecPart40+CPUUExecPart41+CPUUExecPart42+CPUUExecPart43 +
CPUUExecPart44+CPUUExecPart45+CPUUExecPart46+CPUUExecPart47) AS AMPTotalUserExec,
AMPTotalUserServ */
(CPUUServPart00+CPUUServPart01+CPUUServPart02+CPUUServPart03 +
CPUUServPart04+CPUUServPart05+CPUUServPart06+CPUUServPart07 +
CPUUServPart08+CPUUServPart09+CPUUServPart10+CPUUServPart11 +
CPUUServPart12+CPUUServPart13+CPUUServPart14+CPUUServPart15 +
CPUUServPart16+CPUUServPart17+CPUUServPart18+CPUUServPart19 +
CPUUServPart20+CPUUServPart21+CPUUServPart22+CPUUServPart23 +
CPUUServPart24+CPUUServPart25+CPUUServPart26+CPUUServPart27 +
165
ResCPUUsageByPEView
ResCPUUsageByPEView describes CPU usage by each PE.
EPLACE VIEW DBC.ResCPUUsageByPEView
AS SELECT
TheDate,
TheTime,
VprId,
VprId
AS Vproc,
NodeID (FORMAT'999-99') AS NodeId,
Secs, NCPUs,
/*
*
*
*
5650 nodes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
CPUUExecPart13
CPUUServPart13
CPUUExecPart12
CPUUServPart12
AS
AS
AS
AS
PEDispExec,
PEDispServ,
PESessExec,
PESessServ,
/* PEMiscUserExec */
(
CPUUExecPart01+CPUUExecPart02+CPUUExecPart03 +
CPUUExecPart04+CPUUExecPart05+CPUUExecPart06+CPUUExecPart07 +
CPUUExecPart08+CPUUExecPart09+CPUUExecPart10+CPUUExecPart11 +
CPUUExecPart14+CPUUExecPart15 +
CPUUExecPart16+CPUUExecPart17+CPUUExecPart18+CPUUExecPart19 +
CPUUExecPart20+CPUUExecPart21+CPUUExecPart22+CPUUExecPart23 +
CPUUExecPart24+CPUUExecPart25+CPUUExecPart26+CPUUExecPart27 +
CPUUExecPart28+CPUUExecPart29+CPUUExecPart30+CPUUExecPart31 +
CPUUExecPart32+CPUUExecPart33+CPUUExecPart34+CPUUExecPart35 +
CPUUExecPart36+CPUUExecPart37+CPUUExecPart38+CPUUExecPart39 +
CPUUExecPart40+CPUUExecPart41+CPUUExecPart42+CPUUExecPart43 +
CPUUExecPart44+CPUUExecPart45+CPUUExecPart46+CPUUExecPart47) AS PEMiscUserExec,
/* PEMiscUserServ */
(
CPUUServPart01+CPUUServPart02+CPUUServPart03 +
CPUUServPart04+CPUUServPart05+CPUUServPart06+CPUUServPart07 +
CPUUServPart08+CPUUServPart09+CPUUServPart10+CPUUServPart11 +
CPUUServPart14+CPUUServPart15 +
CPUUServPart16+CPUUServPart17+CPUUServPart18+CPUUServPart19 +
CPUUServPart20+CPUUServPart21+CPUUServPart22+CPUUServPart23 +
CPUUServPart24+CPUUServPart25+CPUUServPart26+CPUUServPart27 +
CPUUServPart28+CPUUServPart29+CPUUServPart30+CPUUServPart31 +
CPUUServPart32+CPUUServPart33+CPUUServPart34+CPUUServPart35 +
CPUUServPart36+CPUUServPart37+CPUUServPart38+CPUUServPart39 +
CPUUServPart40+CPUUServPart41+CPUUServPart42+CPUUServPart43 +
CPUUServPart44+CPUUServPart45+CPUUServPart46+CPUUServPart47) AS PEMiscUserServ,
/* PETotalUserExec */
(CPUUExecPart00+CPUUExecPart01+CPUUExecPart02+CPUUExecPart03 +
CPUUExecPart04+CPUUExecPart05+CPUUExecPart06+CPUUExecPart07 +
CPUUExecPart08+CPUUExecPart09+CPUUExecPart10+CPUUExecPart11 +
CPUUExecPart12+CPUUExecPart13+CPUUExecPart14+CPUUExecPart15 +
CPUUExecPart16+CPUUExecPart17+CPUUExecPart18+CPUUExecPart19 +
CPUUExecPart20+CPUUExecPart21+CPUUExecPart22+CPUUExecPart23 +
CPUUExecPart24+CPUUExecPart25+CPUUExecPart26+CPUUExecPart27 +
CPUUExecPart28+CPUUExecPart29+CPUUExecPart30+CPUUExecPart31 +
CPUUExecPart32+CPUUExecPart33+CPUUExecPart34+CPUUExecPart35 +
CPUUExecPart36+CPUUExecPart37+CPUUExecPart38+CPUUExecPart39 +
CPUUExecPart40+CPUUExecPart41+CPUUExecPart42+CPUUExecPart43 +
CPUUExecPart44+CPUUExecPart45+CPUUExecPart46+CPUUExecPart47) AS PETotalUserExec,
/* PETotalUserServ */
(CPUUServPart00+CPUUServPart01+CPUUServPart02+CPUUServPart03 +
CPUUServPart04+CPUUServPart05+CPUUServPart06+CPUUServPart07 +
CPUUServPart08+CPUUServPart09+CPUUServPart10+CPUUServPart11 +
CPUUServPart12+CPUUServPart13+CPUUServPart14+CPUUServPart15 +
166
167
ResSawtView
ResSawtView is based on the ResUsageSawt table.
/* housekeeping fields */
TheDate,
NodeID (FORMAT '999-99') AS NodeID,
TheTime,
GmtTime,
NodeType,
TheTimestamp,
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
VprId,
/* Aliased fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
/* Changes in GroupId definition affects the displayed grouping in
* the Res*ByGroup macros. The default setting below shows how to
* select different node families, but does not differentiate the
* resulting groups. If a coexistence system had 5550, 5600 and 5650 nodes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
( WorkTypeInuse00
WorkTypeInuse04
WorkTypeInuse08
WorkTypeInuse12
+
+
+
+
WorkTypeInuse01
WorkTypeInuse05
WorkTypeInuse09
WorkTypeInuse13
AS
/* Remaining table fields */
+ WorkTypeInuse02
+ WorkTypeInuse06
+ WorkTypeInuse10
+ WorkTypeInuse14
WorkTypeInuse,
+
+
+
+
WorkTypeInuse03
WorkTypeInuse07
WorkTypeInuse11
WorkTypeInuse15
+
+
+
)
Note: The ResUsageSawt table fields have been removed from this sample output.
168
ResScpuView
ResScpuView is based on the ResUsageScpu table.
/* housekeeping fields */
thedate,
NodeID
(FORMAT
thetime,
GmtTime,
NodeType
(FORMAT
TheTimestamp,
CentiSecs
(FORMAT
Secs
(FORMAT
NominalSecs
(FORMAT
CodFactor
(FORMAT
SummaryFlag
(FORMAT
Reserved
(FORMAT
cpuid,
Reserved2
(FORMAT
'999-99')
AS NodeID,
'X(8)')
AS NodeType,
'-------9')
'----9')
'ZZZ9')
'-----9')
'X(1)')
'X(1)')
AS
AS
AS
AS
AS
AS
'X(2)')
AS Reserved2,
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
/* Aliased Fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
/* Changes in GroupId definition affects the displayed grouping in
* the Res*ByGroup macros. The default setting below shows how to
* select different node families, but does not differentiate the
* resulting groups. If a coexistence system had 5550, 5600 and 5650 nodes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
/* Remaining table fields */
FROM DBC.ResUsageScpu WITH CHECK OPTION;
Note: The ResUsageScpu table fields have been removed from this sample output.
169
ResShstView
ResShstView is based on the ResUsageShst table.
REPLACE VIEW DBC.ResShstView
AS SELECT
/* housekeeping fields */
TheDate,
NodeID (FORMAT '999-99') AS NodeID,
TheTime,
GmtTime,
NodeType,
TheTimestamp,
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
IPaddr,
HstType,
vprid,
hstid (FORMAT '----------9'),
/* Aliased fields */
/* PM/WM CODs */
CodFactor
AS
PM_CPU_COD,
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
/*
*
*
*
*
*
*
*
*
*
SHIFTRIGHT(
SHIFTRIGHT(
SHIFTRIGHT(
SHIFTRIGHT(
SHIFTRIGHT(
SHIFTRIGHT(
SHIFTRIGHT(
SHIFTRIGHT(
*/
BITAND(
BITAND(
BITAND(
BITAND(
BITAND(
BITAND(
BITAND(
BITAND(
IPaddr,
IPaddr,
IPaddr,
IPaddr,
VprId,
VprId,
VprId,
VprId,
'000000FF'XB
'0000FF00'XB
'00FF0000'XB
'FF000000'XB
'000000FF'XB
'0000FF00'XB
'00FF0000'XB
'FF000000'XB
), 0)
), 8)
),16)
),24)
), 0)
), 8)
),16)
),24)
(Format
(Format
(Format
(Format
(Format
(Format
(Format
(Format
'ZZ9')
'ZZ9')
'ZZ9')
'ZZ9')
'ZZ9')
'ZZ9')
'ZZ9')
'ZZ9')
AS
AS
AS
AS
AS
AS
AS
AS
IP0,
IP1,
IP2,
IP3,
IP4,
IP5,
IP6,
IP7,
170
ResUsageShst
Note: The ResUsageShst table fields have been removed from this sample output.
ResSldvView
ResSldvView is based on the ResUsageSldv table.
REPLACE VIEW DBC.ResSldvView
AS SELECT
/* housekeeping fields */
thedate,
NodeID,
thetime,
GmtTime,
NodeType
(FORMAT 'X(8)')
TheTimestamp,
CentiSecs
(FORMAT '-------9')
Secs
(FORMAT '----9')
NominalSecs
(FORMAT 'ZZZ9')
CodFactor
(FORMAT '-----9')
SummaryFlag
(FORMAT 'X(1)')
Reserved
(FORMAT 'X(1)')
ctlid,
ldvid,
LdvType
(FORMAT 'X(4)')
/* Aliased Fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
AS NodeType,
AS
AS
AS
AS
AS
AS
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
AS LdvType,
CASE
WHEN Reserved IN ('S') THEN 'SSD'
WHEN Reserved IN ('H') THEN 'HDD'
ELSE '---'
END AS LdvKind,
/* PM/WM CODs */
LdvReadRespMax
AS WM_CPU_COD, /* WM CPU Capacity On Demand factor, was invalid field */
LdvWriteRespMax AS WM_IO_COD, /* WM IO Capacity On Demand factor, was invalid field */
/* Spare Field usage */
Spare00
AS Major, /* device major number */
Spare01
AS Minor, /* device minor number */
/* I/O Hard Limits and I/O Capacity On Demand (COD) */
Spare02
AS FullPotentialIota, /* Device Full Pontential iotas
*/
Spare03
AS CodPotentialIota,
/* Device Pontential iotas (after COD) */
Spare04
AS UsedIota,
/* Device used iotas
*/
/* PM/WM CODs */
SpareInt
AS PM_IO_COD,
/* PM IO Capacity On Demand factor
*/
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
( PM_IO_COD * WM_IO_COD / 100 ) (FORMAT '----9') AS IO_COD, /* effective IO COD */
/* Changes in GroupId definition affects the displayed grouping in
* the Res*ByGroup macros. The default setting below shows how to
* select different node families, but does not differentiate the
* resulting groups. If a coexistence system had 5550, 5600 and 5650 nodes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
LdvOutReqSum / NULLIFZERO(LdvOutReqDiv) AS LdvOutReqAvg,
/* Remaining table fields */
171
FROM
DBC.ResUsageSldv
Note: The ResUsageSldv table fields have been removed from this sample output.
ResSpdskView
ResSpdskView is based on the ResUsageSpdsk table.
REPLACE VIEW DBC.ResSpdskView
AS SELECT
/* housekeeping fields */
thedate,
NodeID
thetime,
GmtTime,
NodeType
TheTimestamp,
CentiSecs
Secs
NominalSecs
CodFactor
SummaryFlag
Reserved
PdiskGlobalId,
PdiskDeviceId,
PdiskType
(FORMAT '999-99')
AS NodeID,
(FORMAT 'X(8)')
AS NodeType,
(FORMAT
(FORMAT
(FORMAT
(FORMAT
(FORMAT
(FORMAT
AS
AS
AS
AS
AS
AS
'-------9')
'----9')
'ZZZ9')
'-----9')
'X(1)')
'X(1)')
(FORMAT 'X(4)')
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
AS PdiskType,
/* Aliased Fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
Spare01
AS WM_IO_COD,
/* WM IO
SpareInt
AS PM_IO_COD,
/* PM IO
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
( PM_IO_COD * WM_IO_COD / 100 ) (FORMAT '----9') AS IO_COD, /* effective IO COD */
/* Changes in GroupId definition affects the displayed grouping in
* the Res*ByGroup macros. The default setting below shows how to
* select different node families, but does not differentiate the
* resulting groups. If a coexistence system had 5550, 5600 and 5650 nodes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
/* Remaining table fields */
FROM DBC.ResSpdskView WITH CHECK OPTION;
Note: The ResUsageSpdsk table fields have been removed from this sample output.
172
ResSpmaView
ResSpmaView provides an overview of system operation.
Note: The GroupId column in this view provides a grouping for PE-only nodes.
REPLACE VIEW DBC.ResSpmaView
AS SELECT
/* housekeeping fields */
TheDate,
NodeID (FORMAT '999-99') AS NodeID,
TheTime,
GmtTime,
NodeType,
TheTimestamp,
CentiSecs,
Secs,
NominalSecs,
CodFactor,
NCPUs,
Reserved,
Vproc1,
VprocType1,
Vproc2,
VprocType2,
Vproc3,
VprocType3,
Vproc4,
VprocType4,
Vproc5,
VprocType5,
Vproc6,
VprocType6,
Vproc7,
VprocType7,
MemSize,
NodeNormFactor,
/* Aliased fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
*/
*/
*/
*/
*/
*/
/* transformed fields */
/*PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
( PM_IO_COD * WM_IO_COD / 100 ) (FORMAT '----9') AS IO_COD, /* effective IO COD */
/*
*
*
*
*
*
*
*
*
173
Note: The ResUsageSpma table fields have been removed from this sample output.
174
ResSpsView
ResSpsView is based on the ResUsageSps table.
REPLACE VIEW DBC.ResSpsView
AS SELECT
/* housekeeping fields */
TheDate,
NodeID (FORMAT '999-99') AS NodeID,
TheTime,
GmtTime,
NodeType,
TheTimestamp,
CentiSecs,
Secs,
NominalSecs,
CodFactor,
/* Capacity On Demand: 500 = 50 percent */
NCPUs,
AMPcount,
RowIndex1,
/* SLES10 = PGid, SLES11 = pWDid */
VprType,
PPid,
/* always zero for SLES11
*/
Reserved,
/* Aliased table fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,/*
NumTasks
AS NumProcs, /*
RowIndex1
AS PGid,
/*
RowIndex1
AS pWDid,
/*
ActiveSessions AS NumSets,
/*
*/
175
AS QWaitTimeRequestAvg,
AS
AS
AS
AS
CPUUServ,
CPUUExec,
CpuTime,
CpuPct,
+
+
+
+
+ FileAPtAcqReads +
+ FileAPtPreReads)
+ FileAPtDyRRels)
+ FileAPtFWrites)
+ FileAPtFWriteKB)
FilePDbPresKB
FileSDbPresKB
FileSCiAcqKB
FileSCiPresKB
)
AS LogicalReadPermKB,
+
+ FileTJtAcqKB + FileAPtAcqKB +
+ FileTJtPresKB + FileAPtPresKB)
AS LogicalReadOtherKB,
( FilePDbPreReadKB + FilePDbAcqReadKB )
AS PhysicalReadPermKB,
( FilePCiAcqReadKB + FileSDbAcqReadKB + FileSCiAcqReadKB + FileTJtAcqReadKB + FileAPtAcqReadKB +
FilePCiPreReadKB + FileSDbPreReadKB + FileSCiPreReadKB + FileTJtPreReadKB + FileAPtPreReadKB)
AS PhysicalReadOtherKB,
FilePDbDyRRelKB
AS LogicalWritePermKB,
( FileSDbDyRRelKB +
FilePCiDyRRelKB + FileSCiDyRRelKB + FileTJtDyRRelKB + FileAPtDyRRelKB)
AS LogicalWriteOtherKB,
(ProcBlksSegNoVirtual + ProcBlksSegMDL + ProcBlksSegLock) AS ProcBlksSeg,
(ProcWaitSegNoVirtual + ProcWaitSegMDL + ProcWaitSegLock) AS ProcWaitSeg,
(ProcBlksMisc + ProcBlksNetThrottle + ProcBlksQnl +ProcBlksTime + ProcBlksFlowControl)
AS ProcBlksOther,
/* Donald.P: ProcBlksMonResume = covered by DBLocks */
(ProcWaitMisc + ProcWaitMonResume + ProcWaitNetThrottle +ProcWaitQnl +
ProcWaitTime + ProcWaitFlowControl)
AS ProcWaitOther,
/* Average number of AWTs used based on WorkTimeInuse
WorkTimeInuse/(Centisecs*10)
AS AwtUsedAvg,
*/
176
Note: The ResUsageSps table fields have been removed from this sample output.
177
ResSvdskView
ResSvdskView is based on the ResUsageSvdsk table.
REPLACE VIEW DBC.ResSvdskView
AS SELECT
/* housekeeping fields */
thedate,
NodeID
thetime,
GmtTime,
NodeType
TheTimestamp,
CentiSecs
Secs
NominalSecs
CodFactor
SummaryFlag
Reserved
VprId,
(FORMAT '999-99')
AS NodeID,
(FORMAT 'X(8)')
AS NodeType,
(FORMAT
(FORMAT
(FORMAT
(FORMAT
(FORMAT
(FORMAT
AS
AS
AS
AS
AS
AS
'-------9')
'----9')
'ZZZ9')
'-----9')
'X(1)')
'X(1)')
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
/* Aliased Fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
( PM_IO_COD * WM_IO_COD / 100 ) (FORMAT '----9') AS IO_COD, /* effective IO COD */
/*
*
*
*
odes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
/* Remaining table fields */
FROM DBC.ResUsageSvdsk WITH CHECK OPTION;
Note: The ResUsageSvdsk table fields have been removed from this sample output.
178
ResSvprView
This view allows data to be properly presented and reports all the columns available from the
ResUsageSvpr table.
Note: The data columns in this view will change as the columns in the ResUsageSvpr table
change.
REPLACE VIEW DBC.ResSvprView
AS SELECT
/* housekeeping fields */
thedate,
NodeID,
thetime,
GmtTime,
NodeType,
TheTimestamp,
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
NCPUs,
vprid,
VprType,
/* Aliased fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
Note: The ResUsageSvpr table fields have been removed from this sample output.
179
180
CHAPTER 15
This chapter describes the output format of the resource usage macros and each macro.
<Title of Report>
--------------1st
2nd
1st
Date
Time
Type
Id
Id
Stat
-------- -------- ---- ------ ------ ------99/99/99 99:99:99 AAAA 999-99 999-99 999.99%
999.99%
...........
AAAA 999-99 999-99 999.99%
999-99 999-99 999.99%
99:99:99 AAAA 999-99 999-99 999.99%
...........
Page <num>
2nd
3rd
Stat
Stat ...
-------- -------99999.99 99999.99
99999.99 99999.99
99999.99 99999.99
99999.99 99999.99
99999.99 99999.99
where:
Column
Description
Date
Time
The time at the end of a log interval. Statistics on each line cover the time
period ending at the indicated time.
Type
A virtual processor type, logical device type, host type, or a special type
for certain reports.
NodeID
VprocID
HostID
GroupID
The appropriate statistics. Details are given with the descriptions of each
macro in this chapter.
Numbers are generally displayed with the appropriate fixed format (for
example, 'zzzz9.99') unless the number represents a percentage or sum of
percentages.
Percentages are displayed with the appropriate format (for example,
'zz9.9%', 'zz9' or 'zz9.99').
181
Percentage
Millisecond (ms)
Kilobyte (KB)
Columns whose values depend on the logging rate are never reported as raw data. Instead,
they are converted to a normalized value, such as per second.
All reports are ordered by date, time, type, 1st ID, 2nd ID, and so forth. Repeated date, time,
type, and ID column values are suppressed until a new row presents a different value.
Question Marks
Question marks used as values in the output examples are generated when a division by zero is
made. It represents data that is not available. The numbers in the columns are calculated, for
example, by dividing KB by number of blocks read. When there are no blocks read, KB is
divided by zero. A question mark does not mean there is an error, but indicates that there is no
information to report for this time period.
Usage Notes
To get current data, logging must be enabled on the resource usage table used by the view or
macro.
182
ResAWT Macros
Function
Macro...
ResAWT
ResAWTByAMP
ResAWTByNode
See Macro Execution on page 31 for a description of the FromDate, ToDate, FromTime,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSawt table.
Output Examples
The reports in the following sections are sample output reports from the ResAWT,
ResAWTByAMP, and ResAWTByNode macros.
In the ResAWT output report, the statistics columns, after the Date and Time columns,
provide a summary of the AMP Worker Tasks resource usage.
The following table describes the statistics columns, after the Date and Time columns, in the
ResAWTByAMP output.
Statistics columns
Description
Node ID.
AMP ID.
3 through 24
183
The following table describes the statistics columns, after the Date and Time columns, in the
ResAWTByNode output report.
Statistics columns
Description
Node ID.
2 through 23
The following table describes the columns in all output reports (with the exception of
ResAWTByNode, which has the NodeID column, and ResAWTByAMP, which has the Node
ID and AMP ID columns).
184
Column...
Reports the...
In Flow Ctl
number of times during the log period that the system entered the
flow control state from a non-flow controlled state.
Work 3 AWTs
Column...
Reports the...
For a complete description of the columns above, see Chapter 7: ResUsageSawt Table.
185
Date
Time
-------- -------07/08/12 23:00:00
23:01:00
23:02:00
23:03:00
23:04:00
23:05:00
23:06:00
23:07:00
23:08:00
23:09:00
23:10:00
23:11:00
23:12:00
23:13:00
23:14:00
23:15:00
23:16:00
23:17:00
23:18:00
23:19:00
23:20:00
23:21:00
23:22:00
AMP Worker Task Summary Average Usage per AMP Across System
Mail
In
Flow Work Work New+ Work Work
Box Flow
Ctls New One One Two
3
Depth Ctl? PerSec AWTs AWTs AWTs AWTs AWTs
------ ----- ------ ---- ---- ---- ---- ---8 1.00
0.01
31
22
54
0
0
9 0.00
0.02
28
25
54
0
0
6 0.00
0.00
31
22
54
0
0
3 0.00
0.00
31
22
53
0
0
2 0.00
0.00
31
22
52
0
0
5 0.00
0.00
31
22
53
0
0
3 0.00
0.00
27
24
51
0
0
1 0.00
0.00
21
19
40
0
0
1 0.00
0.00
26
20
46
0
0
2 0.00
0.00
30
20
50
0
0
1 0.00
0.00
29
16
46
0
0
2 0.00
0.00
30
19
49
0
0
2 0.00
0.00
31
21
52
0
0
1 0.00
0.00
29
19
49
0
0
1 0.00
0.00
29
18
47
0
0
2 0.00
0.00
29
19
48
0
0
3 0.00
0.00
34
18
52
0
0
6 0.00
0.00
35
19
54
0
0
8 0.00
0.00
30
23
53
0
0
1 0.00
0.01
25
24
49
0
0
1 0.00
0.00
28
18
46
0
0
7 0.00
0.01
34
20
54
0
0
2 0.00
0.01
30
22
53
0
0
Work
Abrt
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Spwn
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Norm
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Ctl
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Exp
AWTs
---0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
186
Flow
Ctls
PerSec
-----0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
Work
New
AWTs
---31
32
31
32
32
30
32
32
32
32
32
32
30
32
32
32
Work
One
AWTs
---22
22
22
22
22
24
22
22
22
22
22
22
23
22
23
22
New+
One
AWTs
---53
54
54
54
54
53
54
54
54
54
54
54
54
54
52
54
Work
Two
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
3
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Abrt
AWTs
---1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Spwn
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Norm
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Ctl
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Work
Exp
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Max
Work
New
AWTs
---33
34
34
34
34
35
34
34
34
34
35
34
34
34
33
34
Max
Work
One
AWTs
---24
24
24
24
25
23
24
23
23
24
24
24
24
24
25
24
Max
Max Max Max Max Max Max
Work Work Work Work Work Work Work
Two
3
Abrt Spwn Norm Ctl Exp
AWTs AWTs AWTs AWTs AWTs AWTs AWTs
---- ---- ---- ---- ---- ---- ---2
1
1
0
0
0
3
1
0
0
0
0
0
2
1
0
0
0
0
0
2
1
0
0
0
0
0
3
1
0
0
0
0
0
3
1
0
0
0
0
0
3
1
0
0
0
0
0
4
1
0
0
0
0
0
3
1
0
0
0
0
0
3
1
0
0
0
0
0
3
1
0
0
0
0
0
4
1
0
0
0
0
0
3
1
0
0
0
0
0
3
1
0
0
0
0
0
3
1
0
0
0
0
0
3
1
0
0
0
0
0
3
Page
Max
Work
Abrt
AWTs
---1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Max
Work
Spwn
AWTs
---0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Max Max Max
Work Work Work
Norm Ctl Exp
AWTs AWTs AWTs
---- ---- ---0
0
3
0
0
2
0
0
2
0
0
3
0
0
3
0
0
4
0
0
3
0
0
3
0
0
3
0
0
4
0
0
3
0
0
3
0
0
3
0
0
4
0
0
3
0
0
3
0
0
4
0
0
4
0
0
4
0
0
3
0
0
4
187
ResCPUByAMP Macros
Function
Macro...
ResCPUByAMP
ResCPUByAMPOneNode
ResAmpCpuByGroup
See Macro Execution on page 31 for a description of the FromDate, ToDate, FromTime,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSvpr table.
Output Examples
The reports in the following sections are sample output reports from the ResCPUByAMP, the
ResCPUByAMPOneNode, and the ResAmpCpuByGroup macros, respectively, where:
Column...
service work. This is the sum of the Awt User Serv%, the Misc User
Serv%, and AMP Partition 0 user service%.
Note: User service is the time that a CPU is busy executing kernel system
calls or servicing I/O and timer hardware interrupts.
188
Column...
execution work. This is the sum of the Awt User Exec%, Misc User
Exec%, and AMP Partition 0 user execution.
Note: User execution is the time a CPU is busy executing user execution
code, which is the time spent in a user state on behalf of a process.
Total Busy%
service and execution work. This is the sum of the Total User Serv% and
the Total User Exec% columns.
Note: The above CPU statistics represent the aggregate of all time spent in the indicated way
by all CPUs on the node. Because there are multiple CPUs, the Total Busy % should be
compared to a theoretical maximum of 100% times the number of CPUs on the node.
The Node CPU column in the following sample outputs reports the number of CPUs
(NCPUs).
For more information on how to monitor busy AMP Worker Tasks, see AWT Monitor
(awtmon) in Utilities.
Date
-------01/07/12
Page
Vproc
Id
----0
1
Node
Id
-----001-01
001-01
Node
CPUs
-------4
4
Awt
User
Serv%
------0.36%
0.26%
Misc
User
Serv%
------0.00%
0.00%
Awt
User
Exec%
------0.05%
0.12%
Misc
User
Exec%
------0.00%
0.00%
Total
User
Serv%
------0.36%
0.30%
Total
User
Exec%
------0.05%
0.12%
Total
Busy
%
------0.41%
0.42%
09:57:20
0
1
001-01
001-01
4
4
0.41%
0.34%
0.00%
0.00%
0.12%
0.05%
0.00%
0.00%
0.45%
0.38%
0.12%
0.05%
0.58%
0.42%
09:57:40
0
1
001-01
001-01
4
4
0.25%
0.19%
0.00%
0.00%
0.18%
0.06%
0.00%
0.00%
0.28%
0.29%
0.18%
0.06%
0.45%
0.35%
09:58:00
0
1
001-01
001-01
4
4
0.38%
0.31%
0.00%
0.00%
0.08%
0.09%
0.00%
0.00%
0.45%
0.34%
0.08%
0.09%
0.52%
0.42%
09:58:20
0
1
001-01
001-01
4
4
0.31%
0.36%
0.00%
0.00%
0.08%
0.09%
0.00%
0.00%
0.34%
0.40%
0.08%
0.09%
0.41%
0.49%
09:58:40
0
1
001-01
001-01
4
4
0.39%
0.32%
0.00%
0.00%
0.11%
0.12%
0.00%
0.00%
0.41%
0.36%
0.11%
0.12%
0.52%
0.49%
09:59:00
0
1
001-01
001-01
4
4
0.29%
0.21%
0.00%
0.00%
0.11%
0.09%
0.00%
0.00%
0.30%
0.22%
0.11%
0.09%
0.41%
0.31%
09:59:20
0
1
001-01
001-01
4
4
0.30%
0.30%
0.00%
0.00%
0.06%
0.19%
0.00%
0.00%
0.31%
0.32%
0.06%
0.19%
0.38%
0.51%
09:59:40
0
1
001-01
001-01
4
4
0.40%
0.26%
0.00%
0.00%
0.09%
0.08%
0.00%
0.00%
0.46%
0.38%
0.09%
0.08%
0.55%
0.45%
10:00:00
0
1
001-01
001-01
4
4
0.32%
0.28%
0.00%
0.00%
0.08%
0.09%
0.00%
0.00%
0.34%
0.31%
0.08%
0.09%
0.41%
0.40%
Time
-------09:57:00
189
Date
-------01/07/12
Page
68
Vproc
Id
----0
1
NCPUs
----4
4
Awt
User
Serv%
------0.36%
0.26%
09:57:20
0
1
4
4
0.41%
0.34%
0.00%
0.00%
0.12%
0.05%
0.00%
0.00%
0.45%
0.38%
0.12%
0.05%
0.58%
0.42%
09:57:40
0
1
4
4
0.25%
0.19%
0.00%
0.00%
0.18%
0.06%
0.00%
0.00%
0.28%
0.29%
0.18%
0.06%
0.45%
0.35%
09:58:00
0
1
4
4
0.38%
0.31%
0.00%
0.00%
0.08%
0.09%
0.00%
0.00%
0.45%
0.34%
0.08%
0.09%
0.52%
0.42%
09:58:20
0
1
4
4
0.31%
0.36%
0.00%
0.00%
0.08%
0.09%
0.00%
0.00%
0.34%
0.40%
0.08%
0.09%
0.41%
0.49%
09:58:40
0
1
4
4
0.39%
0.32%
0.00%
0.00%
0.11%
0.12%
0.00%
0.00%
0.41%
0.36%
0.11%
0.12%
0.52%
0.49%
09:59:00
0
1
4
4
0.29%
0.21%
0.00%
0.00%
0.11%
0.09%
0.00%
0.00%
0.30%
0.22%
0.11%
0.09%
0.41%
0.31%
Time
-------09:57:00
Misc
User
Serv%
------0.00%
0.00%
Awt
User
Exec%
------0.05%
0.12%
Misc
User
Exec%
------0.00%
0.00%
Total
User
Serv%
------0.36%
0.30%
Total
User
Exec%
------0.05%
0.12%
Total
Busy
%
------0.41%
0.42%
Date
-------01/07/12
190
Page
Node
CPUs
-------4
Awt
User
Serv%
------0.32%
Misc
User
Serv%
------0.00%
Awt
User
Exec%
------0.07%
Misc
User
Exec%
------0.00%
Total
User
Serv%
------0.36%
Total
User
Exec%
------0.07%
Total
Busy
%
------0.43%
0.33%
0.00%
0.08%
0.00%
0.36%
0.08%
0.44%
09:52:20
0.35%
0.00%
0.07%
0.00%
0.37%
0.07%
0.44%
09:52:40
0.36%
0.00%
0.09%
0.00%
0.39%
0.09%
0.48%
09:53:00
0.27%
0.00%
0.09%
0.00%
0.28%
0.09%
0.37%
09:53:20
0.29%
0.00%
0.06%
0.00%
0.34%
0.06%
0.40%
09:53:40
0.36%
0.00%
0.06%
0.00%
0.40%
0.06%
0.46%
09:54:00
0.35%
0.00%
0.11%
0.00%
0.38%
0.11%
0.49%
09:54:20
0.34%
0.00%
0.07%
0.00%
0.36%
0.07%
0.43%
09:54:40
0.41%
0.00%
0.04%
0.00%
0.43%
0.04%
0.47%
09:55:00
0.28%
0.00%
0.09%
0.00%
0.28%
0.09%
0.37%
09:55:20
0.35%
0.00%
0.09%
0.00%
0.43%
0.09%
0.53%
09:55:40
0.34%
0.00%
0.06%
0.00%
0.42%
0.06%
0.48%
09:56:00
0.26%
0.00%
0.08%
0.00%
0.29%
0.08%
0.37%
Time
-------09:51:40
Group
Id
----A
09:52:00
191
ResCPUByPE Macros
Function
Macro...
Reports...
ResCPUByPE
ResCPUByPEOneNode
ResPeCpuByGroup
See Macro Execution on page 31 for a description of the FromDate, ToDate, FromTime,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSvpr table.
Output Examples
The reports in the following sections are sample output reports from the ResCPUByPE,
ResCPUByPEOneNode, and ResPeCPUByGroup macros, respectively, where:
192
Column...
service work. This is the sum of the four user service columns above plus PE
Partition 0 user service.
Column...
execution work. This is the sum of the four user execution columns above
plus PE Partition 0 user execution.
Total Busy%
service and execution work. This is the sum of the Total User Serv% and the
Total User Exec% columns.
Note: The above CPU statistics represent the aggregate of all time spent in the indicated way
by all CPUs on the node. Because there are multiple CPUs, the Total Busy % should be
compared to a theoretical maximum of 100% times the number of CPUs on the node.
The Node CPU column in the following sample outputs reports the number of CPUs
(NCPUs).
CPU USAGE BY PE
Vproc
Node Node
Date
Time
Id
Id CPUs
-------- -------- ----- ------ ---01/07/12 09:57:00 16382 001-01
4
16383 001-01
4
Disp
Ses
Misc
User
User
User
Serv%
Serv%
Serv%
------- ------- ------0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
Disp
User
Exec%
------0.00%
0.00%
Ses
User
Exec%
------0.00%
0.00%
Misc
User
Exec%
------0.00%
0.00%
Total
Total
Total
User
User
Busy
Serv%
Exec%
%
------ ------ ------0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4
4
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
Vproc
Date
Time
Id
------------ ----01/08/21 15:41:00 2
Node
CPUs
---4
Disp
User
Serv%
-----0.05%
Ses
User
Serv%
-----0.00%
Misc
User
Serv%
-----0.00%
Disp
User
Exec%
-----0.01%
Ses
User
Exec%
-----0.00%
Misc
User
Exec%
-----0.00%
Total
User
Serv%
-----0.08%
Total
User
Exec%
-----0.58%
Total
Busy
%
----0.7%
15:42:00 2
0.01%
0.00%
0.00%
0.00%
0.00%
0.00%
0.02%
0.18%
0.2%
15:43:00 2
0.02%
0.00%
0.00%
0.00%
0.00%
0.00%
0.04%
0.20%
0.2%
15:44:00 2
0.02%
0.00%
0.00%
0.00%
0.00%
0.00%
0.05%
0.56%
0.6%
193
01/08/27
15:45:00 2
0.01%
0.00%
0.00%
0.00%
0.00%
0.00%
0.02%
0.18%
0.2%
16:21:00 2
0.08%
0.00%
0.00%
0.00%
0.00%
0.00%
0.13%
0.70%
0.8%
Group Node
Date
Time
Id CPUs
----------- ----- ---01/07/12 04:55:40 A
4
Disp
User
Serv%
-----0.00%
Ses
User
Serv%
------0.00%
Misc
User
Serv%
-----0.00%
Disp
User
Exec%
-----0.00
0.00
Ses
User
Exec%
-----0.00%
Misc
Total
User
User
Exec%
Serv%
------- -----0.00%
0.00%
0.00%
0.00%
0.00%
Total
User
Exec%
----0.00%
Total
Busy
%
----0.00%
0.00%
0.00%
04:56:00
0.00%
0.00%
0.00%
04:56:20
0.00%
0.00%
0.00%
0.00
0.00%
0.00%
0.00%
0.00%
0.00%
04:56:40
0.00%
0.00%
0.00%
0.00
0.00%
0.00%
0.00%
0.00%
0.00%
04:57:00
0.00%
0.00%
0.00%
0.00
0.00%
0.00%
0.00%
0.00%
0.00%
04:57:20
0.00%
0.00%
0.00%
0.00
0.00%
0.00%
0.00%
0.00%
0.00%
04:57:40
0.00%
0.00%
0.00%
0.00
0.00%
0.00%
0.00%
0.00%
0.00%
04:58:00
0.00%
0.00%
0.00%
0.00
0.00%
0.00%
0.00%
0.00%
0.00%
04:58:20
0.00%
0.00%
0.00%
0.00
0.00%
0.00%
0.00%
0.00%
0.00%
194
ResCPUByNode Macros
Function
Macro...
Reports how...
ResCPUByNode
ResCPUOneNode
ResCPUByGroup
See Macro Execution on page 31 for a description of the FromDate, ToDate, FromTime,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSpma table.
Output Examples
The reports in the following sections are sample output reports from the ResCPUByNode, the
ResCPUOneNode, and the ResCPUByGroup macros.
The following columns are the averages for all CPUs on the node.
This column ...
I/O Wait %
Total Busy %
195
where:
This variable
User service
User execution
user execution code, which is the time spent in a user state on behalf of a
process.
Date
-------01/07/12
Time
-------09:51:40
09:52:00
09:52:20
09:52:40
09:53:00
09:53:20
Node
Id
-----001-01
001-01
001-01
001-01
001-01
001-01
I/O
Wait
%
-----16.2%
17.2%
15.5%
16.1%
15.8%
15.5%
Total
User
Serv%
-----1.4%
1.3%
1.6%
1.5%
1.0%
1.5%
45
Total
User
Exec%
-----0.1%
0.2%
0.2%
0.2%
0.2%
0.2%
Total
Busy
%
-----1.5%
1.5%
1.8%
1.7%
1.2%
1.7%
Date
-------01/07/12
196
Time
-------09:44:20
09:44:40
09:45:00
09:45:20
09:45:40
09:46:00
09:46:20
I/O
Wait
%
-----16.2%
16.9%
16.5%
17.0%
17.4%
16.6%
16.2%
Page
01
Total
Total
Total
User
User
Busy
Serv%
Exec%
%
------ ------ -----1.6%
0.2%
1.9%
1.3%
0.2%
1.5%
1.1%
0.1%
1.2%
1.7%
0.2%
1.9%
1.1%
0.2%
1.3%
1.3%
0.2%
1.5%
1.6%
0.2%
1.8%
Date
-------00/10/16
Time
-------11:25:00
Group
Id
----A
B
Page 2
I/O
Wait
%
-----0.0%
0.0%
Total
User
Serv%
-----0.0%
0.0%
Total
User
Exec%
-----0.0%
0.0%
Total
Busy
%
-----0.0%
0.0%
11:30:00
A
B
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
11:35:00
A
B
0.0%
0.0%
0.6%
0.3%
0.6%
0.4%
1.1%
0.7%
11:40:00
A
B
0.0%
0.0%
1.3%
1.1%
0.9%
0.9%
2.2%
2.0%
11:45:00
A
B
0.0%
0.0%
0.6%
0.3%
0.9%
1.0%
1.5%
1.3%
11:50:00
A
B
0.0%
0.0%
0.6%
0.6%
0.6%
0.8%
1.2%
1.3%
11:55:00
A
B
0.0%
0.0%
1.5%
1.6%
1.1%
1.0%
2.6%
2.6%
12:00:00
A
B
0.0%
0.0%
0.5%
0.7%
0.8%
0.9%
1.3%
1.6%
12:05:00
A
B
0.0%
0.0%
1.2%
0.6%
0.7%
0.5%
1.8%
1.1%
12:10:00
A
B
0.0%
0.0%
0.6%
1.1%
0.9%
1.2%
1.6%
2.2%
12:15:00
A
B
0.0%
0.0%
0.6%
0.5%
0.8%
0.7%
1.4%
1.2%
12:20:00
A
B
0.0%
0.0%
1.4%
1.1%
0.8%
0.8%
2.2%
1.9%
12:25:00
A
B
0.0%
0.0%
0.9%
0.9%
1.0%
0.9%
1.9%
1.8%
12:30:00
A
B
0.0%
0.0%
0.6%
0.6%
0.6%
0.8%
1.2%
1.4%
12:35:00
A
B
0.0%
0.0%
1.6%
1.3%
1.1%
0.9%
2.7%
2.2%
197
ResHostByLink Macros
Function
Macro...
ResHostByLink
ResHostOneNode
ResHostByGroup
Note: The ResHostByLink macro syntax does not include the FromNode and ToNode
parameters to specify a range of nodes.
EXEC ResHostOneNode
(FromDate,ToDate,FromTime,ToTime,Node);
EXEC ResHostByGroup
(FromDate,ToDate,FromTime,ToTime);
See Macro Execution on page 31 for a description of the FromDate, FromTime, ToDate,
ToTime, and Node parameters.
Usage Notes
The ResHostByLink macros help you answer the following questions:
Is my set up correct?
Am I making good use of the channels? If not, how high are they? If not high, then there
may not be enough host resources.
Study the incoming traffic. Problems with incoming traffic may be simply caused by an
incorrect configuration. Once configured correctly, if there is still a traffic problem, consider
studying the TCP/IP network traffic, for example, when doing an export, the ResUsageSpma
table may show 30 million rows/log period.
There must be ResUsageShst table rows logged for the period of time that the macro is going
to produce a report for.
Output Examples
The reports in the following sections are sample output reports from the ResHostByLink, the
ResHostOneNode, and the ResHostByGroup macros, respectively, where:
198
Column...
Reports the...
Host Type
IBMECS
IBMMUX
IBMNET
NETWORK
Host Id
KBs/Blk Read
KBs/Blk Write
Msgs/Blk Read
Msgs/Blk Write
Page
KBs
KBs
Blks Blks
Blk
Blk
KBs
KBs Msgs
Msgs
Avg
Max
Node Vproc
Host Host Read
Write Read Write Read Write /Blk
/Blk /Blk
/Blk ReqQ ReqQ
Date
Time
Id
Id
Type
Id /Sec
/Sec
/Sec
/Sec Fail% Fail% Read
Write Read Write Len
Len
------- ------- ------ ----- ------- ----- ----- ------ ----- ----- ----- ----- ------ ------ ----- ----- ----- ---00/10/16 11:07:00 105-04 65535 NETWORK
0 24.0
13.3
0.1
0.1
0.0%
0.0% 350.5
186.2 0.8
0.8
0.0
0.0
IBMMUX 101 0.0
0.0
0.0
0.0
?
?
?
?
?
0.0
0.0
0.0
105-05 65535 NETWORK
0
IBMMUX 202
IBMMUX 304
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
IBMMUX 101
105-05 65535 NETWORK
0
IBMMUX 202
IBMMUX 304
0.0
4.1
0.0
0.0
0.0
22.6
0.0
0.0
0.0
0.1
0.0
0.0
0.0
0.1
0.0
0.0
?
?
?
?
0.0%
?
?
?
?
?
?
0.0%
?
?
?
?
?
?
?
?
?
?
?
?
?
?
0.0
0.0
0.0
0.0
0.0
0.0
?
391.8
?
?
?
206.5
?
?
?
0.9
?
?
?
0.9
?
?
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
199
Blks Blks
Blk
Blk
Read Write Read Write
/Sec /Sec Fail% Fail%
----- ----- ----- ----0.0
0.0
?
?
0.0
0.0
?
?
0.0
0.0
?
?
Page
KBs
KBs
/Blk
/Blk
Read
Write
------ ------?
?
?
?
?
?
Vproc Host
Date
Time
Id Type
-------- -------- ----- -------00/10/16 11:07:00 65535 NETWORK
IBMMUX
IBMMUX
Host
Id
----0
202
304
0
202
304
44.1
0.0
0.0
22.6
0.0
0.0
0.1
0.0
0.0
0.1
0.0
0.0
0.0%
?
?
0.0%
?
?
391.8
?
?
0
202
304
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
?
?
?
?
?
?
?
?
?
Msgs Msgs
Avg
Max
/Blk /Blk ReqQ ReqQ
Read Write
Len
Len
----- ----- ----- --?
?
0.0
0.0
?
?
0.0
0.0
?
?
0.0
0.0
206.5
?
?
?
?
?
0.9
?
?
0.9 0.0
?
0.0
?
0.0
0.0
0.0
0.0
?
?
?
?
?
?
0.0
0.0
0.0
0.0
0.0
0.0
Time
-------11:30:00
11:30:00
11:35:00
11:35:00
11:40:00
11:40:00
11:45:00
11:45:00
11:50:00
11:50:00
11:55:00
11:55:00
12:00:00
12:00:00
12:05:00
12:05:00
12:10:00
12:10:00
12:15:00
12:15:00
12:20:00
12:20:00
12:25:00
12:25:00
12:30:00
Group
Id
-----A
B
A
B
A
B
A
B
A
B
A
B
A
B
A
B
A
B
A
B
A
B
A
B
A
Host
Type
-------NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
NETWORK
KBs
Read
/Sec
-------0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
KBs
Write
/Sec
-------0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
Blks
Read
/Sec
----0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
Blks
Write
/Sec
----0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
Blk
Read
Fail%
----?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
Blk
Write
Fail%
----?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
KBs
/Blk
Read
------?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
KBs
/Blk
Write
------?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
Msgs
/Blk
Read
----?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
Msgs
/Blk
Write
----?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
Avg
ReqQ
Len
----0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
Max
ReqQ
Len
----0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
ResLdvByNode Macros
Function
Macro...
ResLdvByNode
each node by totaling its controller links into one summarized node
output line.
ResLdvOneNode
a specific node by totaling all its controller links into one summarized
node output line.
ResLdvByGroup
a node grouping.
200
See Macro Execution on page 31 for a description of the FromDate, FromTime, ToDate,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSldv table.
Output Examples
The reports in the following sections are sample output reports from the ResLdvByNode, the
ResLdvOneNode, and the ResLdvByGroup macros, respectively, where:
Column...
Reports the...
Reads / Sec
Writes / Sec
Rd KB/ I/O
Wrt KB / I/O
Node
Id
-----001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
Reads
/ Sec
-------0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
Writes
/ Sec
-------2.00
1.27
2.20
1.20
3.53
1.33
2.00
1.33
1.87
40.67
3.40
5.40
1.87
KB
/ I/O
-----4.20
5.89
5.88
6.22
3.96
5.85
4.30
5.65
8.71
31.27
16.57
7.44
14.29
Avg
I/O
Resp
------0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
Page
1
Avg
Out
Out
Rqst
Rqsts Time %
----- ----0.0
1.3%
0.0
0.6%
0.0
1.3%
0.0
0.8%
0.0
2.5%
0.0
1.0%
0.0
1.3%
0.0
0.7%
0.0
1.0%
4.0 100.0%
0.0
1.4%
0.0
5.2%
0.0
0.9%
201
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
0.13
0.07
0.00
0.44
0.50
0.48
0.51
0.88
0.97
0.98
1.00
7.98
9.21
8.73
9.01
8.45
8.85
2.72
0.34
0.28
55.42
109.53
111.57
107.32
98.02
100.64
100.83
410.24
******
******
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.0
1.2
1.3
1.1
1.1
1.0
1.0
0.3
0.1
0.0
3.2%
9.1%
9.1%
9.1%
11.2%
9.1%
9.1%
9.1%
9.2%
8.6%
Ldv
Date Type
-------- ---06/09/26 DISK
SDSK
Time
-------10:09:45
10:10:00
10:10:15
10:10:30
10:10:45
10:11:00
10:11:15
10:11:30
10:11:45
10:12:00
10:12:15
10:12:30
10:12:45
Reads
/ Sec
-------0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
Writes
/ Sec
-------2.00
1.27
2.20
1.20
3.53
1.33
2.00
1.33
1.87
40.67
3.40
5.40
1.87
KB
/ I/O
-----4.20
5.89
5.88
6.22
3.96
5.85
4.30
5.65
8.71
31.27
16.57
7.44
14.29
Avg
I/O
Resp
------0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
Avg
Out
Rqsts
----0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
4.0
0.0
0.0
0.0
10:09:45
10:10:00
10:10:15
10:10:30
10:10:45
10:11:00
10:11:15
10:11:30
10:11:45
10:12:00
10:12:15
10:12:30
10:12:45
0.13
0.07
0.00
0.44
0.50
0.48
0.51
0.88
0.97
0.98
0.59
0.08
0.00
1.00
7.98
9.21
8.73
9.01
8.45
8.85
2.72
0.34
0.28
3.14
4.15
0.39
55.42
109.53
111.57
107.32
98.02
100.64
100.83
410.24
******
******
285.78
16.99
32.94
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.0
1.2
1.3
1.1
1.1
1.0
1.0
0.3
0.1
0.0
0.1
0.1
0.0
Out
Rqst
Time %
-----1.3%
0.6%
1.3%
0.8%
2.5%
1.0%
1.3%
0.7%
1.0%
100.0%
1.4%
5.2%
0.9%
3.2%
9.1%
9.1%
9.1%
11.2%
9.1%
9.1%
9.1%
9.2%
8.6%
9.1%
9.2%
1.0%
Grp
Date Id
-------- --06/09/26 A
Ldv
Type
---DISK
SDSK
202
Time
--------10:09:45
10:10:00
10:10:15
10:10:30
10:10:45
10:11:00
10:11:15
10:11:30
10:11:45
10:12:00
10:12:15
10:12:30
10:12:45
Reads
/ Sec
-------0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
10:09:45
10:10:00
10:10:15
0.13
0.07
0.00
Writes
Rd KB
Wrt KB
/ Sec
/ I/O
/ I/O
-------- ------- -----2.00
?
4.20
1.27
?
5.89
2.20
?
5.88
1.20
?
6.22
3.53
?
3.96
1.33
?
5.85
2.00
?
4.30
1.33
?
5.65
1.87
?
8.71
40.67
?
31.27
3.40
?
16.57
5.40
?
7.44
1.87
?
14.29
1.00
7.98
9.21
121.27
139.00
?
46.64
109.28
111.57
Avg
I/O
Resp
------0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
Max
Concur
Rqsts
----0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
Out
Rqst
Time %
-----1.3%
0.6%
1.3%
0.8%
2.5%
1.0%
1.3%
0.7%
1.0%
100.0%
1.4%
5.2%
0.9%
3.2%
9.1%
9.1%
0.44
0.50
0.48
0.51
0.88
0.97
0.98
0.59
0.08
0.00
8.73
9.01
8.45
8.85
2.72
0.34
0.28
3.14
4.15
0.39
113.33
12.12
12.01
12.08
******
******
******
******
295.14
?
107.02
102.76
105.72
105.93
94.90
39.43
50.13
9.85
11.29
32.94
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
9.1%
11.2%
9.1%
9.1%
9.1%
9.2%
8.6%
9.1%
9.2%
1.0%
203
ResMemMgmtByNode Macros
Function
Macro...
ResMemMgmtByNode
ResMemMgmtOneNode
a specific node.
ResMemByGroup
a node grouping.
See Macro Execution on page 31 for a description of the FromDate, FromTime, ToDate,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSpma table.
Output Examples
The reports in the following sections are sample output reports from the
ResMemMgmtByNode, the ResMemMgmtOneNode macros, and the ResMemByGroup,
respectively, where:
Column...
Reports the...
% Mem Free
204
Aloc Fail %
Column...
Reports the...
Ages/ Sec
average number of times memory pages were aged out per second.
# Proc Swp
average number of memory paging KB, read from disk per second.
Page reads include both memory text pages and task context pages, such
as scratch, stack, etc.
average number of disk segments reread back into memory, after being
swapped, out per second.
Swap reads include all reread disk segments that had been previously
dropped from memory because their ancestor processes were swapped
out.
KB/Swp Drp
average size, in KB, of disk segments dropped from memory because their
ancestor processes were swapped out.
KB/Swp Rd
average size, in KB, of reread disk segments that had been previously
dropped from memory because their ancestor processes were swapped
out.
average total number of paged, swapped page, or segment read KB, per
second. Includes both the memory text pages and task context pages (Pg
Rds/ Sec), and the disk segments (Swp Rds/ Sec), reread back into
memory after being swapped out.
P+S IO KB %
205
Date
-------11/02/01
Time
-------09:15:00
09:16:00
09:17:00
09:18:00
09:19:00
09:20:00
09:21:00
09:22:00
09:23:00
09:24:00
09:25:00
09:26:00
09:27:00
09:28:00
09:29:00
09:30:00
09:31:00
09:32:00
09:33:00
09:34:00
09:35:00
09:36:00
09:37:00
Node
Id
-----001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
%
Mem
Free
---26%
27%
26%
27%
26%
26%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
Page
Read KBs
/Sec
--------0
15
786
407
1,628
648
788
113
145
36
203
139
79
40
6
22
41
14
43
0
0
7
0
Page+Swap
Read KBs
/Sec
--------0
19
813
446
1,698
837
957
143
184
42
234
164
85
40
8
31
47
15
43
3
0
7
0
Page
Page
P+S
IO KB %
------0%
26%
85%
73%
14%
8%
11%
1%
1%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
Date
-------11/02/01
206
Time
-------09:15:00
09:16:00
09:17:00
09:18:00
09:19:00
09:20:00
09:21:00
09:22:00
09:23:00
09:24:00
09:25:00
09:26:00
09:27:00
09:28:00
09:29:00
09:30:00
09:31:00
09:32:00
09:33:00
09:34:00
09:35:00
09:36:00
09:37:00
09:38:00
09:39:00
09:40:00
09:41:00
09:42:00
09:43:00
09:44:00
09:45:00
09:46:00
09:47:00
09:48:00
09:49:00
%
Mem
Free
---26%
27%
26%
27%
26%
26%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
Page
Read KBs
/Sec
-------0
15
786
407
1628
648
788
113
145
36
203
139
79
40
6
22
41
14
43
0
0
7
0
0
16
2
30
23
0
0
0
1
0
0
6
Page+Swap
Read KBs
/Sec
--------0
19
813
446
1698
837
957
143
184
42
234
164
85
40
8
31
47
15
43
3
0
7
0
1
19
4
31
24
0
0
0
1
1
4
7
P+S
IO KB %
------0%
26%
85%
73%
14%
8%
11%
1%
1%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
1%
1%
0%
0%
0%
10%
1%
2%
5%
27%
3%
Date
-------11/02/01
Time
-------09:15:00
09:16:00
09:17:00
09:18:00
09:19:00
09:20:00
09:21:00
09:22:00
09:23:00
09:24:00
09:25:00
09:26:00
09:27:00
09:28:00
09:29:00
09:30:00
09:31:00
09:32:00
09:33:00
09:34:00
09:35:00
09:36:00
09:37:00
Group
Id
-------AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
AMPNodes
%
Mem
Free
---26%
27%
26%
27%
26%
26%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
27%
Page
Read KBs
/Sec
--------0
15
786
407
1,628
648
788
113
145
36
203
139
79
40
6
22
41
14
43
0
0
7
0
Page
Page+Swap
Read KBs
/Sec
--------0
19
813
446
1,698
837
957
143
184
42
234
164
85
40
8
31
47
15
43
3
0
7
0
P+S
IO KB %
------0%
26%
85%
73%
14%
8%
11%
1%
1%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
207
ResNetByNode Macros
Function
Macro...
ResNetByNode
each node.
ResNetOneNode
a specific node.
ResNetByGroup
See Macro Execution on page 31 for a description of the FromDate, FromTime, ToDate,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSpma table.
Output Examples
The reports in the following sections are sample output reports from the ResNetByNode, the
ResNetOneNode, and the ResNetByGroup macros, respectively, where:
Column...
Reports the...
% Retries
percent of total net circuit attempts that caused software backoffs (BNS
service-blocked occurrences).
Note: This value reflects how many times the hardware backed off a
connection because the switch nodes could not route to the end point. That
implies that the end point was busy or, in switch node terms, the routing
path was busy. A value over 100% does not imply a problem, but shows that
there were multiple attempts to send new messages while the Bynet path was
busy. On a busy system, this can be a normal level of activity.
208
Column...
Reports the...
KB/ IO
% PtP
percent of total net reads and writes that are point-to-point reads and writes.
% Brd
percent of total net reads and writes that are broadcast reads and writes.
Note: In the following examples, the NodeID column appears only in the ResNetByNode
output report. The GroupID column only appears in the ResNetByGroup output report. For
all the examples, the values in the Total Reads/ Sec and Total Writes/ Sec are expected to be
equal on SMP (single-node, vnet) systems.
Date
Time
---------- -------2000/10/16 11:20:00
Page 2
Total
Total
Total
Node
% ReReads
Writes
IOs
KB
Id
tries
/Sec
/Sec
/Sec
/IO
------ ------ ------- ------- ------- -----001-03
0.0%
0.46
0.39
0.85
0.4
001-04
0.0%
0.55
0.47
1.02
0.4
%
PtP
--92
93
%
Brd
--8
7
11:25:00
001-03
001-04
0.0%
0.0%
0.39
0.39
0.33
0.32
0.72
0.71
0.4
0.4
90
90
10
10
11:30:00
001-03
001-04
0.0%
0.0%
0.44
0.55
0.37
0.47
0.81
1.02
0.4
0.4
91
92
9
8
11:35:00
001-03
001-04
2.5%
2.5%
20.84
23.07
12.53
15.51
33.37
38.58
1.8
1.8
73
74
27
26
11:40:00
001-03
001-04
24.7%
20.6%
35.44
37.16
35.56
38.87
71.00
76.03
17.4
13.8
93
93
7
7
11:45:00
001-03
001-04
15.9%
28.1%
13.47
11.79
10.71
12.63
24.18
24.42
8.3
12.8
76
83
24
17
11:50:00
001-03
001-04
3.3%
4.1%
18.92
22.77
14.18
20.97
33.11
43.74
1.3
1.9
77
75
23
25
Date
-------00/10/16
Time
-------10:19:00
10:20:00
10:21:00
10:22:00
10:23:00
10:30:00
10:35:00
10:40:00
10:45:00
10:50:00
10:55:00
11:00:00
11:05:00
11:10:00
11:15:00
11:20:00
% Retries
-----0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
Total
Reads
/Sec
------0.78
2.87
3.08
2.13
2.23
0.25
0.53
0.51
0.48
0.52
0.46
0.58
0.57
0.54
0.46
0.46
Total
Writes
/Sec
------0.07
2.65
2.07
2.07
2.17
0.18
0.47
0.44
0.42
0.45
0.39
0.51
0.38
0.47
0.40
0.39
Total
IOs
/Sec
------0.85
5.52
5.15
4.20
4.40
0.43
1.00
0.95
0.90
0.97
0.85
1.09
0.95
1.01
0.86
0.85
Page 1
KB
/IO
-----1.1
0.5
0.6
0.5
0.5
0.4
0.4
0.5
0.4
0.5
0.4
0.4
0.5
0.4
0.5
0.4
%
PtP
--8
96
80
98
98
84
93
93
92
93
92
94
79
93
92
92
%
Brd
--92
4
20
2
2
16
7
7
8
7
8
6
21
7
8
8
209
Date
---------2000/10/16
210
Group
% ReTime
Id
tries
-------- ------ -----11:20:00
B
0.0%
Page 2
Reads
Writes
/Sec
/Sec
------- ------0.55
0.47
IOs
/Sec
------1.02
KB
%
%
/IO PtP Brd
------ --- --0.4
93
7
11:25:00
A
B
0.0%
0.0%
0.39
0.39
0.33
0.32
0.72
0.71
0.4
0.4
90
90
10
10
11:30:00
A
B
0.0%
0.0%
0.44
0.55
0.37
0.47
0.81
1.02
0.4
0.4
91
92
9
8
11:35:00
A
B
2.5%
2.5%
20.84
23.07
12.53
15.51
33.37
38.58
1.8
1.8
73
74
27
26
11:40:00
A
B
24.7%
20.6%
35.44
37.16
35.56
38.87
71.00
76.03
17.4
13.8
93
93
7
7
11:45:00
A
B
15.9%
28.1%
13.47
11.79
10.71
12.63
24.18
24.42
8.3
12.8
76
83
24
17
11:50:00
A
B
3.3%
4.1%
33.11
43.74
1.3
1.9
77
75
23
25
11:55:00
A
B
55.8%
41.1%
73.46
88.72
22.3
17.7
95
96
5
4
12:00:00
A
B
5.1%
5.8%
32.27
33.16
2.0
1.7
73
70
27
30
12:05:00
A
B
24.2%
10.6%
33.09
26.97
28.57
25.97
61.67
52.94
14.6
5.5
90
91
10
9
12:10:00
A
B
73.8%
57.4%
17.33
28.12
14.01
26.65
31.34
54.77
23.2
23.0
91
93
9
7
12:15:00
A
B
3.9%
6.3%
37.12
36.83
2.0
1.8
73
73
27
27
12:20:00
A
B
48.7%
34.9%
70.83
71.86
18.0
13.2
95
93
5
7
18.92
22.77
40.01
44.35
19.11
22.13
21.02
22.13
36.18
38.16
14.18
20.97
33.45
44.37
13.16
11.03
16.10
14.70
34.65
33.70
ResNode Macros
Function
Macro...
ResNode
ResOneNode
ResNodeByNode
ResNodeByGroup
Note: The ResNode macro syntax does not include the FromNode and ToNode parameters to
specify a range of nodes.
EXEC ResOneNode
(FromDate,ToDate,FromTime,ToTime,Node);
EXEC ResNodeByNode
(FromDate,ToDate,FromTime,ToTime,FromNode,ToNode);
EXEC ResNodeByGroup
(FromDate,ToDate,FromTime,ToTime);
See Macro Execution on page 31 for a description of the FromDate, ToDate, FromTime,
ToTime, FromNode, ToNode, and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSpma table.
Output Examples
The reports in the following sections are sample output reports from the ResNode, the
ResOneNode, the ResNodebyNode, and the ResNodeByGroup macros, respectively.
The following table describes the statistics columns, after the Date and Time columns, in the
ResNode output report.
Statistics columns
Description
1 through 3
CPU usage.
4 through 8
211
Statistics columns
Description
9 through 14
Memory interface.
15 through 17
Net interface.
18 and 19
The following table describes the statistics columns, after the Date and Time columns, in the
ResOneNode output report.
Statistics columns
Description
1 and 2
CPU usage.
3 through 6
7 through 11
Memory interface.
12 through 14
Net interface.
15 and 16
The following table describes the statistics columns, after the Date and Time columns, in the
ResNodebyNode output report.
Statistics columns
Description
1 and 2
CPU usage.
3 through 6
7 through 12
Memory interface.
13 through 15
Net interface.
16 and 17
The following table describes the statistics columns, after the Date and Time columns, in the
ResNodeByGroup output report.
212
Statistics columns
Description
2 and 3
CPU usage.
4 through 7
8 through 12
Memory interface.
Statistics columns
Description
13 through 15
Net interface.
16 and 17
The following table describes the statistics columns in all output reports (with the exception
of ResNodeByNode, which has a NodeID column, and ResNodeByGroup, which has a
GroupId column).
Column
Reports the
CPU Bsy %
percent of time the CPUs are busy, based on average CPU usage
per node.
WIO %
percent of time the CPUs are idle and waiting for completion of an
I/O operation.
P+S % of IO KBs
percent of logical device read and write KB that are for paging
purposes.
Read % of IO KBs
Ldv KB / IO
Fre Mem %
total point-to-point net reads and writes per second, per node.
Net Rtry %
number of times per second, per node, that processes other than
message and timer waits are blocked.
ms /Blk
Net Rx % Bsy
Net Tx % Bsy %
213
Date
Time
-------- -------11/02/01 09:15:00
09:16:00
09:17:00
09:18:00
09:19:00
09:20:00
09:21:00
09:22:00
09:23:00
09:24:00
09:25:00
09:26:00
09:27:00
09:28:00
09:29:00
09:30:00
09:31:00
09:32:00
09:33:00
09:34:00
09:35:00
09:36:00
09:37:00
09:38:00
09:39:00
09:40:00
09:41:00
09:42:00
09:43:00
09:44:00
09:45:00
09:46:00
09:47:00
09:48:00
09:49:00
09:50:00
214
Page
CPU
Ldv Ldv
P+S
Read Ldv Fre TPtP TMlt Net Proc
ms Net Net
Eff WIO
IO KBs Eff
%of
% of
KB Mem
IOs
IOs Rtry Blks
/ Rx % Tx %
%
%
/Sec
% IO KBs IO KBs /IO
% /Sec /Sec
% /Sec
Blk Busy Busy
--- --- ---------- --- ------ ------ ---- --- ----- ----- ---- ----- ------ ---- ---100
0
70 100
0
16
21 26
0
0
?
49
344
?
?
100
1
73 100
26
37
17 27
0
0
?
49
1735
?
?
100
6
954 100
85
88
25 26
0
0
?
56
1804
?
?
100 14
609 100
73
76
18 27
0
0
?
63
685
?
?
100 57
11,719 100
14
46
74 26
0
0
? 2385
16
?
?
100 23
10,706 100
8
40
72 26
0
0
?
187
260
?
?
100 47
11,607 100
11
11
87 27
0
0
? 2215
19
?
?
100 54
26,460 100
1
14
92 27
0
0
?
747
659
?
?
100 61
24,873 100
1
8
64 27
0
0
?
607
69
?
?
100 81
41,507 100
0
1
64 27
0
0
?
710
44
?
?
100 84
50,374 100
0
62 157 27
0
0
?
383
152
?
?
100 87
54,921 100
0
100 1546 27
0
0
?
140
330
?
?
100 96
58,023 100
0
100 1589 27
0
0
?
164
244
?
?
100 96
58,644 100
0
100 1683 27
0
0
?
156
248
?
?
100 95
59,642 100
0
100 1558 27
0
0
?
182
452
?
?
100 87
36,044 100
0
63 117 27
0
0
?
431
104
?
?
100 91
27,847 100
0
57
95 27
0
0
?
441
81
?
?
100 90
32,465 100
0
53 100 27
0
0
?
483
68
?
?
100 95
32,193 100
0
50 123 27
0
0
?
365
75
?
?
100 95
33,125 100
0
50 124 27
0
0
?
300
94
?
?
100 96
27,514 100
0
50 124 27
0
0
?
287
219
?
?
100 96
27,725 100
0
50 123 27
0
0
?
244
109
?
?
100 96
27,764 100
0
50 125 27
0
0
?
200
141
?
?
100 96
25,126 100
0
59 122 27
0
0
?
201
370
?
?
100 97
18,595 100
0
99 120 27
0
0
?
257
503
?
?
100 79
13,516 100
0
97 114 27
0
0
?
195
627
?
?
100 47
4,406 100
1
54
57 27
0
0
?
122
474
?
?
100 27
2,039 100
1
49
35 27
0
0
?
113
309
?
?
100
1
170 100
0
53
32 27
0
0
?
51
503
?
?
100
2
255 100
0
53
32 27
0
0
?
54
593
?
?
100
1
118 100
0
48
25 27
0
0
?
50
335
?
?
100
1
158 100
10
38
25 27
0
0
?
51
329
?
?
100
1
156 100
1
45
28 27
0
0
?
52
1450
?
?
100
1
198 100
2
46
29 27
0
0
?
53
1596
?
?
100
1
129 100
5
47
25 27
0
0
?
52
1284
?
?
100
1
97 100
3
41
23 27
0
0
?
50
955
?
?
Date
Time
-------- -------11/02/01 09:15:00
09:16:00
09:17:00
09:18:00
09:19:00
09:20:00
09:21:00
09:22:00
09:23:00
09:24:00
09:25:00
09:26:00
09:27:00
09:28:00
09:29:00
09:30:00
09:31:00
09:32:00
09:33:00
09:34:00
09:35:00
09:36:00
09:37:00
09:38:00
09:39:00
09:40:00
09:41:00
09:42:00
09:43:00
09:44:00
09:45:00
09:46:00
09:47:00
09:48:00
09:49:00
09:50:00
Page
CPU
Ldv
P+S
Read
Ldv Fre TPtP TMlt Net Proc
ms Net Net
Bsy WIO
IO KBs
%of
% of
KB Mem
IOs
IOs Rtry Blks
/ Rx % Tx %
%
%
/Sec IO KBs IO KBs
/IO
% /Sec /Sec
% /Sec
Blk Busy Busy
--- --- ---------- ------ ------ ------ --- ----- ----- ---- ----- ------ ---- ---0
0
70
0
16
21 26
0
0
?
49
344
?
?
0
1
73
26
37
17 27
0
0
?
49
1735
?
?
1
6
954
85
88
25 26
0
0
?
56
1804
?
?
2 14
609
73
76
18 27
0
0
?
63
685
?
?
32 57
11,719
14
46
74 26
0
0
? 2385
16
?
?
76 23
10,706
8
40
72 26
0
0
?
187
260
?
?
45 47
11,607
11
11
87 27
0
0
? 2215
19
?
?
42 54
26,460
1
14
92 27
0
0
?
747
659
?
?
37 61
24,873
1
8
64 27
0
0
?
607
69
?
?
16 81
41,507
0
1
64 27
0
0
?
710
44
?
?
16 84
50,374
0
62
157 27
0
0
?
383
152
?
?
13 87
54,921
0
100 1,546 27
0
0
?
140
330
?
?
4 96
58,023
0
100 1,589 27
0
0
?
164
244
?
?
4 96
58,644
0
100 1,683 27
0
0
?
156
248
?
?
5 95
59,642
0
100 1,558 27
0
0
?
182
452
?
?
10 87
36,044
0
63
117 27
0
0
?
431
104
?
?
9 91
27,847
0
57
95 27
0
0
?
441
81
?
?
8 90
32,465
0
53
100 27
0
0
?
483
68
?
?
5 95
32,193
0
50
123 27
0
0
?
365
75
?
?
5 95
33,125
0
50
124 27
0
0
?
300
94
?
?
4 96
27,514
0
50
124 27
0
0
?
287
219
?
?
4 96
27,725
0
50
123 27
0
0
?
244
109
?
?
4 96
27,764
0
50
125 27
0
0
?
200
141
?
?
4 96
25,126
0
59
122 27
0
0
?
201
370
?
?
3 97
18,595
0
99
120 27
0
0
?
257
503
?
?
2 79
13,516
0
97
114 27
0
0
?
195
627
?
?
40 47
4,406
1
54
57 27
0
0
?
122
474
?
?
2 27
2,039
1
49
35 27
0
0
?
113
309
?
?
0
1
170
0
53
32 27
0
0
?
51
503
?
?
0
2
255
0
53
32 27
0
0
?
54
593
?
?
0
1
118
0
48
25 27
0
0
?
50
335
?
?
0
1
158
10
38
25 27
0
0
?
51
329
?
?
0
1
156
1
45
28 27
0
0
?
52
1450
?
?
0
1
198
2
46
29 27
0
0
?
53
1596
?
?
1
1
129
5
47
25 27
0
0
?
52
1284
?
?
1
1
97
3
41
23 27
0
0
?
50
955
?
?
Date
Time NodeID
-------- -------- -----11/02/01 09:15:00 001-01
09:16:00 001-01
09:17:00 001-01
09:18:00 001-01
09:19:00 001-01
09:20:00 001-01
09:21:00 001-01
09:22:00 001-01
09:23:00 001-01
09:24:00 001-01
09:25:00 001-01
09:26:00 001-01
09:27:00 001-01
09:28:00 001-01
09:29:00 001-01
09:30:00 001-01
09:31:00 001-01
09:32:00 001-01
09:33:00 001-01
09:34:00 001-01
09:35:00 001-01
09:36:00 001-01
09:37:00 001-01
Page
CPU
Ldv
P+S
Read
Ldv Fre TPtP TMlt Net Proc
ms Net Net
Bsy WIO
IO KBs
%of
% of
KB Mem
IOs
IOs Rtry Blks
/ Rx % Tx %
%
%
/Sec IO KBs IO KBs
/IO
% /Sec /Sec
% /Sec
Blk Busy Busy
--- --- ---------- ------ ------ ------ --- ----- ----- ---- ----- ------ ---- ---0
0
70
0
16
21 26
0
0
?
49
344
?
?
0
1
73
26
37
17 27
0
0
?
49
1735
?
?
1
6
954
85
88
25 26
0
0
?
56
1804
?
?
2 14
609
73
76
18 27
0
0
?
63
685
?
?
32 57
11,719
14
46
74 26
0
0
? 2385
16
?
?
76 23
10,706
8
40
72 26
0
0
?
187
260
?
?
45 47
11,607
11
11
87 27
0
0
? 2215
19
?
?
42 54
26,460
1
14
92 27
0
0
?
747
659
?
?
37 61
24,873
1
8
64 27
0
0
?
607
69
?
?
16 81
41,507
0
1
64 27
0
0
?
710
44
?
?
16 84
50,374
0
62
157 27
0
0
?
383
152
?
?
13 87
54,921
0
100 1,546 27
0
0
?
140
330
?
?
4 96
58,023
0
100 1,589 27
0
0
?
164
244
?
?
4 96
58,644
0
100 1,683 27
0
0
?
156
248
?
?
5 95
59,642
0
100 1,558 27
0
0
?
182
452
?
?
10 87
36,044
0
63
117 27
0
0
?
431
104
?
?
9 91
27,847
0
57
95 27
0
0
?
441
81
?
?
8 90
32,465
0
53
100 27
0
0
?
483
68
?
?
5 95
32,193
0
50
123 27
0
0
?
365
75
?
?
5 95
33,125
0
50
124 27
0
0
?
300
94
?
?
4 96
27,514
0
50
124 27
0
0
?
287
219
?
?
4 96
27,725
0
50
123 27
0
0
?
244
109
?
?
4 96
27,764
0
50
125 27
0
0
?
200
141
?
?
215
Page
CPU
Ldv
P+S
Read
Ldv Fre TPtP TMlt Net
Proc
ms
Net Net
Group
Bsy WIO
IO KBs
%of
% of
KB Mem
IOs IOs
Rtry Blks
/
Rx % Tx %
Date
Time
Id
%
%
/Sec IO KBs IO KBs
/IO
% /Sec /Sec
% /Sec
Blk Busy Busy
-------- -------- -------- --- --- ---------- ------ ------ ------ --- ----- ----- ---- ----- ------ ---- ---11/02/01 09:15:00 AMPNodes
0
0
70
0
16
21 26
0
0
?
49
344
?
?
09:16:00 AMPNodes
0
1
73
26
37
17 27
0
0
?
49
1735
?
?
09:17:00 AMPNodes
1
6
954
85
88
25 26
0
0
?
56
1804
?
?
09:18:00 AMPNodes
2 14
609
73
76
18 27
0
0
?
63
685
?
?
09:19:00 AMPNodes 32 57
11,719
14
46
74 26
0
0
? 2385
16
?
?
09:20:00 AMPNodes 76 23
10,706
8
40
72 26
0
0
?
187
260
?
?
09:21:00 AMPNodes 45 47
11,607
11
11
87 27
0
0
? 2215
19
?
?
09:22:00 AMPNodes 42 54
26,460
1
14
92 27
0
0
?
747
659
?
?
09:23:00 AMPNodes 37 61
24,873
1
8
64 27
0
0
?
607
69
?
?
09:24:00 AMPNodes 16 81
41,507
0
1
64 27
0
0
?
710
44
?
?
09:25:00 AMPNodes 16 84
50,374
0
62
157 27
0
0
?
383
152
?
?
09:26:00 AMPNodes 13 87
54,921
0
100 1,546 27
0
0
?
140
330
?
?
09:27:00 AMPNodes
4 96
58,023
0
100 1,589 27
0
0
?
164
244
?
?
09:28:00 AMPNodes
4 96
58,644
0
100 1,683 27
0
0
?
156
248
?
?
09:29:00 AMPNodes
5 95
59,642
0
100 1,558 27
0
0
?
182
452
?
?
09:30:00 AMPNodes 10 87
36,044
0
63
117 27
0
0
?
431
104
?
?
09:31:00 AMPNodes
9 91
27,847
0
57
95 27
0
0
?
441
81
?
?
09:32:00 AMPNodes
8 90
32,465
0
53
100 27
0
0
?
483
68
?
?
09:33:00 AMPNodes
5 95
32,193
0
50
123 27
0
0
?
365
75
?
?
09:34:00 AMPNodes
5 95
33,125
0
50
124 27
0
0
?
300
94
?
?
09:35:00 AMPNodes
4 96
27,514
0
50
124 27
0
0
?
287
219
?
?
09:36:00 AMPNodes
4 96
27,725
0
50
123 27
0
0
?
244
109
?
?
09:37:00 AMPNodes
4 96
27,764
0
50
125 27
0
0
?
200
141
?
?
216
ResPdskByNode Macros
Function
Macro...
ResPdskByNode
by a physical node.
ResPdskOneNode
ResPdskByGroup
node grouping.
See Macro Execution on page 31 for a description of the FromDate, FromTime, ToDate,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
You must have logging enabled on the ResUsageSpdsk table.
Output Examples
The following table describes the statistics columns in all output reports (with the exception
of ResPdiskByNode, which reports by NodeID columns, and ResPdiskByGroup, which reports
by NodeType column).
Column...
Reports the...
Reads/Sec
Writes/Sec
Rd KB/ I/O
217
Date
-------07/11/28
218
Pdisk
Type
-----DISK
Page
Time
-------13:20:00
Node
Id
-----001-01
Reads
/ Sec
-------0.10
Writes
/ Sec
-------0.23
Rd KB
/ I/O
------*******
Wrt KB
/ I/O
------*******
Avg
I/O
Resp
------0.004
13:21:00
001-01
0.12
0.41
*******
4202.15
0.002
0.0%
13:22:00
001-01
0.13
0.49
*******
3623.05
0.001
0.0%
13:24:00
001-01
0.05
0.20
4717.71
5262.77
0.002
0.0%
13:25:00
001-01
0.07
0.35
2560.00
4637.26
0.001
0.0%
13:26:00
001-01
0.11
0.42
6537.85
4485.12
0.001
0.0%
13:28:00
001-01
0.06
0.19
3396.27
4785.63
0.001
0.0%
13:29:00
001-01
0.14
0.45
3602.29
4943.64
0.003
0.0%
13:30:00
001-01
0.12
0.40
5961.14
5274.67
0.002
0.0%
13:32:00
001-01
0.07
0.18
3990.59
3856.34
0.000
0.0%
13:33:00
001-01
0.17
0.53
4532.71
5745.23
0.001
0.0%
13:34:00
001-01
0.11
0.38
5730.46
4975.30
0.002
0.0%
13:36:00
001-01
0.05
0.17
5218.46
5677.51
0.002
0.0%
13:37:00
001-01
0.18
0.51
3990.59
5125.33
0.001
0.0%
13:38:00
001-01
0.11
0.37
5218.46
4846.55
0.001
0.0%
13:39:00
001-01
0.14
0.42
3990.59
4758.59
0.001
0.0%
13:41:00
001-01
0.05
0.17
5139.69
4660.36
0.002
0.0%
13:42:00
001-01
0.11
0.28
5017.60
5546.67
0.001
0.0%
13:43:00
001-01
0.14
0.41
6731.29
5616.33
0.002
0.0%
13:45:00
001-01
0.06
0.19
4176.00
4874.04
0.001
0.0%
13:46:00
001-01
0.07
0.34
2523.43
6260.36
0.002
0.0%
13:47:00
001-01
0.13
0.38
6192.00
5990.40
0.002
0.0%
Out
Rqst
Time %
-----0.0%
Date
-------07/11/28
Pdisk
Type
-----DISK
Time
-------13:20:00
13:21:00
13:22:00
13:24:00
13:25:00
13:26:00
13:28:00
13:29:00
13:30:00
13:32:00
13:33:00
13:34:00
13:36:00
13:37:00
13:38:00
13:39:00
13:41:00
13:42:00
13:43:00
13:45:00
13:46:00
13:47:00
13:49:00
Reads
/ Sec
-------0.10
0.12
0.13
0.05
0.07
0.11
0.06
0.14
0.12
0.07
0.17
0.11
0.05
0.18
0.11
0.14
0.05
0.11
0.14
0.06
0.07
0.13
0.05
Writes
/ Sec
-------0.23
0.41
0.49
0.20
0.35
0.42
0.19
0.45
0.40
0.18
0.53
0.38
0.17
0.51
0.37
0.42
0.17
0.28
0.41
0.19
0.34
0.38
0.21
Rd KB
/ I/O
------*******
*******
*******
4717.71
2560.00
6537.85
3396.27
3602.29
5961.14
3990.59
4532.71
5730.46
5218.46
3990.59
5218.46
3990.59
5139.69
5017.60
6731.29
4176.00
2523.43
6192.00
3693.71
Page
Wrt KB
/ I/O
------*******
4202.15
3623.05
5262.77
4637.26
4485.12
4785.63
4943.64
5274.67
3856.34
5745.23
4975.30
5677.51
5125.33
4846.55
4758.59
4660.36
5546.67
5616.33
4874.04
6260.36
5990.40
5878.52
Avg
I/O
Resp
------0.004
0.002
0.001
0.002
0.001
0.001
0.001
0.003
0.002
0.000
0.001
0.002
0.002
0.001
0.001
0.001
0.002
0.001
0.002
0.001
0.002
0.002
0.002
Out
Rqst
Time %
-----0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
Node
Pdisk
Date Type Type
-------- ---- -----06/09/26 4400 DISK
Time
-------10:09:45
10:10:00
10:10:15
10:10:30
10:10:45
10:11:00
10:11:15
10:11:30
10:11:45
10:12:00
10:12:15
10:12:30
10:12:45
Avg
ReadCnt
WriteCnt Rd KB
Wrt KB
I/O
/ Sec
/ Sec
/ I/O
/ I/O
Resp
-------- -------- ------- ------- ------0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
0.00
0.00
?
?
?
Page
Max
Concur
Rqsts
-----0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
Out
Rqst
Time %
-----0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
219
ResPs Macros
Function
Macro...
ResPsByNode
ResPsByGroup
by coexistence group, produces one set of rows of data for each for
each node type in the system for each log interval.
See Macro Execution on page 31 for a description of the FromDate, ToDate, FromTime,
ToTime, FromNode, ToNode, and Node parameters.
Note: Coexistence support can be accomplished using the NodeType column to do a group by
in SQL directly. Therefore, the GroupId column is not needed and the ResUsageSps table view
is not provided.
Usage Notes
To use ResPs macros, existing rows must exist in the table.
These macros can be used to report historical data.
Output Examples
The reports in the following sections are sample output reports from the ResPsByNode and
ResPsByGroup macros.
The following table describes the statistics columns, after the Date and Time columns, in the
ResPsByNode output report.
220
Statistics columns
Description
Node ID.
3 through 12
The following table describes the statistics columns, after the Date and Time columns, in the
ResPsByGroup output report.
Statistics columns
Description
Node type.
2 through 11
The following table describes the statistics columns in all output reports (with the exception
of ResSpsByNode, which reports by NodeID columns, and ResSpsByGroup, which reports by
NodeType column).
Column...
Reports the...
CPU Bsy %
percent of time the CPUs are busy, based on average CPU usage per node.
IO Blks Sec
Num Procs
Num Requests
number of AMP Worker Task messages or requests that got assigned AMP
Worker Tasks to them.
Q Length
Q Len Max
For a complete description of the above columns, see Chapter 11: ResUsageSps.
Resource Usage Macros and Tables
221
----0
1
250
0
1
250
CPU
Bsy
%
--0
29
0
0
26
8
IO
Blks
/Sec
----0
0
2
0
0
2
Num
Procs
------19
66
722
18
87
697
Num
Requests
-------0
0
3
0
162033
3
Avg
QWait
Time
-----?
?
0
?
1
0
Max
QWait
Time
------0
0
0
0
31
0
Q
Length
------0
0
0
0
1
0
Q
Len
Max
------0
0
0
0
2
0
Avg
Svc
Time
------?
?
36
?
5
26
Max
Svc
Time
------0
0
78
0
265
46
2-09
2-09
2-09
2-10
2-10
2-10
0
1
250
0
1
250
0
31
0
0
26
9
0
0
2
0
0
2
19
66
722
18
121
705
0
0
3
0
164728
2
?
?
0
?
1
0
0
0
0
0
31
0
0
0
0
0
1
0
0
0
0
0
2
0
?
?
25
?
5
78
0
0
46
0
218
93
14:37:00
2-09
2-09
2-09
2-10
2-10
2-10
0
1
250
0
1
250
0
30
0
0
26
8
0
0
2
0
0
2
19
66
722
18
96
698
0
0
47
0
164847
50
?
?
0
?
1
0
0
0
15
0
31
15
0
0
0
0
1
0
0
0
0
0
2
0
?
?
6
?
4
9
0
0
78
0
265
46
14:38:00
2-09
2-09
2-09
2-09
2-10
2-10
2-10
2-10
0
1
3
250
0
1
3
250
0
27
0
0
0
31
0
9
0
0
0
2
0
0
0
2
19
66
0
722
18
100
0
697
0
27
9
3
0
158281
9
12
?
3
0
0
?
1
10
0
0
15
0
0
0
31
15
0
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0
0
?
3
0
78
?
5
3
14
0
31
0
156
0
234
15
78
14:39:00
2-09
2-09
2-09
2-10
2-10
2-10
0
1
250
0
1
250
0
30
0
0
23
8
0
0
2
0
0
2
19
66
722
18
91
698
0
0
4
0
165816
2
?
?
0
?
1
8
0
0
0
0
31
15
0
0
0
0
1
0
0
0
0
0
2
0
?
?
12
?
4
78
0
0
31
0
203
109
14:40:00
2-09
2-09
2-09
2-09
2-10
2-10
2-10
2-10
0
1
3
250
0
1
3
250
0
26
0
0
0
33
0
11
0
0
0
2
0
0
0
2
19
66
0
722
18
95
0
698
0
36
9
5
0
161946
9
8
?
0
0
0
?
1
2
0
0
0
0
0
0
31
15
0
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0
0
?
1
0
18
?
4
0
18
0
46
0
46
0
203
0
109
PGid
Date
-------10/12/01
Page
Time
-------14:35:00
NodeID
-----2-09
2-09
2-09
2-10
2-10
2-10
14:36:00
Page
CPU
IO
Avg
Max
Q
Avg
Max
Node
Bsy Blks
Num
Num
QWait QWait
Q
Len
Svc
Svc
Date
Time Type
NodeID PGid
% /Sec
Procs Requests
Time
Time
Length
Max
Time
Time
-------- -------- -------- ------ ----- --- ----- ------- -------- ------ ------- ------- ------- ------- ------10/12/01 14:35:00 5400
2-09
0
0
0
19
0
?
0
0
0
?
0
5400
2-09
1 29
0
66
0
?
0
0
0
?
0
5400
2-09
250
0
2
722
3
0
0
0
0
36
78
5400
2-10
0
0
0
18
0
?
0
0
0
?
0
5400
2-10
1 26
0
87
162033
1
31
1
2
5
265
5400
2-10
250
8
2
697
3
0
0
0
0
26
46
14:36:00 5400
5400
5400
5400
222
2-09
2-09
2-09
2-10
0
1
250
0
0
31
0
0
0
0
2
0
19
66
722
18
0
0
3
0
?
?
0
?
0
0
0
0
0
0
0
0
0
0
0
0
?
?
25
?
0
0
46
0
2-10
2-10
1
250
26
9
0
2
121
705
164728
2
1
0
31
0
1
0
2
0
5
78
218
93
14:37:00 5400
5400
5400
5400
5400
5400
2-09
2-09
2-09
2-10
2-10
2-10
0
1
250
0
1
250
0
30
0
0
26
8
0
0
2
0
0
2
19
66
722
18
96
698
0
0
47
0
164847
50
?
?
0
?
1
0
0
0
15
0
31
15
0
0
0
0
1
0
0
0
0
0
2
0
?
?
6
?
4
9
0
0
78
0
265
46
14:38:00 5400
5400
5400
5400
5400
5400
5400
5400
2-09
2-09
2-09
2-09
2-10
2-10
2-10
2-10
0
1
3
250
0
1
3
250
0
27
0
0
0
31
0
9
0
0
0
2
0
0
0
2
19
66
0
722
18
100
0
697
0
27
9
3
0
158281
9
12
?
3
0
0
?
1
10
0
0
15
0
0
0
31
15
0
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0
0
?
3
0
78
?
5
3
14
0
31
0
156
0
234
15
78
14:39:00 5400
5400
5400
5400
5400
5400
2-09
2-09
2-09
2-10
2-10
2-10
0
1
250
0
1
250
0
30
0
0
23
8
0
0
2
0
0
2
19
66
722
18
91
698
0
0
4
0
165816
2
?
?
0
?
1
8
0
0
0
0
31
15
0
0
0
0
1
0
0
0
0
0
2
0
?
?
12
?
4
78
0
0
31
0
203
109
14:40:00 5400
5400
5400
5400
5400
5400
5400
5400
2-09
2-09
2-09
2-09
2-10
2-10
2-10
2-10
0
1
3
250
0
1
3
250
0
26
0
0
0
33
0
11
0
0
0
2
0
0
0
2
19
66
0
722
18
95
0
698
0
36
9
5
0
161946
9
8
?
0
0
0
?
1
2
0
0
0
0
0
0
31
15
0
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0
0
?
1
0
18
?
4
0
18
0
46
0
46
0
203
0
109
ResVdskByNode Macros
Function
Macro...
ResVdskByNode
a physical node.
ResVdskOneNode
ResVdskByGroup
a node grouping.
See Macro Execution on page 31 for a description of the FromDate, FromTime, ToDate,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
To use the macros, existing rows must exist in the ResUsageSvdsk table.
223
Output Examples
The following table describes the statistics columns in all output reports (with the exception
of ResVdiskByNode, which has the NodeID column, and ResVdskByGroup, which has the
NodeType column).
Column...
Reports the...
Rd KB / I/O
Wrt KB / I/O
Date
-------06/09/26
Time
-------10:09:45
10:10:00
10:10:15
10:10:30
10:10:45
10:11:00
10:11:15
10:11:30
10:11:45
10:12:00
10:12:15
10:12:30
10:12:45
Node
Id
-----001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
001-01
Page
Avg
Wrt KB
I/O
I/O
Resp
------- ------46.69
0.023
116.34
0.152
118.98
0.143
113.54
0.126
109.93
0.118
112.07
0.119
112.32
0.107
100.01
0.081
38.15
0.065
71.56
0.064
16.76
0.039
18.84
0.038
32.94
0.017
Out
Rqst
Time %
-----9.7%
85.3%
98.8%
98.4%
97.7%
98.0%
97.3%
54.9%
41.0%
36.2%
45.8%
38.6%
3.1%
Date
-------06/09/26
224
Time
-------10:09:45
10:10:00
10:10:15
10:10:30
10:10:45
10:11:00
10:11:15
10:11:30
10:11:45
10:12:00
ReadCnt
/ Sec
--------0.73
0.40
0.00
2.43
2.77
2.67
2.83
4.87
5.37
5.43
Page
WriteCnt
Rd KB
Wrt KB
/ Sec
/ I/O
/ I/O
-------- ------- ------5.20
121.27
46.69
41.17
127.50
116.34
47.40
?
118.98
45.17
111.79
113.54
45.90
12.00
109.93
43.77
12.00
112.07
46.10
12.00
112.32
14.13 1374.25
100.01
1.77 1785.00
38.15
0.30 1785.00
71.56
Avg
I/O
Resp
------0.023
0.152
0.143
0.126
0.118
0.119
0.107
0.081
0.065
0.064
Out
Rqst
Time %
-----9.7%
85.3%
98.8%
98.4%
97.7%
98.0%
97.3%
54.9%
41.0%
36.2%
3.20
0.50
0.00
9.70
12.60
2.17
1759.00
275.47
?
16.76
18.84
32.94
0.039
0.038
0.017
45.8%
38.6%
3.1%
Date
-------06/09/26
Node
Type Time
---- -------4400 10:09:45
10:10:00
10:10:15
10:10:30
10:10:45
10:11:00
10:11:15
10:11:30
10:11:45
10:12:00
10:12:15
10:12:30
10:12:45
ReadCnt
/ Sec
-------0.73
0.40
0.00
2.43
2.77
2.67
2.83
4.87
5.37
5.43
3.20
0.50
0.00
WriteCnt Rd KB
/ Sec
/ I/O
-------- ------5.20
121.27
41.17
127.50
47.40
?
45.17
111.79
45.90
12.00
43.77
12.00
46.10
12.00
14.13 1374.25
1.77 1785.00
0.30 1785.00
9.70 1759.00
12.60
275.47
2.17
?
Wrt KB
/ I/O
------46.69
116.34
118.98
113.54
109.93
112.07
112.32
100.01
38.15
71.56
16.76
18.84
32.94
Page
Avg
I/O
Resp
------0.023
0.152
0.143
0.126
0.118
0.119
0.107
0.081
0.065
0.064
0.039
0.038
0.017
Max
Concur
Rqsts
-----4.5
20.5
20.0
17.5
13.5
14.5
14.0
12.5
3.0
2.0
2.0
3.5
2.0
Out
Rqst
Time %
-----9.7%
85.3%
98.8%
98.4%
97.7%
98.0%
97.3%
54.9%
41.0%
36.2%
45.8%
38.6%
3.1%
225
226
APPENDIX A
This appendix describes the conventions that apply to reading the syntax diagrams used in
this book.
Definition / Comments
Letter
Number
Word
Spaces
Punctuation
Paths
The main path along the syntax diagram begins at the left with a keyword, and proceeds, left
to right, to the vertical bar, which marks the end of the diagram. Paths that do not have an
arrow or a vertical bar only show portions of the syntax.
The only part of a path that reads from right to left is a loop.
227
Continuation Links
Paths that are too long for one line use continuation links. Continuation links are circled
letters indicating the beginning and end of a link:
A
FE0CA002
When you see a circled letter in a syntax diagram, go to the corresponding circled letter and
continue reading.
Required Entries
Required entries appear on the main path:
SHOW
FE0CA003
If you can choose from more than one entry, the choices appear vertically, in a stack. The first
entry appears on the main path:
SHOW
CONTROLS
VERSIONS
FE0CA005
Optional Entries
You may choose to include or disregard optional entries. Optional entries appear below the
main path:
SHOW
CONTROLS
228
FE0CA004
If you can optionally choose from more than one entry, all the choices appear below the main
path:
READ
SHARE
JC01A010
ACCESS
Some commands and statements treat one of the optional choices as a default value. This
value is UNDERLINED. It is presumed to be selected if you type the command or statement
without specifying one of the options.
Strings
String literals appear in apostrophes:
'msgtext '
JC01A004
Abbreviations
If a keyword or a reserved word has a valid abbreviation, the unabbreviated form always
appears on the main path. The shortest valid abbreviation appears beneath.
SHOW
CONTROLS
CONTROL
FE0CA042
SHOW CONTROLS
SHOW CONTROL
Loops
A loop is an entry or a group of entries that you can repeat one or more times. Syntax
diagrams show loops as a return path above the main path, over the item or items that you can
repeat:
,
,
(
cname
3
4
)
JC01B012
229
THEN...
Excerpts
Sometimes a piece of a syntax phrase is too large to fit into the diagram. Such a phrase is
indicated by a break in the path, marked by (|) terminators on each side of the break. The
name for the excerpted piece appears between the terminators in boldface type.
The boldface excerpt name and the excerpted phrase appears immediately after the main
diagram. The excerpted phrase starts and ends with a plain horizontal line:
LOCKING
excerpt
A
HAVING
con
excerpt
where_cond
,
cname
,
col_pos
JC01A014
230
dbname
DATABASE
tname
TABLE
vname
VIEW
JC01A016
dbname
DATABASE dbname
tname
TABLE tname
vname
VIEW vname
viewname
AS
A
LOCKING
cname
CV
LOCK
ACCESS
dbname
A
DATABASE
tname
FOR
SHARE
IN
READ
TABLE
WRITE
EXCLUSIVE
vname
VIEW
EXCL
,
SEL
B
MODE
expr
,
FROM
qual_cond
tname
.aname
C
HAVING cond
;
qual_cond
,
WHERE cond
GROUP BY
cname
,
col_pos
JC01A018
231
Diagram Identifier
The alphanumeric string that appears in the lower right corner of every diagram is an internal
identifier used to catalog the diagram. The text never refers to this string.
232
APPENDIX B
ResUsageIpma Table
The ResUsageIpma table includes resource usage data for system-wide, node information.
Note: The ResUsageIpma table is generally not used at customer sites and is only used by
Teradata engineers.
This table is created as a MULTISET table. For more information, see Relational Primary
Index on page 37.
Note: Summary Mode is not applicable to this table.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the nonunique primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
233
Column Name
Mode
Description
Data Type
GmtTime
n/a
FLOAT
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
NCPUs
n/a
SMALLINT
n/a
SMALLINT
Vproc2
n/a
SMALLINT
Vproc3
n/a
SMALLINT
Vproc4
n/a
SMALLINT
Vproc5
n/a
SMALLINT
Vproc6
n/a
SMALLINT
n/a
SMALLINT
n/a
CHAR(4)
VprocType2
n/a
CHAR(4)
VprocType3
n/a
CHAR(4)
VprocType4
n/a
CHAR(4)
VprocType5
n/a
Type of virtual processor for Vproc5. The value is always TVS (see
Teradata Virtual Storage).
CHAR(4)
VprocType6
n/a
CHAR(4)
n/a
CHAR(4)
234
n/a
INTEGER
Column Name
Mode
Description
Data Type
NodeNormFactor
n/a
INTEGER
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
Active
max
FLOAT
n/a
BIGINT
CODFactor
n/a
SMALLINT
Statistics Columns
Process Scheduling CPU Switching Columns
These columns identify the number of times CPUs were switched by the scheduler from one
type of work to another type of work.
235
Column Name
Mode
Description
Data Type
CPUProcSwitches
count
FLOAT
Net Columns
Message Type Columns
These columns subdivide all messages sent and received into the type of message, where:
Hash messages (Hash) are data sent to a destination through its primary or fallback hash
value
Local messages (Local) are messages communicated locally within the node
Channel messages (Chan) are data sent between vprocs through channel IDs for purposes
of a private conversation to perform functions such as row redistribution, and so on
Mailbox messages (Mbox) are data sent between vprocs through mailbox IDs for similar
purposes as channel messages.
A duplicated accounting is done with two different perspectives, since Hash + Proc + Group +
Local messages = Chan + MBox messages.
Column Name
Mode
Description
Data Type
MsgChanReads
count
FLOAT
MsgChanWrites
count
FLOAT
MsgHashReads
count
FLOAT
MsgHashWrites
count
FLOAT
MsgGroupReads
count
FLOAT
MsgGroupWrites
count
FLOAT
MsgLocalReads
count
FLOAT
MsgLocalWrites
count
FLOAT
MsgMboxReads
count
FLOAT
MsgMboxWrites
count
FLOAT
MsgProcReads
count
FLOAT
MsgProcWrites
count
FLOAT
236
Column Name
Mode
Description
Data Type
MsgHashMDelivery
count
Total amount of time read hash messages took for mailbox delivery.
FLOAT
count
Total amount of time read hash messages took for process delivery.
FLOAT
count
FLOAT
count
FLOAT
count
Total amount of time read local messages took for mailbox delivery.
FLOAT
count
Total amount of time read local messages took for process delivery.
FLOAT
count
FLOAT
count
FLOAT
237
Column Name
Mode
Description
Data Type
NetActiveMrg
count
FLOAT
NetBrdWindowOverrun
count
FLOAT
count
FLOAT
NetDanglingAborts
count
FLOAT
NetDanglingCommits
count
FLOAT
NetMrgBlock
count
FLOAT
NetMrgBufWaits
count
FLOAT
NetMsgChannelBlock
count
Number of times the net software was blocked because the channel
was not in RxReady state on the receiver.
FLOAT
NetMrgHeapFails
count
FLOAT
NetMrgHeapRequests
count
FLOAT
NetMsgFCBlock
count
Number of times the net software was blocked because the receiver
was flow controlled.
FLOAT
NetMsgFCSleep
count
FLOAT
NetMsgGroupBlock
count
Number of times the net software was blocked because the receiver
could not implicitly enter the group.
FLOAT
NetMsgResourceBlock
count
Number of times the net software was blocked because the receiver
could not get the necessary resources.
FLOAT
NetMsgRxBlock
count
Number of times the net software could not accept a message and
caused a transmitter to block.
FLOAT
238
All of the aggregated sampled statistics columns in the following table are net-specific, that
is, they relate to each specific Bynet. On a single-node system, net-specific statistics are not
meaningful and are always zero.
Column Name
Mode
Description
Data Type
NetPtPQueue
count
FLOAT
NetBlockQueue
track
FLOAT
max
FLOAT
NetBlockQueueTotal
count
FLOAT
NetBrdQueue
count
FLOAT
NetPtPQueueMax
max
FLOAT
NetBrdQueueMax
max
FLOAT
NetHPBrdQueue
count
FLOAT
NetHPBrdQueueMax
max
FLOAT
NetPendMrgQueue
count
FLOAT
count
FLOAT
NetHPPtPQueueMax
max
FLOAT
Reserved Columns
These reserved columns expand to values 00 - 19, so that column names would be
RSSInternal00, RSSInternal01, and so on.
Column Name
Mode
Description
Data Type
RSSInternal[00-06]
track
FLOAT
count
FLOAT
max
FLOAT
239
Spare Columns
The ResUsageIpma table spare fields are named Spare00 through Spare09, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare field currently being used.
Column Name
Description
Spare00
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
240
APPENDIX C
ResUsageIvpr Table
The ResUsageIvpr table includes resource usage data for system-wide information.
Note: The ResUsageIvpr table is generally not used at customer sites and is only used by
Teradata engineers.
Housekeeping Columns
Relational Primary Index Columns
These columns taken together form the primary index.
Column Name
Mode
Description
Data Type
TheDate
n/a
DATE
TheTime
n/a
FLOAT
n/a
INTEGER
Mode
Description
Data Type
GmtTime
n/a
FLOAT
NodeType
n/a
Type of node, representing the per node system family type. For
example, 5600C or 5555H.
CHAR(8)
VprId
n/a
INTEGER
241
Column Name
Mode
Description
Data Type
VprType
n/a
The values can be NODE, AMP, PE, GTW, RSG, or TVS (see
Teradata Virtual Storage).
CHAR(4)
Secs
n/a
SMALLINT
n/a
INTEGER
NominalSecs
n/a
SMALLINT
SummaryFlag
n/a
Summarization status of this row. Possible values are 'N' if the row
is a non-summary row, and 'S' if the row is a summary row.
CHAR (1)
NCPUs
n/a
SMALLINT
max
FLOAT
n/a
BIGINT
This column is useful for aligning data with the DBQL log.
CODFactor
n/a
SMALLINT
242
Statistics Columns
File System Columns
Cylinder Defragmentation Overhead Columns
These columns identify background file system overhead associated with fragmented free
space to achieve one large free space within that cylinder (CylDefrag).
Each cylinder defragment event implies one logical cylinder index read and one logical
cylinder index write.
Only logical I/Os and the amount moved (KB) are identified. Cylinder defragments are
done on cylinders containing permanent tables (including append and transient journal
tables) only.
Column Name
Mode
Description
Data Type
FileDbCylDefragKB
count
FLOAT
FileDbCylDefragIO
count
FLOAT
Only logical I/Os and the amount moved (KB) are identified, except the amount moved
for cylinder indexes because they can be calculated by multiplying the current cylinder
index fixed size and the I/Os.
Column Name
Mode
Description
Data Type
FilePCiMCylPackIO
count
FLOAT
FilePDbMCylPackKB
count
KB moved by FilePDbCylPackIOs.
FLOAT
FilePDbMCylPackIO
count
FLOAT
243
Mode
Description
Data Type
FileDbCylMigrKB
count
KB moved by FileDbCylMigrIOs.
FLOAT
FileDbCylMigrIO
count
FLOAT
Mode
Description
Data Type
FilePDbCreateKB
count
KB created by FilePDbCreates.
FLOAT
FilePDbCreates
count
FLOAT
FileSDbCreateKB
count
KB created by FileSDbCreates.
FLOAT
FileSDbCreates
count
FLOAT
Mode
Description
Data Type
FileCiUpd0IO
count
FLOAT
FileCiUpd1IO
count
FLOAT
244
Column Name
Mode
Description
Data Type
FileCiUpd2IO
count
FLOAT
FileCiUpd3IO
count
FLOAT
FileCiUpdNIO
count
FLOAT
FileDbUpd0IO
count
FLOAT
FileDbUpd1IO
count
FLOAT
FileDbUpd2IO
count
FLOAT
FileDbUpd3IO
count
FLOAT
FileDbUpd0KB
count
KB moved by FileDbUpd0IO.
FLOAT
FileDbUpd1KB
count
KB moved by FileDbUpd1IO.
FLOAT
FileDbUpd2KB
count
KB moved by FileDbUpd2IO.
FLOAT
FileDbUpd3KB
count
KB moved by FileDbUpd3IO.
FLOAT
FileDbUpdNKB
count
KB moved by FileDbUpdNIO.
FLOAT
FileDbUpdNIO
count
FLOAT
Mode
Description
Data Type
FileAPtBlkRead
count
FLOAT
FileAPtBlkReplace
count
FLOAT
FileAPtRownins
count
FLOAT
FileAPtRowNDel
count
FLOAT
FileAPtRowNUpd
count
FLOAT
FileAPtSortable
count
FLOAT
FileAPtTabdelete
count
FLOAT
245
Column Name
Mode
Description
Data Type
FileAPtTabdelra
count
FLOAT
FileAPtTabmrows
count
FLOAT
FileAPtTabrblocks
count
FLOAT
FilePBlkRead
count
FLOAT
FilePBlkReplace
count
FLOAT
FilePRowNDel
count
FLOAT
FilePRownins
count
FLOAT
FilePRowNUpd
count
FLOAT
FilePSortable
count
FLOAT
FilePTabdelete
count
FLOAT
FilePTabdelra
count
FLOAT
FilePTabmrows
count
FLOAT
FilePTabrblocks
count
FLOAT
FileSBlkRead
count
FLOAT
FileSBlkReplace
count
FLOAT
FileSRowNDel
count
FLOAT
FileSRownins
count
FLOAT
FileSRowNUpd
count
FLOAT
FileSSortable
count
FLOAT
FileSTabdelete
count
FLOAT
FileSTabdelra
count
FLOAT
FileSTabmrows
count
FLOAT
FileSTabrblocks
count
FLOAT
Mode
Description
Data Type
FileAPtRowAppend
count
FLOAT
FileAPtRowDelete
count
FLOAT
246
Column Name
Mode
Description
Data Type
FileAPtRowInsert
count
FLOAT
FileAPtRowReadInit
count
FLOAT
FileAPtRowReadCont
count
FLOAT
FileAPtRowReplace
count
FLOAT
FilePRowAppend
count
FLOAT
FilePRowDelete
count
FLOAT
FilePRowInsert
count
FLOAT
FilePRowReadCont
count
FLOAT
FilePRowReadInit
count
FLOAT
FilePRowReplace
count
FLOAT
FileSRowAppend
count
FLOAT
FileSRowDelete
count
FLOAT
FileSRowInsert
count
FLOAT
FileSRowReadCont
count
FLOAT
FileSRowReadInit
count
FLOAT
FileSRowReplace
count
FLOAT
Mode
Description
Data Type
FileTJBufUpdates
count
FLOAT
Mode
Description
Data Type
FileTJCalls
count
FLOAT
FileTJDbUpdates
count
FLOAT
247
Mode
Description
Data Type
FileTJAppends
count
FLOAT
FileTJFlush
count
FLOAT
FileWAppends
count
FLOAT
FileWDBCreates
count
Number of WAL data blocks created. The block can contain either
TJ records, WAL records or both
FLOAT
FileWFlush
count
FLOAT
FileWRowDelete
count
FLOAT
FileWTabDelRa
count
FLOAT
Mode
Description
Data Type
MonAllocates
count
FLOAT
MonBlocks
count
FLOAT
MonEnters
count
FLOAT
MonYields
count
FLOAT
248
Net Columns
Message Type Columns
These columns subdivide all messages sent and received into the type of message, where:
Hash messages (Hash) are data sent to a destination through its primary or fallback hash
value.
Processor messages (Proc) are data sent to a destination through a vproc ID.
local messages (Local) are messages communicated locally within the node.
Channel messages (Chan) are data sent between vprocs through channel IDs for purposes
of a private conversation to perform functions such as row redistribution, and so on.
Mailbox messages (Mbox) are data sent between vprocs through mailbox IDs for similar
purposes as channel messages.
A duplicated accounting is done with two different perspectives, since Hash + Proc + Group +
Local messages = Chan + MBox messages.
Column Name
Mode
Description
Data Type
MsgChanReads
count
FLOAT
MsgChanWrites
count
FLOAT
MsgHashReads
count
FLOAT
MsgHashWrites
count
FLOAT
MsgGroupReads
count
FLOAT
MsgGroupWrites
count
FLOAT
MsgLocalReads
count
FLOAT
MsgLocalWrites
count
FLOAT
MsgProcReads
count
FLOAT
MsgProcWrites
count
FLOAT
MsgMboxReads
count
FLOAT
MsgMboxWrites
count
FLOAT
249
Column Name
Mode
Description
Data Type
MsgHashMDelivery
count
Total amount of time read hash messages took for mailbox delivery.
FLOAT
count
Total amount of time read hash messages took for process delivery.
FLOAT
count
FLOAT
count
FLOAT
count
Total amount of time read local messages took for mailbox delivery.
FLOAT
count
Total amount of time read local messages took for process delivery.
FLOAT
count
FLOAT
count
FLOAT
Mode
Description
Data Type
TJPurges
count
FLOAT
250
Column Name
Mode
Description
Data Type
TJDbPurgeDeletes
count
FLOAT
count
FLOAT
Summary Mode
When Summary Mode is active for the ResUsageIvpr table, one row is written to the database
for each type of vproc on each node in the system, summarizing the vprocs of that type on
that node, for each log interval.
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row.
251
'S'
in Summary Mode.
'N'
normally.
Spare Columns
The ResUsageIvpr table spare fields are named Spare00 through Spare09, and SpareInt.
The SpareInt field has a 32-bit internal resolution while all other spare fields have a 64-bit
internal resolution. All spare fields default to count data types but can be converted to min,
max, or track type data fields if needed when they are used.
The following table describes the Spare field currently being used.
Column Name
Description
Spare00
Related Topics
For details on the different type of data fields, see About the Mode Column on page 42.
252
APPENDIX D
This chapter provides the definitions of the ResIpmaView and ResIvprView views.
Note: These views are intended primarily for Teradata engineers.
253
ResIpmaView
ResIpmaView is based on the ResUsageIpma table.
REPLACE VIEW DBC.ResIpmaView
AS SELECT
/* housekeeping fields */
TheDate,
NodeID (FORMAT '999-99') AS NodeID,
TheTime,
GmtTime,
NodeType,
TheTimestamp,
CentiSecs,
Secs,
NominalSecs,
CodFactor,
NCPUs,
Reserved,
Vproc1,
VprocType1,
Vproc2,
VprocType2,
Vproc3,
VprocType3,
Vproc4,
VprocType4,
Vproc5,
VprocType5,
Vproc6,
VprocType6,
Vproc7,
VprocType7,
MemSize,
NodeNormFactor,
/* Aliased Fields */
/* PM/WM CODs */
CodFactor
AS
/
/* RSS time stamps
RssInternal00 AS
RssInternal01 AS
RssInternal02 AS
RssInternal04 AS
RssInternal05 AS
RssInternal06 AS
RssInternal07 AS
RssInternal08 AS
RssInternal09 AS
RssInternal10 AS
RssInternal11 AS
RssInternal12 AS
RssInternal13 AS
RssInternal14 AS
RssInternal15 AS
PM_CPU_COD,
*/
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* effective CPU COD */
/* The default GroupId setting below shows how to
* select different node families, but does not differentiate the
* resulting groups. If a coexistence system had 5550, 5600 and 5650 nodes
* as well as some PE-only nodes the CASE expression might look like:
* WHEN (VPROCTYPE1='AMP' AND NodeType
IN ('5650H')) THEN '5650Nodes'
* WHEN (VPROCTYPE1='AMP' AND NodeType
IN ('5600H')) THEN '5600Nodes'
* WHEN (VPROCTYPE1='AMP' AND NodeType NOT IN ('5600H', '5650')) THEN
'5550Nodes'
* ELSE 'PEonly'
254
Note: The ResUsageIpma table fields have been removed from this sample output.
255
ResIvprView
ResIvprView is based on the ResUsageIvpr table.
REPLACE VIEW DBC.ResIvprView
AS SELECT
/* housekeeping fields */
thedate,
NodeID
thetime,
GmtTime,
NodeType
TheTimestamp,
CentiSecs
Secs
NominalSecs
CodFactor
SummaryFlag
Reserved
NCPUs
vprid,
VprType
(FORMAT '999-99')
AS NodeID,
(FORMAT 'X(8)')
AS NodeType,
(FORMAT
(FORMAT
(FORMAT
(FORMAT
(FORMAT
(FORMAT
(FORMAT
AS
AS
AS
AS
AS
AS
AS
'-------9')
'----9')
'ZZZ9')
'-----9')
'X(1)')
'X(3)')
'ZZ9')
(FORMAT 'X(4)')
CentiSecs,
Secs,
NominalSecs,
CodFactor,
SummaryFlag,
Reserved,
NCPUs,
AS VprType,
/* Aliased Fields */
/* PM/WM CODs */
CodFactor
AS PM_CPU_COD,
/* transformed fields */
/* PM/WM CODs */
( PM_CPU_COD * WM_CPU_COD / 1000 ) (FORMAT '----9') AS CPU_COD, /* eff
ective CPU COD */
/*
*
*
*
odes
* the CASE expression might look like:
* WHEN NodeType
IN ('5650H') THEN '5650Nodes'
* WHEN NodeType
IN ('5600H') THEN '5600Nodes'
* ELSE '5550Nodes'
*/
CASE
WHEN NodeType
IN ('5650H') THEN 'A'
ELSE 'A'
END AS GroupId,
/* Remaining table fields */
FROM DBC.ResUsageIvpr WITH CHECK OPTION;
Note: The ResUsageIvpr table fields have been removed from this sample output.
256
APPENDIX E
Partition Assignments
With regards to Teradata Database, there is more than one definition of partition. The
partitions here refer to the following Parallel Database Extensions (PDE) and vproc definition:
Partitions are the subdivision of vproc software processes into 48 semi-isolated domains.
For example, in an AMP vproc, Partition 11 is the AMP Worker Task Partition. In all other
vproc types, Partition 11 is unused.
Another partition description is only meaningful in a dialog between client programs and
Teradata Database. It has nothing to do with PDE vproc partitions, but is a way of enforcing
rules about what a client session is allowed to do and of keeping client sessions isolated from
each other. This concept of partitions is centered in the CLIv2 interface, specifically the
CONNECT parcel.
Partition reservation is as follows:
The table listed under Partition Assignment Listing on page 259 describes the individual
partitions. Teradata Database uses the following vprocs:
Vproc Type
Description
AMP
GTW
Node
The node vproc handles PDE and operating system functions not directly related to
AMP and PE work. Node vprocs cannot be externally manipulated, and do not
appear in the output of the Vproc Manager utility.
PE
Parsing engines perform session control, query parsing, security validation, query
optimization, and query dispatch.
RSG
Relay Services Gateway provides a socket interface for the replication agent, and for
relaying dictionary changes to the Teradata Meta Data Services utility.
TVS
257
For more information on partition usage, see CPU Utilization Columns on page 151.
Table Conventions
The following table describes the table symbols used in the partition assignments table below.
The symbol used in the Partition
Assignment Listing
Indicates
partition is unused.
258
259
Number
Name
Node
AMP
PE
GTW
RSG
Kernel
PDE daemons
--------
System Debugger
Console
PDE console
control process
(cnscim)
3-6
Interactive 1 through 4
Service
Console utilities
scpstart
--------
--------
utadvtsk
--------
Filesys
--------
File System
processes
--------
10
Gateway
--------
Gateway
processes
--------
11
AWT
--------
12
Session
--------
Session Control
tasks
--------
13
Dispatch
--------
Dispatcher/
Parser Partition
--------
14
[Unused]
--------
15
Startup
--------
16
[Unused]
--------
--------
AMP Worker
Tasks
Startup tasks
--------
--------
TVS
260
Partition:
Number
Name
Node
AMP
PE
GTW
RSG
TVS
17
RSS Startup
--------
--------
18
Distributed Database
File (DDF) Server
DDF services
--------
19
Metadata
Metadata
Services Gateway
rsgmain
--------
20-29
Interactive Partitions
--------
30
[Unused]
--------
31
Allocator
--------
tvsaallocator
32
Node Agent
--------
tvsa_agent
33
Clique Coordinator
--------
Clique
Coordinator
services
34-41
[Unused]
--------
42
GDO Monitor
gdom
--------
43
pdcmaster
--------
44
csp
--------
45
csp
--------
46
Dump list
csp
--------
47
Replication
--------
DBCCONS utilities
Replication
Gateway
rsgdbsmain
Glossary
AG
Allocation Group
AMP
Administration Workstation
AWT
BLC
Block-level compression
BYNET
Database Window
DDF
DDL
FSG
File Segment
GTW
Teradata Gateway
I/O Input/Output
MPP Massively Parallel Processing
NOMOD No modification
NUPI
PDE Parallel Database Extensions. PDE is a software interface layer between the operating
system and the Teradata Database software. It provides Teradata Database the ability to run in
a parallel environment, execute vprocs, and more.
PE
Parsing Engine
PG
Performance Group
PGWL
PM
Platform Metering
PMPC
PM/API
PP
Performance Period
261
Glossary
pWDid
RDBMS
ResUsage Resource Usage. The data stored in the database system resource usage tables.
RSG
RSS Resource Sampling Subsystem. The RSS provides a method to gather statistics from
across the Teradata Database system, and provides the ability to access the statistics through
an API. Resource usage uses the RSS data from the RSS API to log data to the selected resource
usage tables.
SLG
SMP
Symmetric Multi-Processing
TBBLC
TCHN
Teradata Channel
Tactical Workload Management Method This workload yields the fastest available response
time and executes at the highest tier, preempting all resource needs of other tiers. This method
is well suited for critical, short-running queries that require fast response times. For more
information, see Teradata Viewpoint User Guide.
TASM
Timeshare Workload Management Method This workload can be assigned to one of four
stepped access levels, Top, High, Medium, or Low. The higher access levels are given larger
access rates than the lower levels. For example, an SQL request assigned to a Timeshare WD
with a Top access level, which has an access rate of 8, would receive eight times the amount of
resources than an SQL request assigned to a Low access level.
Timeshare workloads are assigned resources remaining after all allocations have been made
for tactical and Workload Share Percent workloads. For more information, see Teradata
Viewpoint User Guide.
VNET
VH Cache Very hot cache. This cache holds the hottest permanent table cylinders. For tables
that are assigned a temperature of very hot, they are kept in the FSG cache as long as they:
262
Glossary
Fit into the memory assigned. If the tables cannot fit, the FSG cache considers a sorted list
of the hottest segments and assigns them to the very hot cache in temperature sorted
order. The temperature of the segment is hot enough to qualify.
The temperature takes into account both physical and logical disk accesses and cache hits
(such as, physical and logical I/Os).
WCI
Workload Management
263
Glossary
264
Index
Symbols
?, meaning in macro outputs 182
A
Allocation columns
for ResUsageSpdsk 95
for ResUsageSvdsk 125
for ResUsageSvpr 155
AMP information
macros 183, 188
table 131
view 164
AMP Worker Task columns
for ResUsageSawt 73
for ResUsageSpma 64
for ResUsageSvpr 109
API 18
Application programming interfaces. See API
AutoCylPack columns, ResUsageSvpr 143
B
BLC columns, ResUsageSvpr 144
Block-level compression columns. See BLC columns
Broadcast net traffic columns
for ResUsageSpma 57
for ResUsageSps 116
ByGroup macro 30
Bynet network transport data columns, ResUsageIpma 237
C
Channel management columns, ResUsageShst 82
Channel traffic columns
for ResUsageShst 82
for ResUsageSpma 55
Chnsignal status tracking columns, ResUsageSvpr 151
Co-existing node macros. See ByGroup macros
CPU use by AMPs macros
normalized viewing 191
ResAmpCpuByGroup 188
ResCPUByAMP 188
ResCPUByAMPOneNode 188
CPU use by each node macros
ResCPUByGroup 195
ResCPUByNode 195
ResCPUOneNode 195
D
Data block merge columns, ResUsageSvpr 143
Data block prefetches columns
for ResUsageSpma 53
for ResUsageSps 113, 135
Data segment lock requests columns
for ResUsageSpma 54
for ResUsageSvpr 141
Database commands
SET LOGTABLE 28
SET RESOURCE 27
SET SUMLOGTABLE 28
Database Window Supervisor
setting logging rates 28
Database Window. See DBW
DBW 27
enabling RSS logging
Depot columns, ResUsageSpma 54
DISABLE LOGONS
effects on logging 34
E
Example
executing a ResCPUByAmp macro 33
ResAmpCpuByGroup macro report 190
ResAWT macro report 186
ResAWTByAMP macro report 186
ResAWTByNode macro report 187
ResCPUByAMP macro report 189
ResCPUByGroup macro report 197
ResCPUByNode macro report 196
265
Index
F
File system columns
AutoCylPack 143
BLC 144
cylinder management overhead events 141
cylinder overhead 243
data block merge 143
data block prefetches 53, 113, 135
data segment lock requests 54, 141
Depot 54
FSG Cache Wait 142
FSG I/O 142
MI 142
segment acquired columns 133
segments acquired 52, 112
segments released 52, 114, 136
synchronized full table scans 133
write ahead logging 142
File system columns, ResUsageSpma 52
Formats
using FromDate 32
using FromNode 33
using Node 33
266
using ToDate 32
using ToNode 33
using ToTime 32
FSG Cache Wait columns, ResUsageSvpr 142
FSG I/O column, ResUsageSvpr 142
G
Gather Buffer 16
General concurrency control database locks columns
for ResUsageSpma 55
for ResUsageSvpr 146
General concurrency monitor management columns,
ResUsageIvpr 248
General format of macros 181
GmtTime 37
Group coordination message columns, ResUsageSpma 59
H
Host communications traffic macros
ResHostByGroup 198
ResHostByLink 198
ResHostOneNode 198
Host controller columns
channel management 82
channel traffic 55, 82
Network traffic 55
user command 82
user command arrival and departure 83
Housekeeping columns
for miscellaneous housekeeping 45, 49, 72, 79, 85, 93, 102,
131, 241
for relational primary index 45, 49, 71, 79, 85, 93, 101, 123,
131, 233, 241
How to re-enable logging 34
I
I/O statistics columns
for ResUsageSpdsk 96
for ResUsageSvdsk 125
Input and output traffic columns, ResUsageSldv 87
Input format for macros 29
L
Log Buffer 16
Logging period 16
Logging rates 27
Logging resource usage tables 20
Logic device columns
input and output traffic 87
outstanding requests 88
response time 87
Index
M
Macros
All-node 29
ByGroup 29, 30
examples of 33
executing 31
input format 29
Multiple-node 29
One-node 29, 30
output format 181
overview 17
syntax for 31
types of 181
Master Index columns. See MI 142
Memory allocation columns
for ResUsageSpma 56
for ResUsageSps 116
for the ResUsageSvpr table 149
Memory availability management columns, ResUsageSpma
56
Memory management by node macros
ResMemByGroup 204
ResMemMgmtByNode 204
ResMemMgmtOneNode 204
Memory resident columns, ResUsageSvpr 146
Merge services columns, ResUsageSpma 60
Message delivery times columns, ResUsageIvpr 250
Message type columns, ResUsageIvpr 249
MI columns, ResUsageSvpr 142
Migration columns
for ResUsageSpdsk 96
for ResUsageSvdsk 126
Miscellaneous housekeeping columns
for ResUsageIvpr 241
for ResUsageSawt 72
for ResUsageScpu 45
for ResUsageShst 79
for ResUsageSldv 85
for ResUsageSpdsk 93
for ResUsageSpma 49
for ResUsageSps 102
for ResUsageSvdsk 123
for ResUsageSvpr 131
Modes of resource usage data
count 42
max 42
min 42
track 42
Monitor WD columns, ResUsageSps 104
N
Net circuit management columns
for ResUsageSpma 58
Net columns 150
broadcast net traffic 57, 116, 150
bynet network transport data 237
group coordination message 59
merge services 60
message delivery time 237
message delivery times 250
message type 236, 249
net circuit management 58, 237
net controller status and miscellaneous management 58
net miscellaneous contention management 237
net queues 238
network transport data 57
point-to-point net traffic 57, 117, 150
work mailbox queue 150
Net miscellaneous contention columns
for ResUsageIpma 237
Net queues columns, ResUsageIpma 238
Network traffic columns, ResUsageSpma 55
Network transport data columns, ResUsageSpma 57
Node agent columns, ResUsageSvpr 158
Node information
macros 183, 195
view 173
Node network traffic macros
ResMemMgmtByNode 208
ResNetByGroup 208
ResNetOneNode 208
Nonunique primary index 37
NUPI. See nonunique primary index
O
Occasional event data 38
Outstanding requests columns, ResUsageSldv 88
Overall resource usage information. See summary macros
P
Parameters, EXECUTE MACRO
FromDate 32
FromNode 33
MacroNameAllNode 32
MacroNameByGroup 32
MacroNameMultiNode 32
Node 33
ToDate 32
ToNode 33
267
Index
Partition assignments
listing 259
table convention 258
PE and AMP UDF CPU columns, ResUsageSvpr 154
PE information
macros 192
table 131
view 166
Point-to-point net traffic columns
for ResUsageSpma 57
for ResUsageSps 117
for ResUsageSvpr 150
Priority Scheduler columns, ResUsageSpma 64
Priority Scheduler resource usage 220
Process allocation columns, ResUsageSpma 60
Process block count columns
for ResUsageSpma 61
for ResUsageSps 110
for ResUsageSvpr 155
Process pending snapshot columns, ResUsageSpma 60
Process pending wait time columns
for ResUsageSpma 62
for ResUsageSps 111
for ResUsageSvpr 155
Process scheduling columns 151
chnsignal status tracking 151
CPU utilization 46, 63, 109, 151
cylinder read 151
for CPU utilization 46
PE and AMP UDF CPU 154
pending wait time 111, 155
process allocation 60
process block count 61, 110, 155
process pending snapshot 60
process pending wait time 62
scheduled CPU switching 235
work type summary 243
Purging old resource usage data 35
Q
Question marks, meaning in macro outputs 182
R
Raw disk drive traffic macros 200, 217
ResLdvByGroup 200
ResLdvByNode 200
ResLdvOneNode 200
Relational primary index
and resource usage tables 37
Relational primary index columns 233
for ResUsageIvpr 241
for ResUsageSawt 71
for ResUsageScpu 45
268
for ResUsageShst 79
for ResUsageSldv 85
for ResUsageSpdsk 93
for ResUsageSps 101
for ResUsageSvdsk 123
for ResUsageSvpr 131
Relational primary index columns, ResUsageSpma 49
ResAmpCpuByGroup macro
what it reports 188
ResAWT macro
what it reports 183
ResAWTByAMP macro
what it reports 183
ResAWTByNode macro
what it reports 183
ResCPUByAMP macro
what it reports 188
ResCPUByAmp macro
example of 33
ResCPUByAMPOneNode macro
what it reports 188
ResCPUByGroup macro
what it reports 195
ResCPUByNode macro
what it reports 195
ResCPUByPE macro
what it reports 192
ResCPUByPEOneNode macro
what it reports 192
ResCPUOneNode macro
what it reports 195
ResCPUUsageByAMPView, definition 164
ResCPUUsageByPEView, definition 166
Reserved columns
for ResUsageSawt 76
for ResUsageScpu 47
for ResUsageShst 83
for ResUsageSpdsk 98
for ResUsageSpma 66
for ResUsageSps 117
for ResUsageSvdsk 127
ResHostByGroup macro
what it reports 198
ResHostByLink macro
what it reports 198
ResHostOneNode macro
what it reports 198
ResIpmaView, definition 254
ResIvprView, definition 256
ResLdvByGroup macro
what it reports 200, 217
ResLdvByNode macro
input format example 200
what it reports 200, 217
Index
ResLdvOneNode macro
what it reports 200, 217
ResMemByGroup macro
what it reports 204
ResMemMgmtByNode macro
what it reports 204
ResMemMgmtOneNode macro
what it reports 204
ResNetByGroup macro
what it reports 208
ResNetByNode macro
what it reports 208
ResNetOneNode macro
what it reports 208
ResNode macro
what it reports 211
ResNodeByGroup macro
what it reports 211
ResOneNode macro
what it reports 211
Resource usage data
and what it covers 15
benefits of 15
deleting old data 35
saving old data 31
Resource usage macros. See macros
Resource usage tables
enabling Summary Mode 28
naming convention 37
primary index 37
reporting Summary Mode 42
types of 20
Resource usage views. See Views
ResPeCpuByGroup macro
what it reports 192
Response time columns, ResUsageSldv 87
ResPs macros 220
ResPsByGroup macro
what it reports 220
ResPsByNode macro
input format example 220
what it reports 220
ResSawtView, definition 168
ResScpuView, definition 169
ResShstView, definition 170
ResSldvView, definition 171
ResSpdskView, definition 172
ResSpmaView, definition 173
ResSpsView, definition 175
ResSvdskView, definition 178
ResSvprView, definition 179
ResUsageIpma table 20
housekeeping columns 233
mode 233, 234, 236, 237, 238, 239
269
Index
S
Saving old resource usage data 31
Scheduled CPU switching columns, ResUsageIpma 235
Segments acquired columns
for ResUsageSpma 52
for ResUsageSps 112
for ResUsageSvpr 133
Segments released columns
for ResUsageSpma 52
for ResUsageSps 114
for ResUsageSvpr 136
SET LOGTABLE command 28
SET RESOURCE command 27
SET SUMLOGTABLE command 28
Single-node. See One-Node
SQL statement
EXECUTE MACRO 31
Statistics columns 95, 125
allocation 125
file system 52, 133, 243
general concurrency control database locks 55, 146
general concurrency control monitor management 248
host controller 82
270
T
Table naming conventions 37
Task context segment usage columns, ResUsageSvpr 149
TASM columns
AMP Worker Task 64, 73, 109
file system 112
Monitor WD 104
Priority Scheduler 64
process scheduling 109
work type descriptions 74
Teradata Active System Management. See TASM columns
Teradata virtual storage. See Teradata VS columns 41
Teradata VS columns 41, 155
allocation 95, 155
extent driver I/O 156
for ResUsageSvdsk 125
I/O statistics 96
Migration 96
node agent 158
Types of resource usage tables 20
Types of statistics reported 39
U
User command columns
arrival 66, 83
Index
departure 66, 83
ResUsageShst 82, 83
V
Views
ResCPUUsageByAMPView 164
ResCPUUsageByPEView 166
ResIpmaView 254
ResIvprView 256
ResSawtView 168
ResScpuView 169
ResShstView 170
ResSldvView 171
ResSpdskView 172
ResSpmaView 173
ResSpsView 175
ResSvdskView 178
ResSvprView 179
W
WAL columns, ResusageSvpr 142
Work mailbox queue columns, ResUsageSvpr 150
Work type descriptions columns, ResUsageSawt 74
Write ahead logging columns. See WAL 142
271
Index
272