Professional Documents
Culture Documents
1098
1098
Teradata, BYNET, DBC/1012, DecisionCast, DecisionFlow, DecisionPoint, Eye logo design, InfoWise, Meta Warehouse, MyCommerce,
SeeChain, SeeCommerce, SeeRisk, Teradata Decision Experts, Teradata Source Experts, WebAnalyst, and You’ve Never Seen Your Business Like
This Before are trademarks or registered trademarks of Teradata Corporation or its affiliates.
Adaptec and SCSISelect are trademarks or registered trademarks of Adaptec, Inc.
AMD Opteron and Opteron are trademarks of Advanced Micro Devices, Inc.
BakBone and NetVault are trademarks or registered trademarks of BakBone Software, Inc.
EMC, PowerPath, SRDF, and Symmetrix are registered trademarks of EMC Corporation.
GoldenGate is a trademark of GoldenGate Software, Inc.
Hewlett-Packard and HP are registered trademarks of Hewlett-Packard Company.
Intel, Pentium, and XEON are registered trademarks of Intel Corporation.
IBM, CICS, DB2, MVS, RACF, Tivoli, and VM are registered trademarks of International Business Machines Corporation.
Linux is a registered trademark of Linus Torvalds.
LSI and Engenio are registered trademarks 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.
Novell and SUSE are registered trademarks of Novell, Inc., in the United States and other countries.
QLogic and SANbox trademarks or registered trademarks of QLogic Corporation.
SAS and SAS/C are trademarks or registered trademarks of SAS Institute Inc.
SPARC is a registered trademarks of SPARC International, Inc.
Sun Microsystems, Solaris, Sun, and Sun Java are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and other
countries.
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 collective membership mark and a service mark of Unicode, Inc.
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 e-mail: 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.
Copyright © 2000 - 2007 by Teradata Corporation. All Rights Reserved.
Preface
Purpose
This book describes, and provides procedures for, Teradata Database resource usage data and
macros.
Audience
This book is intended for system programmers, system administrators, and other database
specialists responsible for administering or managing Teradata Database.
Prerequisites
You should be familiar with basic computer technology, Teradata Database, and the system
console environment.
It will be helpful to review or reference the following books:
• Introduction to Teradata Warehouse
• Workload Management API: PM/API and Open API
• Performance Management
Date Description
Date Description
V2R6.1 • When the system becomes busy, the logging interval will double.
May 2006 When the system returns to normal, the system automatically
returns to the logging rate you set.
• Removed references to the VprType “DM.” This vproc type should
only be described as “RSG.”
Additional Information
Additional information that supports this product and the Teradata Database is available at
the following Web sites.
In the following table, mmyx in the book product ID number B035-xxxx-mmyx represents the
publication date of a manual, where mm is the month, y is the last digit of the year, and x is an
internal publication code.
Linux Enterprise Server 10 will be made after Teradata Database 12.0 GCA. Please check with
your account representative regarding SUSE Linux Enterprise Server 10 availability in your
location.
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Supported Software Release . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Changes to This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
References to Microsoft Windows and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Summary Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Obsolete Columns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Memory Pages Resident Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Backup AMP and Traffic Management Columns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Summary Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Obsolete Columns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Summary Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Obsolete Columns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Concurrent Operations Columns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Seek Statistics Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Response Time Columns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Summary Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
ResGeneralInfoView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
ResCPUUsageByAMPView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .148
ResCPUUsageByPEView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150
ResShstGroupView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
ResSldvGroupView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
ResVdskGroupView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
SECTION 4 Appendixes
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Resource usage, or ResUsage, is the collection and reporting of statistical information about
the operation of your operating system and Teradata Database.
Related Topics
For additional information on performance analysis and system tuning, see the following
books:
• Workload Management API: PM/API and Open API
• Performance Management
• Teradata Manager User Guide
Topics Covered
The following table lists topics covered by resource usage data:
logical device traffic (SCSI) number of reads/writes and amount of data transferred as
seen from the SCSI driver.
vdisk logical device traffic all the cylinders allocated by an AMP (which can come from
any pdisks in the clique).
Priority Scheduler information data by Performance Group (PG) from the Priority
Scheduler and the ability to report resource usage data by
Teradata Active System Management (Teradata ASM)
workloads (WDs).
Types of Data
You can think of resource usage data in the following general categories:
Category Description
aggsam Aggregated sample data tracks the average value of multiple samples of a
countable item, such as average queue length. Given the number of samples
that the aggregated value represents, the value can be divided by that number.
count Counted data tallies the number of times an event occurred, such as the
number of disk reads or writes during a period of time.
countshft Countshift data is similar to count data except that the gathering software
counts in units of some power of two, and the Resource Sampling Subsystem
(RSS) software shifts the data value by the number of bits necessary to
convert it to some other unit. For example, the gathering software
accumulates Spma.MsgPtPReadKB in 16-byte units, and RSS then shifts the
resulting values right by 6 bits, converting the value to kilobytes (KBs).
track Tracked data gauges the current value of a countable item, such as queue
lengths during a period of time.
tmon Time-monitored data reports the time that a resource was in use, such as
processor time. Unless otherwise stated, all times reported in ResUsage tables
are in hundreths of seconds.
Data Collection
During the data collection phase the RSS gathers information from the operating system,
Parallel Database Extensions (PDE), and Teradata Database.
Data collection continues for a user-specified period of time, called the collection interval.
Data Logging
In the logging phase, which occurs at the end of each logging period and consists of one or
more complete collect intervals, the RSS writes all gathered data to ResUsage tables and
reinitializes the shared data collection buffers for the next log interval.
Collect Interval
Log Interval
ResUsage
Write Queue
Equivalent Teradata
Performance Monitor
Options Selected from the
Request Main Window Possible Error Message Explanation
MONITOR VIRTUAL • Resource Data Unavailable. The RSS The user requested Resource
RESOURCE • Monitor Virtual Collection Rate is not monitoring, but the RSS Collection
Resource currently enabled. Rate is not enabled.
Remedy: Enable the RSS Collection
Rate by setting it to a non-zero value
and resubmit this request. For
information on how to resolve this
error message, see Messages.
For more information on System PMPC requests and other PM/APIs, see Workload
Management API: PM/API and Open API.
Related Topics
a list of resource usage macros and their “Determining the Type of Logging Rate To Set” on
associated tables page 27.
descriptions and examples of the macros Chapter 15: “Resource Usage Macros.”
ResUsage Tables
ResUsage tables are divided into two groups: Node and Vproc.
The following table describes these two groups and the tables within each group. It also
provides guidance about which ones to enable.
ResUsageScpu Statistics on the CPUs within the nodes. When the performance analysis suggests that the
overall performance is limited or to check if a
program is spinning in an infinite loop on an
individual processor.
For example, saturation of a particular CPU on each
node or on a particular node while others are idle
could indicate a task always uses that CPU.
Also, you should enable when the system is first
brought online to verify the following:
• That all CPUs are functioning on all nodes
• There is a good load balance among the CPUs
ResUsageSpma System-wide node information provides a To provide an overall history of the system operation.
summary of overall system utilitization
incorporating the essential information
from most of the other tables.
Use the columns in ResUsageSpma to view
BYNET utilization.
Note: The BYNET can transmit and receive
at the same time, resulting in 100%
transmitting and 100% receiving values
simultaneously.
Another method of determining BYNET
utilization and traffic is to use the blmstat
tool.
ResUsageIpma System-wide node information, intended Generally, this table is not used at customer sites.
primarily for Teradata engineers.
ResUsageSawt Data specific to the AMP worker tasks When you want to monitor the utilization of the
(AWTs). AWT and determine if work is backing up because the
AWTs are all being used.
ResUsageShst Statistics on the host channels and LANs To determine details about the traffic over the IBM
that communicate with Teradata Database. Host channels to determine if there is a bottleneck.
ResUsageSldv System-wide, logical device statistics To observe the balance of disk usage. The SCSI disk
collected from the SCSI bus. statistics are often difficult to interpret with disk
arrays attached due to multi-path access to disks.
Note: Use the ResUsageSvdsk table first to observe
general system disk utilization unless specifically
debugging at a low level.
ResUsageSps Data by Performance Group (PG) ID from When you need to track utilization by the query
the Priority Scheduler. Workload Definition (WD) level.
ResUsageSvdsk Statistics collected from the vdisk logical To view the details of the disk usage across the AMPs
device. to look for hot AMPS or other skew issues.
ResUsageSvpr Data specific to each virtual processor and To view details about the resources being used by each
its file system. vproc on the system. This table is useful for looking
for hot AMPS or PEs that may be CPU bound or
throttled on other resources.
ResUsageIvpr System-wide virtual processor information, Generally, this table is not used at customer sites.
intended primarily for Teradata engineers.
Collection Rate
Collection rate controls the frequency (number of seconds) at which resource usage data is
made available to programs that collect the data. The term collection interval is the same as
collection rate.
The RSS Collection Rate controls the collection of resource usage data from both the virtual
processors and the nodes. That is, the RSS Collection Rate implies the rate for both vproc and
node collection.
Logging Rate
Logging rate controls the frequency (number of seconds) at which resource usage data is
logged to the resource usage tables.
Resource usage logging means the writing of resource data as rows to one or more of the
ResUsage 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 “ResUsage
Tables” on page 24.
The shorter the logging period, the more frequently data is logged, and the more disk space is
used.
There are two types of logging rates.
This logging rate … Controls the logging of resource usage data for …
The Node and Vproc logging rates must be integer multiples of the RSS Collection Rate.
When the system is so busy that the ResUsage 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.
Note: New events that may occur in the event logs during this double 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.
For this table … And these macros... Use this logging rate...
1 2 3 4 5 6
8 9 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
the RSS will be forced to start discarding rows if the system load persists for many hours
and its cache capacity has been exceeded.
Operational Methods
Use the following methods to optimize performance and reduce the cost of resource usage
logging on your system:
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.
Note: If resource usage logging terminates due to a lack of table space:
a Delete rows from the appropriate table or make more space for it in USER DBC.
b Restart resource usage logging by entering the appropriate SET RESOURCE
command.
2 For tables with a large number of rows (for example, ResUsageSps), use Active Row Filter
Mode to limit the number of rows written to the database each logging period and to
minimize the amount of system resources used.
3 Avoid unnecessarily using or exhausting available disk space by doing the following:
Never enable logging on tables that you do not intend to use.
For example, logging only to the ResUsageSpma table provides a lot of useful information
with a minimal operational load on the system.
4 Use the largest rates that provide enough detail information for your purposes.
Note: Do not use small logging rates.
Generally, you should use a logging rate no smaller than 60. The default rate is 600.
If logging is enabled on all the resource usage tables, use logging rates no smaller than 300.
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. (In the case of xctl,
this is the WRITE command.)
5 Purge old data from the ResUsage tables periodically.
Related Topics
enabling resource usage tables, setting “Enabling RSS Logging” on page 33.
collection and logging rates, and
summarizing and/or filtering rows
purging old data from ResUsage tables “Purging Data” on page 43.
If running ... You can enable logging by running ... For instructions, see ...
Windows or Linux the ctl utility from the Teradata “Using ctl and xctl” on page 33.
Command Prompt or open the Control
GDO Editor (CTL) window in Teradata
MultiTool.
MP-RAS the xctl utility in non-windowing or “Using ctl and xctl” on page 33.
windowing mode from the command
line.
MP-RAS, Windows, or Linux Database Window (DBW). “Using Database Window” on page 35.
Before you set the ResUsage tables, determine which tables and controlling rates apply to the
resource usage macros you want to run. For more information, see the following topics:
• “Enabling ResUsage Tables” on page 23.
• “Setting Collection and Logging Rates” on page 26.
The following table describes the RSS settings that can be changed with ctl and xctl.
Setting Description
RSS Collection Rate The interval (in seconds) between collecting per-node
and per-vproc statistics.
The default is 600.
Node Logging Rate The interval (in seconds) between writing per-node
statistics to the database. It must be an integer multiple of
the RSS Collection Rate.
The default is 600.
Vproc Logging Rate The interval (in seconds) between writing per-vproc
statistics to the database. It must be an integer multiple of
the RSS Collection Rate.
The default is 600.
RSS Table Logging Enable Controls whether logging is enabled to the various
ResUsage tables.
Note: For logging to occur, the RSS Collection Rate must
be set to a non-zero value, and Node Logging and Vproc
Logging rates must be set to integer multiples of the RSS
Collection Rate.
Only the SPMA table has logging enabled by default.
Because writing rows to the ResUsage tables uses system
resources, Teradata recommends that you leave logging to
the other tables disabled until a specific need requires
these statistics.
RSS Summary Mode Enable When logging is enabled for certain ResUsage tables,
multiple rows of resource usage data are written during
each logging period. Summary mode reduces the amount
of data collected per logging period by causing the RSS to
store a single summary row per type per node, instead of
one row per logging entity.
For example, if regular logging is enabled for the SCPU
table, separate rows storing statistics for every CPU are
written during each logging period. If summary mode is
enabled, only a single row is written for each node,
regardless of the number of CPUs in that node. The single
row includes summary data for all node CPUs.
Similarly, if regular logging is enabled for the SVPR table,
separate rows are written for every individual vproc. If
summary mode is enabled for this table, one row is
written for each vproc type (AMP, PE, and others).
Note: RSS Summary Mode is effective for a table only if
RSS Table Logging is also enabled.
Setting Description
RSS Active Row Filter Mode Enable Active Row Filter Mode limits the data rows that are
logged to the database. For the tables for which this
option is on, only those rows whose data has been
modified during the current logging period will be
logged.
For the SPS table, there are a large number of possible
rows, and most of them are not used at any one time.
Logging the inactive rows would waste a large amount of
resources, so it is highly recommended that Active Row
Filter Mode remain enabled for this table.
For tables that have both active row filter mode and
summary mode enabled, the active row filtering is applied
after the summarization. For data fields that have
persistent data across logging periods, the summarized
rows may combine the data from both active and inactive
rows. In these cases, the active row filtering reports
summarized rows that have at least one active row
contribution.
Note: RSS Active Row Filter Mode is effective for a table
only if RSS Table Logging is also enabled.
After the table is enabled for logging, you can log rows in Summary Mode, enable active
row filtering, or both.
To determine whether to enable Summary Mode or active row filtering, see the following
topics:
• “Using Summary Mode” on page 29
• “Using Active Row Filter Mode” on page 29
Note: In order to log rows in Summary Mode, the table specified must be enabled in both
the RSS Table Logging Enable group and in the RSS Summary Mode Enable group.
6 (Optional) Issue any of the following commands:
• Enable Summary Mode on the ResUsage table specified using the following database
command:
OFF
1095A010
• Enable active row filtering on the ResUsage table specified by using the following
database command:
SET ACTIVELOGTABLE tablename ON
ALL OFF
1095A008
Example
The following example shows you how to enable table logging and set the RSS collection and
logging rates using the database commands in DBW. Suppose you want to enable the
ResUsageShst table and set the collection and logging rates for 15 minutes (900 seconds). You
would enter the following:
set logtable shst on
set resource coll 900 vproc log 900
For instructions on using these macros, see “Executing Macros” on page 39.
Executing Macros
Function
Macro execution is illustrated in the following diagram. For details about each macro and its
resulting report, see Chapter 15: “Resource Usage Macros.”
EXECUTE MacroNameMultiNode ( , , A
EXEC FromDate ToDate
MacroNameAllNode ( , , B
FromDate ToDate
MacroNameOneNode ( , , C
FromDate ToDate
MacroNameByGroup ( , , D
FromDate ToDate
A , , , );
FromTime ToTime FromNode ToNode
B ,
FromTime ToTime
C , ,
FromTime ToTime Node
D , ,
FromTime ToTime
GX02B001
where:
• ResCPUByAMP • ResNodeByNode
• ResCPUByPE • ResPsByNode
• ResCPUByNode • ResVdskByNode
• ResLdvByNode
• ResMemMgmtByNode
• ResNetByNode
• ResNode • ResHostByLink
The ResHostByLink and ResNode macros do not use the FromNode and
ToNode parameters.
• ResAmpCpuByGroup • ResNodeByGroup
• ResCPUByGroup • ResPeCpuByGroup
• ResHostByGroup • ResPsByGroup
• ResLdvByGroup • ResVdskByGroup
• ResMemByGroup
• ResNetByGroup
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.
FromNode Starting range of nodes to report resource usage data. The format is
'nnn-nn'. A hyphen must be included in the fourth character position.
The default is '000-00'.
Note: To identify the node ID numbers for your system, type
get config in the DBW Supervisor Window (Supvr).
ToNode Ending range of nodes to report resource usage data. The format is 'nnn-
nn'. 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).
See SQL Reference: Data Types and Literals for information on using numeric values for dates.
'123-02' Node
See SQL Reference: Data Types and Literals for information on using numeric values for dates.
where:
See SQL Reference: Data Types and Literals for information on using numeric values for dates.
Purging Data
The RSS does not automatically delete data from the resource usage tables. You need to purge
old data regularly, especially when system activity is low.
You can use the System Maintenance application from the Production Control Menu of
Teradata Manager to clean out old resource usage data. For more information on System
Maintenance, see Teradata Manager User Guide.
You can also directly remove old resource usage data by submitting SQL statements. For
example, use the following SQL statement to remove data more than five days old from the
ResUsageSpma table:
DELETE FROM ResUsageSpma WHERE TheDate < CURRENT_DATE - 5;
For more information about the DELETE syntax, see “SQL Data Manipulation Language
Statement Syntax” in SQL Reference: Data Manipulation Statements.
Information_type
Code Description
S System-wide information
Table_name
Code Description
Column Descriptions
All columns described in the following chapters and appendices are type FLOAT unless
otherwise specified in the description of that column. All nonexistent values are stored with
the NULL value.
ALL do not use on any platform. The column is not valid on all
the platforms.
When the “Invalid Platform” column is blank, the column being described is valid on all
platforms.
track (tracked) current value of countable item, such as queue lengths during
specified logging period.
count (counted) number of times event, such as disk reads that occurred during
specified logging period.
tmon (time-monitored) the time a resource, such as processor time, was in use in units
of centiseconds.
average value. Since the CollectIntervals is the number of collection periods per logging
period, the resulting number is the average value per logging period.
Column Categories
The following chapters describe the ResUsage tables by detailing the column information in a
table format. These tables contain three categories: main column type, category, and
subcategory.
These columns appear as follows:
CATEGORY
Subcategory
Note that the row containing the main column type is shaded and its heading is written in all
uppercase letters. The category heading is not shaded, but is still written in all uppercase
letters.
There are two kinds of main column types:
• Housekeeping columns - contain statistics on timestamp, current logging characteristics,
collection elements and its general characteristics.
• Statistics columns - can be further categorized into subcategories. Categories and
subcategories may vary from table to table.
The following table shows the Statistics columns subdivided into their respective
subcategories. Subcategories are not necessarily applicable to all tables. For example, the Host
Controller category only applies to the ResUsageShst table.
Statistics Column
Category Subcategories Description
File System • Cylinder Management Some of the file system columns can be viewed as a
• Cylinder Management Overhead subset of memory columns by expanding on the
Events operations performed on disk memory segments.
Operations counted are logical memory and
• Data Block Prefetches
physical disk reads and writes (including aging) and
• Data Segment Lock Requests locking control activities. Other columns identify
• Segments Acquired the purpose of operations being performed on disk
• Segments Released segments such as cylinder migration or data
updates; or identify the requests being made by
• Synchronized Full File Scans
database software on the file system. The WAL
• Write Ahead Logging (WAL) columns identify the log-based file system recovery
scheme in which modifications to permanent data
are written to a log file, the WAL log.
Host Controller (SHST) • Channel Traffic These columns identify traffic on the host-to-node
• Channel Management channels and LANs. Some also give overhead and
management information on the host channel and
• Controller Overhead
LAN.
• User Commands
• User Command Arrival and
Departure
Logical Device • Concurrent Operations These columns identify individual logical device
• Input and Output Traffic activities for external storage components
connected through the buses.
• Outstanding Requests
• Response Time The SCSI statistics are calculated only on what can
be derived from statistics collected by the operating
• Seek Statistics system, since the disk array controllers do not
provide us with any useful data for resource usage.
Statistics Column
Category Subcategories Description
Net • Broadcast Net Traffic Traffic over the BYNET is identified through the
• Group Coordination number and direction of messages, subdivided into
the type of transmission, as well as physical
• Merge Services
utilization of the BYNET. Logical messages and
• Net Controller Status and direction are identified through subdivisions of the
Miscellaneous Management message class. Controller overhead, channel
• Net Circuit Management utilization, and Teradata Net contention are
• Network Transport identified as well.
• Per-Bynet Network Transport Data
• Point-to-point Net Traffic
• Work Mailbox Queue
Process Scheduling • ChnSignal Status Tracking These columns provide a CPU-level snapshot of
• CPU Utilization work started, with current characteristics and states.
Expanded detail is provided for work started but
• Cylinder Read
waiting on resources. This helps identify the ability
• Process Allocation or inability of the system to effectively utilize
• Process Block Counts resources. Time allotments are tracked by
• Process Pending Snapshot monitoring the time spent waiting for resources or
processing code. These columns also track the
• Process Pending Wait Time number of times processing was switched to another
• Scheduled CPU Switching process for multitasking purposes or to perform
interrupt services.
User Commands • User command These columns describe the types of commands
• User command Arrival and given to Teradata Database by the user and the
Departure progress of those commands.
Secondary Cache None. These columns identify the secondary cache miss
rate.
Teradata Active System • AMP Worker Tasks These columns collect and report statistics about the
Management • In use and Max Array Data AMP Worker Tasks (AWTs) and Priority Scheduler.
(Teradata ASM) The columns specific to the ResUsageSawt table also
• Priority Scheduler
report the number of AWTs currently in use and the
maximum number of AWTs for the current vproc
on the node.
Note: The following column category and subcategories are not currently used.
The Table… contains resource usage data… and the following information when Summary Mode is active…
ResUsageIpma for available system-wide, node Summary Mode not applicable to this table.
information
ResUsageSpma for available system-wide, node Summary Mode not applicable to this table.
information
ResUsageScpu specific to the CPUs within the one row is written to the database for each node in the system,
nodes. summarizing the CPUs on that node, for each log interval.
• The value in CPUId is 0.
• The value in Secs is the sum of the Secs values for all the
CPUs.
For details, see Chapter 5: “ResUsageScpu Table.”
ResUsageSawt specific to the AWTs. one row is written to the database for each node in the system,
summarizing all AWTs per node, for each log interval.
For details, see Chapter 7: “ResUsageSawt Table.”
ResUsageShst specific to the host channels and one row is written to the database for each type of host
LANs communicating with (network or channel-connected) on each node in the system,
Teradata Database. summarizing the hosts of that type on that node, for each log
interval.
• The value in HstId is 0.
• The value in HstType ends with the character ‘S’ for
“summary.” This is the indication that a row is a
summarization row.
• The value in Secs is the sum of the Secs values for all the
hosts this row represents.
For details, see Chapter 8: “ResUsageShst Table.”
The Table… contains resource usage data… and the following information when Summary Mode is active…
ResUsageSldv specific to each logical device two rows are written to the database: one summarizing the
interfaced through the SCSI bus. system logical devices and one summarizing the Teradata
Database logical devices.
• The value in LdvId is 0.
• The value in LdvType ends with the character ‘S’ for
“summary.” This is the indication that a row is a
summarization row.
• The value in Secs is the sum of the Secs values for all the
ldvs this row represents.
For details, Chapter 9: “ResUsageSldv Table.”
ResUsageSps by Performance Group ID from one row is written to the database for each Performance Group
the Priority Scheduler. ID in the system for each log interval.
For details, see Chapter 11: “ResUsageSps Table.”
ResUsageSvdsk specific to the vdisk logical one row is written to the database for each node in the system,
device. summarizing all AMP vdisk data in each node, for each log
interval.
For details, see Chapter 12: “ResUsageSvdsk Table.”
ResUsageSvpr specific to each virtual processor one row per physical table is written to the database for each
and its file system. type of vproc on each node in the system, summarizing the
vprocs of that type on that node, for each log interval.
• The value in VprId is the vproc type code.
• The value in VprType ends with the character ‘S’ for
“summary.” This is the indication that a row is a
summarization row.
• The value in Secs is the sum of the Secs values for all the
vprocs this row represents.
For details, see Chapter 13: “ResUsageSvpr Table.”
This resource usage table contains resource usage information specific to the CPUs within the
nodes. Table ResUsageScpu 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 46.
The Invalid Platform column is a little counterintuitive. If your platform appears in that
column, then resource usage data for that particular column is either not collected or not valid
and should not be used.
The following table describes the ResUsageScpu table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc resides. INTEGER
The Node ID is formatted as CCC-MM, where CCC
denotes the three-digit cabinet number and MM
denotes the two-digit chassis number of the node.
For example, a node in chassis 9 of cabinet 3 has a
node ID of ‘003-09’.
Note: Symmetric Multi-Processing (SMP) nodes
have a chassis and cabinet number of 1. For
example, the node ID of an SMP node is ‘001-01’.
Gather Invalid
Column Name Method Description Data Type Platform
Gmt Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur twice
a year.
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,” “5450,”
etc.
CPUId n/a Identifies the CPU within this node. The values are SMALLINT
0 through NCPUs-1.
Gather Invalid
Column Name Method Description Data Type Platform
Active n/a Controls whether or not the rows will be logged to BYTE
the ResUsage tables if Active Row Filter Mode is
enabled.
If Active is set to:
• a non-zero value, then the row contains
modified data columns.
• a zero value, then none of the data columns in
the row have been updated during the logging
period.
For example, if Active Row Filter Mode is enabled,
then the rows that have a zero Active field value will
not be logged to the ResUsage tables.
Note: For the current release, data collection for the
ResUsageScpu table results in a non-zero value for
all rows under all conditions. Therefore, Active Row
Filter Mode is not in effect for this table.
CollectIntervals n/a Number of collect intervals during each log interval. SMALLINT
In the collect buffer, the value is always 1. In the log
buffer or the database table, the value is the ratio of
log interval to collect interval.
STATISTICS COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
CPUIdle tmon Time in centiseconds the CPU is idle and not FLOAT
waiting for I/O.
CPUIoWait tmon Time in centiseconds CPU is waiting for I/O FLOAT WINDOWS
completion
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.
CPUProcSwitches count Number of times the scheduler switched the CPUs FLOAT WINDOWS
currently active process to a new process. LINUX
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… THEN the data for that row is being logged…
‘N’ normally.
Spare Columns
The ResUsageScpu table has six spare columns: two count, two track, and two tmonitored
columns as shown in the following table.
Gather
Column Name Method Description
The ResUsageSpma table includes resource usage data for available system-wide, node
information. Together with the ResUsageIpma table, ResUsageSpma is part of the “Node
ResUsage table group.”
The ResUsageIpma table is described in Appendix B: “ResUsageIpma Table.”
Note: Summary Mode is not applicable to this table.
This table is created as a MULTISET table. For more information see “Relational Primary
Index” on page 46.
The Invalid Platform column is a little counterintuitive. If your platform appears in that
column, then resource usage data for that particular column is either not collected or not valid
and should not be used.
The following table describes the ResUsageSpma table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc INTEGER
resides. The Node ID is formatted as CCC-MM,
where CCC denotes the three-digit cabinet
number and MM denotes the two-digit chassis
number of the node. For example, a node in
chassis 9 of cabinet 3 has a node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an
SMP node is
‘001-01’.
Gather Invalid
Column Name Method Description Data Type Platform
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,” “5450,”
etc.
Vproc5 n/a Note: This field is not currently used. SMALLINT ALL
VprocType5 n/a Note: This field is not currently used. CHAR(4) ALL
Gather Invalid
Column Name Method Description Data Type Platform
Active n/a Gets set to a non-zero value whenever one of the FLOAT
other data columns in the row is set.
NetSamples n/a Sample count for sampled (tmon and aggsam) FLOAT
statistics for a Bynet.
Note: NetSamples is used to normalize all net
tmon statistics to a percent-of-time basis. For
example, dividing (NetTxIdle/NetSamples)
yields the transmitter-idle time ratio for the net
statistics.
Gather Invalid
Column Name Method Description Data Type Platform
STATISTICS COLUMNS
ProcReadySum count Total number of processes ready and able to FLOAT WINDOWS
execute on CPUs when a CPU becomes available LINUX
during each log interval.
Note: To calculate the average number of
processes ready and able to execute, divide this
value by the CollectIntervals value. Since the
CollectIntervals is the number of collect periods
per logging period, the resulting number is the
average value per logging period.
Gather Invalid
Column Name Method Description Data Type Platform
ProcReadyMax track Maximum number of processes ready and able FLOAT WINDOWS
to execute on CPUs when a CPU becomes LINUX
available during each log interval.
Gather Invalid
Column Name Method Description Data Type Platform
ProcBlksQnl count Number of process blocks for a TSKQNL lock. FLOAT WINDOWS
LINUX
ProcBlksFsgRead count Number of process blocks for an FSG read from FLOAT WINDOWS
disk. LINUX
ProcBlksFsgWrite count Number of process blocks for an FSG write to FLOAT WINDOWS
disk. LINUX
ProcBlksMonitor count Number of process blocks for a user monitor. FLOAT ALL
ProcBlksMonResume count Number of process blocks for a user monitor FLOAT ALL
resume from a yield.
ProcBlksDBLock count Number of process blocks for database locks. FLOAT MP-RAS
The AWT can do other work while the lock is
blocked.
ProcBlksSegLock count Number of process blocks for a disk or task FLOAT WINDOWS
context (scratch, stack, etc.) segment lock. LINUX
ProcBlksFsgLock count Number of process blocks for an FSG lock. FLOAT WINDOWS
LINUX
ProcBlksTime count Number of process blocks waiting only for timer FLOAT WINDOWS
expiration. LINUX
ProcWaitMemAlloc tmon Total time processes were blocked pending FLOAT WINDOWS
memory allocations. LINUX
Gather Invalid
Column Name Method Description Data Type Platform
ProcWaitPageRead tmon Total time processes were blocked pending a page FLOAT ALL
read from disk.
ProcWaitFsgRead tmon Total time processes were blocked pending an FLOAT WINDOWS
FSG read from disk. LINUX
ProcWaitFsgWrite tmon Total time processes were blocked pending an FLOAT WINDOWS
FSG write to disk. LINUX
ProcWaitNetThrottle tmon Total time processes were blocked pending FLOAT WINDOWS
delivery of outstanding outgoing messages. LINUX
ProcWaitMsgRead tmon Total time processes were blocked pending non- FLOAT
step work.
ProcWaitMonitor tmon Total time processes were blocked pending a user FLOAT ALL
monitor.
ProcWaitMonResume tmon Total time processes were blocked pending a user FLOAT ALL
monitor resume from a yield.
ProcWaitDBLock tmon Total time processes were blocked pending FLOAT ALL
database locks.
ProcWaitSegLock tmon Total time processes were blocked pending a disk FLOAT WINDOWS
or task context (scratch, stack, etc.) segment LINUX
lock.
ProcWaitFsgLock tmon Total time processes were blocked pending an FLOAT WINDOWS
FSG lock. LINUX
ProcWaitTime tmon Total time processes were blocked pending some FLOAT WINDOWS
amount of elapsed time only. LINUX
ProcWaitQnl tmon Total time processes were blocked pending a FLOAT WINDOWS
TSKQNL lock. LINUX
ProcWaitMisc tmon Total time processes were blocked pending FLOAT WINDOWS
miscellaneous events. LINUX
Gather Invalid
Column Name Method Description Data Type Platform
CPUIdle tmon Time in centiseconds CPUs are idle and not FLOAT
waiting for I/O.
CPUIoWait tmon Time in centiseconds CPUs are idle and waiting FLOAT WINDOWS
for I/O completion.
On Windows, the default value is always 0.
Note: This time represents another variety of
Idle, since a CPU is only in this state if there are
no processes eligible for execution. If there was a
process available, the CPU would be immediately
dispatched for that process.
Gather Invalid
Column Name Method Description Data Type Platform
CPUIdleNorm tmon Time in centiseconds CPUs are idle and not FLOAT
waiting on I/O.
CPUIOWaitNorm tmon Time in centiseconds CPUs are idle and waiting FLOAT WINDOWS
for I/O completion.
On Windows, the default value is always 0.
MEMORY COLUMNS
MemVprAllocKB count Total KBs attributed to allocations and size- FLOAT WINDOWS
increasing alters for vproc memory types.
On Linux, the number of KB of increased
nonshared memory.
Gather Invalid
Column Name Method Description Data Type Platform
MemTSysOhRes track Number of pages resident in memory for system FLOAT ALL
overhead text. System Overhead Text is wired
into memory upon startup and will not change.
MemDSysOhRes track Number of pages resident in memory for system FLOAT WINDOWS
overhead data. System Overhead Data is wired LINUX
into memory upon startup.
MemTextRes track Number of pages resident in memory for text. FLOAT ALL
MemCtxtRes track Number of pages resident in memory for task FLOAT WINDOWS
context segments. LINUX
Mem[seg]KBRes track Current KBs resident in memory for (non- FLOAT ALL
backup) disk segments.
MemFreeKB track KBs of free memory. This value should be equal FLOAT
to the size of memory minus the total amount
resident derived from adding all of the above
memory resident columns and frozen disk
segment resident column from ResUsageSvpr.
On Linux, the value reported is the approximate
amount of memory that is available for use. The
Linux operating system uses most free memory
for buffers and caching to improve performance,
but the operating system can reclaim that
memory if it is needed by programs.
The following formula is used by the RSS to
calculate this value:
MemFreeKB = MemFree + Buffers + Cached +
SwapCached - fsgavailpgs*kbperpage -
(active_slabs*pgsperslab*kbperpage)
where the value(s):
• MemFree, Buffers, Cached, and SwapCached
come from /proc/meminfo.
• fsgavailpgs come from the PDE FSG code.
• active_slabs and pgsperslab come from /proc/
slabinfo.
Gather Invalid
Column Name Method Description Data Type Platform
MemProcSwapped track Current count of processes whose stack has been FLOAT WINDOWS
written to disk to make available more physical LINUX
memory. This value is less than, or equal to, total
processes allocated.
MemCtxtPageWrites count Number of task context (scratch, stack, etc.) FLOAT MP-RAS
pages that were paged out.
On Linux, the number of 4KB pages swapped
out.
MemCtxtPageReads count Number of task context (scratch, stack, etc.) FLOAT MP-RAS
pages that were paged in.
On Linux, the number of 4KB pages swapped in.
MemSwapDrops count Number of disk segments that were dropped FLOAT ALL
from memory because all its ancestor processes
were swapped out.
MemSwapReads count Number of disk segments that were re-read when FLOAT ALL
they were previously dropped from memory
because all its ancestor processes were swapped
out.
Gather Invalid
Column Name Method Description Data Type Platform
NET COLUMNS
Note: Counshft data type is similar to count except that the data is gathered in units of some power of two and then shifted
by the number of bits necessary to convert it to some other unit. For example, data for MsgPtPReadKB is collected in 16-
byte units and then shifted right by 6 bits, converting the value to KBs.
MsgBrdWriteKB countshft Total KBs of net broadcast messages output from FLOAT
processes on the node via the message
subsystem.
Gather Invalid
Column Name Method Description Data Type Platform
NetTxKBBrd count Total broadcast KBs transmitted over all Bynets. FLOAT
NetRxKBBrd count Total broadcast KBs received over all Bynets. FLOAT
Gather Invalid
Column Name Method Description Data Type Platform
NetRxCircPtp count Total number (both normal and high priority) of FLOAT
point-to-point circuits received on all Bynets.
NetRxCircBrd count Total number (both normal and high priority) of FLOAT
broadcast circuits received on all Bynets.
NetTxCircBrd count Total number (both normal and high priority) of FLOAT
broadcast circuits transmitted on all Bynets.
NetHWBackoffs count “Hardware” backoffs reported by the BLM for all FLOAT
Bynets.
NetTxCircPtp count Total number (both normal and high priority) of FLOAT
point-to-point circuits transmitted on all Bynets.
NetChanInUseSum count Total number of channels in use during each log FLOAT
interval.
Gather Invalid
Column Name Method Description Data Type Platform
NetGroupInUseSum count Total number of groups in use during each log FLOAT
interval. This number should be same across all
nodes.
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
FilePreKB count Sum of the sizes of data blocks loaded with FLOAT
cylinder reads. This field does not count the disk
sectors in between the loaded data blocks.
FilePreReadKB count The size of the cylinder section being read that is FLOAT
physically loaded from disk. The section contains
the requested data blocks and any sectors that
happen to be in between them.
Depot Columns
Summarize the physical writes to the Depot used to protect in-place modifications.
Gather Invalid
Column Name Method Description Data Type Platform
CmdStmtTime tmon The sums of the resident time of each statement FLOAT ALL
in progress during the log period, including the
successes and failures.
Gather Invalid
Column Name Method Description Data Type Platform
AwtInuse count Number of AWTs currently in use for this node. FLOAT
AwtInuseMax count Peak number of AWTs (Max) on this node. This FLOAT
is not the Peak or the Max value stored in the
Priority Scheduler (sch) data structure and
reported by the puma utility. The sch peak value
is the Max value since startup is never set and
Max is the maximum allowed value.
Note: This reported Max value is the maximum
reached during each log period.
Obsolete Columns
The following columns listed below should not be used because they have been renamed or
made obsolete.
• Mem[seg]BackReadKB
• Mem[seg]BackFlushes
• Mem[seg]BackFlushKB
Spare Columns
The ResUsageSpma table has nine spare columns: three count, three track, and three
tmonitored columns as shown in the following table.
The ResUsageSawt table collects and reports statistics about the AWTs. If table logging is
enabled, then data is written to the database once for each Vproc 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 87.
Note: This table is created as a MULTISET table.
The following table describes the ResUsageSawt table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc resides. INTEGER
The Node ID is formatted as CCC-MM, where CCC
denotes the three-digit cabinet number and MM
denotes the two-digit chassis number of the node.
For example, a node in chassis 9 of cabinet 3 has a
node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an SMP
node is ‘001-01’.
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
Gather Invalid
Column Name Method Description Data Type Platform
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,” “5450,”
etc.
VprId n/a Identifies the vproc number. All Vprocs in this table INTEGER
are AMPS so there is no VprType field provided. In
Summary Mode, this field is zero.
Active n/a Controls whether or not the rows will be logged to FLOAT
the ResUsage tables if Active Row Filter Mode is
enabled.
If Active is set to:
• a non-zero value, then the row contains
modified data columns.
• a zero value, then none of the data columns in
the row have been updated during the logging
period.
For example, if Active Row Filter Mode is enabled,
then the rows that have a zero Active field value will
not be logged to the ResUsage tables.
Note: For the current release, data collection for
the ResUsageSawt table results in a non-zero value
for all rows under all conditions. Therefore, Active
Row Filter Mode is not in effect for this table.
Gather Invalid
Column Name Method Description Data Type Platform
STATISTICS COLUMNS
FlowCtlCnt count Number of times during the log period that the FLOAT
system entered the flow control state from a non-
flow controlled state.
InuseMax count Maximum number of AWTs in use at any one time FLOAT
during the log period.
WorkTypeInuse00 - count Current number of AWTs in use during the log FLOAT
WorkTypeInuse15 period for each work type for the VprId vproc.
WORKTYPE DESCRIPTIONS
The WorkTypeInuse and WorkTypeMax array data columns above each contain 16 "Work Type" entries that are described here.
For example, WorktypeInuse00 contains the number of in use AWTs that are of Work Type "MSGWORKNEW," and
WorktypeInuse01 contains the values for "MSGWORKONE."
These columns allow the user to monitor the usage of the AWTs of each work type. This can be used to determine if the usage is
close to the maximum values defined and what type of work they are doing. Also, this can be used to determine characteristics
of the system during skew conditions or when there are AWT shortages.
Use the tdntune utility to determine the settings for Flow Control. For information on Expedited Allocation Groups, see
"Priority Scheduler (schmon, xschmon)” chapter of Utilities.
Gather Invalid
Column Name Method Description Data Type Platform
MSGWORKNEW n/a Used for new work requests. This work type has the n/a
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.
A zero value is used for new work items.
MSGWORKONE n/a First level secondary work items. Numbered work n/a
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.
MSGWORKNINE n/a First level spawned work for Expedited Allocation n/a
Groups.
MSGWORKELEVEN n/a Third level spawned work for Expedited Allocation n/a
Groups.
MSGWORKABORT n/a Used for transaction abort requests. This work type n/a
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.
The array number for MSGWORKABORT is 12.
MSGWORKSPAWN n/a Used for spawned abort requests and is delivered n/a
before normal aborts.
The array number for MSGWORKSPAWN is 13.
Gather Invalid
Column Name Method Description Data Type Platform
MSGWORKNORMAL n/a Used for messages that do not fall within the n/a
standard work type hierarchy. This work type is
delivered before any of the work items described
above.
The array number for MSGWORKNORMAL is 14.
MSGWORKCONTROL n/a Used for system control messages. These are n/a
delivered before any other kind of message.
The array number for MSGWORKCONTROL is
15.
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 AWT 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… THEN the data for that row is being logged…
‘N’ normally.
Spare Columns
The ResUsageSawt table has thirty spare columns: ten count, ten track, and ten tmonitored
columns as described below.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc resides. INTEGER
The Node ID is formatted as CCC-MM, where CCC
denotes the three-digit cabinet number and MM
denotes the two-digit chassis number of the node.
For example, a node in chassis 9 of cabinet 3 has a
node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an SMP
node is ‘001-01’.
Gmt Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
Gather Invalid
Column Name Method Description Data Type Platform
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,” “5450,”
etc.
Gather Invalid
Column Name Method Description Data Type Platform
Active n/a Controls whether or not the rows will be logged to FLOAT
the ResUsage tables if Active Row Filter Mode is
enabled.
If Active is set to:
• a non-zero value, then the row contains
modified data columns.
• a zero value, then none of the data columns in
the row have been updated during the logging
period.
For example, if Active Row Filter Mode is enabled,
then the rows that have a zero Active field value will
not be logged to the ResUsage tables.
Note: For the current release, data collection for
the ResUsageShst table results in a non-zero value
for all rows under all conditions. Therefore, Active
Row Filter Mode is not in effect for this table.
STATISTICS COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
HostQLenSum count Total number of messages queued for output to the FLOAT ALL
host during each log interval.
Note: To calculate the average HostQLen divide the
HostQLenSum by the CollectIntervals value to get
the HostQLen average value during the logging
period. This average is an average of the values
recorded at each of the collection periods that
occur during the logging period.
HostQLenMax count Maximum number of messages queued in each log FLOAT ALL
interval.
HostReadFails count Number of failures transmitting from the host. FLOAT ALL
Note: Teradata Channel software (TCHN) only.
Gather Invalid
Column Name Method Description Data Type Platform
CmdStmtsInProgSum count Total count of statements in progress during each FLOAT ALL
log interval.
Note: To calculate the average number of
statements in progress, divide this value by the
CollectIntervals value. Since the CollectIntervals is
the number of collect periods per logging period,
the resulting number is the average value per
collection period.
CmdStmtTime tmon The sums of the resident time of each statement in FLOAT ALL
progress during the log period, including the
successes and failures.
Obsolete Columns
The columns listed below are obsolete and always contain zero:
• HostChanBusy
• HostCntlBusy
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, for each log interval as follows:
• The value in HstId will be 0 for the channel-connected host summary and 1 for the
network-connected host summary.
• The value in HstType will end with the character ‘S’ for “summary.”
You can determine if a row is in Summary Mode by checking the SummaryFlag column for
that row:
IF the SummaryFlag column value is… THEN the data for that row is being logged…
‘N’ normally.
Spare Columns
The ResUsageShst table has 30 spare columns: 10 count, 10 track, and 10 tmonitored columns
as shown in the following table.
where [i] is expanded to be the values 00-09, for example, SpareCount00, SpareTrack14, or
SpareTmon01.
The ResUsageSldv table contains resource usage information for system-wide, logical device
information. Statistics from this table are collected from the SCSI bus level.
Note: This table is created as a MULTISET table. For more information see “Relational
Primary Index” on page 46.
For more information on how to collect SCSI data for the ResUsageSldv table, see the
“Control GDO Editor (ctl)” or “Xctl (xctl)” chapter in Utilities.
The following table describes the ResUsageSldv table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc resides. INTEGER
The Node ID is formatted as CCC-MM, where CCC
denotes the three-digit cabinet number and MM
denotes the two-digit chassis number of the node.
For example, a node in chassis 9 of cabinet 3 has a
node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an SMP
node is ‘001-01’.
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
Gather Invalid
Column Name Method Description Data Type Platform
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,” “5450,”
etc.
VprId n/a Identifies the vproc that this logical device is owned INTEGER
by. The AMP vproc ID is in the range of 0 to 8191.
If the logical device is not owned by any AMP (that
is, system disk), the VprId has a value of 65535.
In Summary Mode, the VprId has one of the
following values:
• 0 = Database disk
• 1 = System disk
LdvId n/a Represents the logical device in the Bus System BYTE(4)
where it resides. The LdvId value corresponds to
the MP-RAS dev_name of the device, and is to be
interpreted as follows:
• The first two hex digits of the LdvId are always 0.
• The third through fifth digits are the controller
number (‘c’ number).
• The sixth digit is the ‘t’ number,
• The seventh and eighth digits are the ‘d’
number.
• The slice (‘s’) number is always 0, and is not
represented in the LdvId. For example, device
c3t5dbs0 would be represented by an LdvId
value of '0000350b'X.
Gather Invalid
Column Name Method Description Data Type Platform
Active n/a Controls whether or not the rows will be logged to FLOAT
the ResUsage tables if Active Row Filter Mode is
enabled.
If Active is set to:
• A non-zero value, then the row contains
modified data columns.
• A zero value, then none of the data columns in
the row have been updated during the logging
period.
For example, if Active Row Filter Mode is enabled,
then the rows that have a zero Active field value will
not be logged to the ResUsage tables.
Note: For the current release, data collection for
the ResUsageSldv table results in a non-zero value
for all rows under all conditions. Therefore, Active
Row Filter Mode is not in effect for this table.
Gather Invalid
Column Name Method Description Data Type Platform
STATISTICS COLUMNS
ReadActiveTotal tmon Note: This field is not currently used. FLOAT ALL
WriteActiveTotal tmon Note: This field is not currently used. FLOAT ALL
Gather Invalid
Column Name Method Description Data Type Platform
QReadLength count Note: This field is not currently used. FLOAT ALL
QWriteLength count Note: This field is not currently used. FLOAT ALL
Obsolete Columns
The following columns should not be used because they have been renamed or made obsolete.
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:
• One row summarizes the system logical devices
• One row summarizes Teradata Database logical devices
The value in LdvId will be ‘FFFFFFFF’X and the value in VprId will be 0 for database disk and
1 for system disk. The value in LdvType will end with the character ‘S’ for “summary.”
Also, you can determine if a row is in Summary Mode by checking the SummaryFlag column
for that row:
IF the SummaryFlag column value is… THEN the data for that row is being logged…
‘N’ normally.
Spare Columns
The ResUsageSldv table has nine spare columns: three count, three track, and three
tmonitored columns:
Note: The ResUsageSpdsk table described in this chapter is not currently used and should not
be enabled at this time.
The ResUsageSpdsk table:
• Provides pdisk logical device statistics.
• Includes resource usage logs on cylinder I/O, allocation, and migration.
This table is created as a MULTISET table. For more information see “Relational Primary
Index” on page 46.
The following table describes the ResUsageSpdsk table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the pdisk is INTEGER ALL
connected. The Node ID is formatted as
CCC-MM, where CCC denotes the three-
digit cabinet number and MM denotes the
two-digit chassis number of the node. For
example, a node in chassis 9 of cabinet 3 has
a node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an
SMP node is ‘001-01’.
Gather Invalid
Column Name Method Description Data Type Platform
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT ALL
Daylight Savings Time adjustments that
occur twice a year.
PdiskGlobalId n/a Identifies the pdisk in the system. Each pdisk INTEGER ALL
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.
In Summary Mode, the pdisk global ID is -1.
PdiskType n/a Type of pdisk. The pdisk can be one of the CHAR(4) ALL
following:
• DISK: This type of pdisk is a storage
device.
• FILE: This type of pdisk is a file.
Gather Invalid
Column Name Method Description Data Type Platform
NodeType n/a Type of node, representing the per node CHAR(4) ALL
system family type. For example, “5380,”
“5400,” “5450,” etc.
Secs n/a Actual number of seconds in the log period SMALLINT ALL
represented by this row. Normally the same
as NominalSecs, but can be different in three
cases:
• The first interval after a log rate change
• A sample logged “late” because of load on
the system
• System clock adjustments affect reported
“Secs”
Useful for normalizing the “count” statistics
contained in this row, for example, to a
“per-second” measurement.
Active n/a Controls whether or not the rows will be FLOAT ALL
logged to the ResUsage tables if Active Row
Filter Mode is enabled.
If Active is set to:
• a non-zero value, then the row contains
modified data columns.
• a zero value, then none of the data
columns in the row have been updated
during the logging period.
Gather Invalid
Column Name Method Description Data Type Platform
CollectIntervals n/a Number of collect intervals during each log SMALLINT ALL
interval. In the collect buffer, value is always
1. In the log buffer or the database table,
value is the ratio of log interval to collect
interval.
STATISTICS COLUMNS
ReadKB count Number of KBs (1024 bytes) read from the FLOAT ALL
logical device.
WriteKB count Number of KBs (1024 bytes) written to the FLOAT ALL
logical device.
Gather Invalid
Column Name Method Description Data Type Platform
OutReqTime count Time with outstanding requests (busy time), FLOAT ALL
in centiseconds.
MigrationBlockedIos count Number of inputs and outputs that are FLOAT ALL
blocked due to migration request.
Allocation Columns
Identify the allocation statistics reported by the allocator.
Note: The following columns are not currently used.
Gather Invalid
Column Name Method Description Data Type Platform
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: The following columns are not currently used.
Gather Invalid
Column Name Method Description Data Type Platform
ExtMigrateIOTimeCost count Estimates the total cost (in centiseconds) FLOAT ALL
incurred by migration I/Os completing
during the log period, where cost is the extra
time waited by all non-migration I/Os as a
result of the migration I/O. The Migrator
estimates migration costs.
Note: This field is for internal use only. Do
not use this field unless directed by Teradata
Support Center.
ExtMigrateIOTimeBenefit count Estimates the total I/O time savings achieved FLOAT ALL
by migrations completing in the log period.
The I/O time savings include the
improvement in response time caused by the
new data arrangement up to the time
horizon. ExtMigrateIOTimeBenefit does not
include the cost of the migration I/Os and is
a gross benefit, not a net benefit. The
Migrator estimates the migration benefit.
Note: This field is for internal use only. Do
not use this field unless directed by Teradata
Support Center.
Gather Invalid
Column Name Method Description Data Type Platform
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 or FILE) 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… THEN the data for that row is being logged…
‘N’ normally.
Spare Columns
The ResUsageSpdsk table has thirty spare columns: ten count, ten track, and ten tmonitored
columns as shown in the following table.
where [i] is expanded to be the values 00-09, for example, SpareCount09, SpareTrack00, or
SpareTmon00-SpareTmon09.
The ResUsageSps table contains data by Performance Group from the Priority Scheduler.
For a complete description of the Priority Scheduler and its components, see “Priority
Scheduler (schmon/xschmon)” chapter in Utilities.
If table logging is enabled on ResUsageSps, data is written to the database once for every
triplet (that is, vproc ID [VprId], Performance Group ID [PGId], and Performance Period ID
[PPId]) in the system for each log interval.
To improve system performance, you can enable Summary Mode, Active Row Filter Mode, or
both. For more information on these options, see “Summary Mode” on page 113 or
“Active Row Filter Mode” on page 114.
Note: This table is created as a MULTISET table.
The following table describes the ResUsageSps table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc resides. INTEGER
The Node ID is formatted as CCC-MM, where CCC
denotes the three-digit cabinet number and MM
denotes the two-digit chassis number of the node.
For example, a node in chassis 9 of cabinet 3 has a
node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an SMP
node is ‘001-01’.
Gather Invalid
Column Name Method Description Data Type Platform
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,” “5450,”
etc.
VprType n/a Type of vproc (for example, “AMP,” “PE,” “GTW,” CHAR[4]
“RSG,” or “NODE”). In Summary Mode, this field
is blank since all Vproc data is combined for each
Performance Group.
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
STATISTICS COLUMNS
AGId track Identifies the current Allocation Group for the FLOAT
Performance Group ID that is being reported. This
value can be any number from 0 to 200.
Note: A value of 200 is the system Allocation
Group. This value cannot be assigned for user
work.
For more information on the Allocation Group
(AG), see “Priority Scheduler (schmon/xschmon)”
chapter in Utilities.
IOBlks count Number of logical data blocks read and/or written FLOAT
by Performance Group.
Gather Invalid
Column Name Method Description Data Type Platform
Summary Mode
When Summary Mode is active for the ResUsageSps table, one row is written to the database
for each PGId 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… THEN the data for that row is being logged…
‘N’ normally.
For more information on this option, see “Using Summary Mode” on page 29.
IF the Active column value is… THEN the Performance Group ID row is…
If Active Row Filter Mode and Summary Mode are both enabled, the active row filtering is
applied after the summarization. To determine if you need to enable this option, see “Using
Active Row Filter Mode” on page 29.
Spare Columns
The ResUsageSps table has thirty spare columns: ten count, ten track, and ten tmonitored
columns as described below.
Invalid
Column Name Gather Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc INTEGER
resides. The Node ID is formatted as CCC-
MM, where CCC denotes the three-digit
cabinet number and MM denotes the two-
digit chassis number of the node. For
example, a node in chassis 9 of cabinet 3 has
a node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an
SMP node is ‘001-01’.
Invalid
Column Name Gather Method Description Data Type Platform
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that
occur twice a year.
Invalid
Column Name Gather Method Description Data Type Platform
STATISTICS COLUMNS
ReadKB count Number of KBs (1024 bytes) read from the FLOAT
logical device.
Invalid
Column Name Gather Method Description Data Type Platform
Allocation Columns
Identify the allocation statistics reported by the Allocator.
Note: The following columns are not currently used.
Invalid
Column Name Gather Method Description Data Type Platform
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: The following columns are not currently used.
Invalid
Column Name Gather Method Description Data Type Platform
ExtMigrateIOTimeCost count Estimates the total cost (in centiseconds) FLOAT ALL
incurred by migration I/Os completing
during the log period, where cost is the extra
time waited by all non-migration I/Os as a
result of the migration I/O. The Migrator
estimates migration costs.
Note: This field is for internal use only. Do
not use this field unless directed by Teradata
Support.
ExtMigrateIOTimeBenefit count Estimates the total I/O time savings achieved FLOAT ALL
by migrations completing in the log period.
The I/O time savings include the
improvement in response time caused by the
new data arrangement up to the time
horizon.
This value does not include the cost of the
migration I/Os and is a gross benefit, not a
net benefit. The Migrator estimates the
migration benefit.
Note: This field is for internal use only. Do
not use this field unless directed by Teradata
Support.
Invalid
Column Name Gather Method Description Data Type Platform
Summary Mode
When Summary Mode is active for the ResUsageSvdsk table, one row is written to the database
for each node in the system, summarizing all AMP vdisk data in each 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… THEN the data for that row is being logged…
‘N’ normally.
Spare Columns
The ResUsageSvdsk table has thirty spare columns: ten count, ten track, and ten tmonitored
columns as shown in the following table.
where [i] is expanded to be the values 00-09, for example, SpareCount09, SpareTrack00, or
SpareTmon00-SpareTmon09.
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 46.
The following table describes the ResUsageSvpr table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc INTEGER
resides. The Node ID is formatted as CCC-
MM, where CCC denotes the three-digit
cabinet number and MM denotes the two-digit
chassis number of the node. For example, a
node in chassis 9 of cabinet 3 has a node ID of
‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an
SMP node is ‘001-01’.
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,”
“5450,” etc.
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
STATISTICS COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
FileFcrRequests count Total number of requests for the File System to FLOAT
use Cylinder Read.
This field is tracked and recorded by the File
System. It records the number of attempts to
use Cylinder Read independent of whether the
request will be issued to FSG or not. A request
can be denied due to insufficient data blocks or
because there is insufficient space in the FSG
cache. Requests can also be denied at both the
user and kernel level. Each of these items is
counted in other FileFcr ResUsage fields.
A number of calculations can be performed
using this field:
• Requests issued to FSG =
FileFcrRequests - FileFcrDeniedUser
• Successful Cylinder Reads =
FileFcrRequests - FileFcrDeniedUser -
FileFcrDeniedKern
FileFcrRequestsAdaptive count Number of adaptive requests from File System. FLOAT ALL
This field is tracked and recorded by the File
System. It records the number of requests for
adaptive-style Cylinder Reads.
Note: This field is not currently used.
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
ProcWaitDBLock tmon Total time processes were blocked pending FLOAT ALL
database locks.
MEMORY COLUMNS
Mem[seg]AllocKB count Total KBs attributed to allocations and size- FLOAT ALL
increasing memory alters for disk segments.
Gather Invalid
Column Name Method Description Data Type Platform
MemCtxtRes track Current pages resident in memory for task FLOAT ALL
context segments.
MemPKBResFrz track Current KBs resident in memory for frozen FLOAT ALL
segments.
Mem[seg]KBResCU track Current KBs resident in memory for regular FLOAT ALL
disk segments that are currently clean and not
accessed.
Note: MemBaseKBResCU tracks of the sum of
the data block sizes in the FSG cache (for both
general purpose preloads and cylinder read
preloads).
Mem[seg]KBResDU track Current KBs resident in memory for regular FLOAT ALL
disk segments that are currently dirty and
unaccessed.
Mem[seg]KBResCA track Current KBs resident in memory for regular FLOAT ALL
disk segments that are currently clean and
accessed.
Mem[seg]KBResDA track Current KBs resident in memory for regular FLOAT ALL
disk segments that are currently dirty and
accessed.
Gather Invalid
Column Name Method Description Data Type Platform
Paging Columns
Identify paging activities on pages containing Teradata Database context pages only.
MemCtxtPageReads count Number of task context pages that were paged FLOAT WINDOWS
in. LINUX
MemCtxtPageWrites count Number of task context pages that were paged FLOAT WINDOWS
out. LINUX
Swapping Columns
Identify the effects on disk segments when all processes accessing them get swapped out.
MemSwapDrops count Number of disk segments that were dropped FLOAT ALL
from memory because all accessor processes
were swapped out.
MemSwapReads count Number of disk segments that were re-read FLOAT ALL
when they were previously dropped from
memory because all accessor processes were
swapped out.
NET COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
DBLocksHeldSum count Total number of database locks held during FLOAT ALL
each log interval.
To calculate the average number of database
locks held, divide this value by the
CollectIntervals value. Since the
CollectIntervals is the number of collect
periods per logging period, the resulting
number is the average value per logging period.
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
FileCylFrees count Note: This field is not currently used. FLOAT ALL
FileSyncScanners track Number of tasks involved in full file scans who FLOAT
are willing to synchronize with other scanners.
FileWCylFrees count Number of times the file system frees a WAL FLOAT ALL
cylinder.
Gather Invalid
Column Name Method Description Data Type Platform
Allocation Columns
Identify the allocation statistics reported by the Allocator.
Note: The following columns are not currently used.
AllocatorMapIOsStarted count Number of map I/Os initiated by the allocator. FLOAT ALL
ReadsHot count Total number of reads issued to all cylinders FLOAT ALL
that are considered HOT.
ReadsWarm count Total number of reads issued to all cylinders FLOAT ALL
that are considered WARM.
ReadsCold count Total number of reads issued to all cylinders FLOAT ALL
that are considered COLD.
WritesHot count Total number of writes issued to all cylinders FLOAT ALL
that are considered HOT.
WritesWarm count Total number of writes issued to all cylinders FLOAT ALL
that are considered WARM.
WritesCold count Total number of writes issued to all cylinders FLOAT ALL
that are considered COLD.
ReadResponseHotTotal count Total read response time of all cylinders that FLOAT ALL
are considered HOT.
Gather Invalid
Column Name Method Description Data Type Platform
ReadResponseWarmTotal count Total read response time of all cylinders that FLOAT ALL
are considered WARM.
ReadResponseColdTotal count Total read response time of all cylinders that FLOAT ALL
are considered COLD.
WriteResponseHotTotal count Total write response time of all cylinders that FLOAT ALL
are considered HOT.
WriteResponseWarmTotal count Total write response time of all cylinders that FLOAT ALL
are considered WARM.
WriteResponseColdTotal count Total write response time of all cylinders that FLOAT ALL
are considered COLD.
ReadResponseHotMax count Maximum read response time of all cylinders FLOAT ALL
that are considered HOT.
ReadResponseWarmMax count Maximum read response time of all cylinders FLOAT ALL
that are considered WARM.
ReadResponseColdMax count Maximum read response time of all cylinders FLOAT ALL
that are considered COLD.
ReadResponseHotMin count Minimum read response time of all cylinders FLOAT ALL
that are considered HOT.
ReadResponseWarmMin count Minimum read response time of all cylinders FLOAT ALL
that are considered WARM.
ReadResponseColdMin count Minimum read response time of all cylinders FLOAT ALL
that are considered COLD.
WriteResponseHotMax count Maximum write response time of all cylinders FLOAT ALL
that are considered HOT.
WriteResponseWarmMax count Maximum write response time of all cylinders FLOAT ALL
that are considered WARM.
WriteResponseColdMax count Maximum write response time of all cylinders FLOAT ALL
that are considered COLD.
WriteResponseHotMin count Minimum write response time of all cylinders FLOAT ALL
that are considered HOT.
WriteResponseWarmMin count Minimum write response time of all cylinders FLOAT ALL
that are considered WARM.
WriteResponseColdMin count Minimum write response time of all cylinders FLOAT ALL
that are considered COLD.
Obsolete Columns
In addition to the columns designated as not yet available in the preceding pages, the
following columns should not be used because they have been renamed or made obsolete.
Summary Mode
When Summary Mode is active for the ResUsageSvpr table, one row per physical table 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… THEN the data for that row is being logged…
‘N’ normally.
Spare Columns
The ResUsageSvpr table has 30 spare columns: 10 count, 10 track, and 10 tmonitored columns
as shown in the following table.
where [i] is expanded to be the values 00-09 for SpareCount, SpareTrack, and SpareTmon. For
example, column names could be SpareCount08, SpareTrack04, or SpareTmon09.
Note: SpareCount04 is temporarily used to contain the maximum I/O time, in milliseconds,
caused by long I/O (Reads, Writes) operations for each AMP vproc on that node. This field is
valid on Windows and Linux only.
This chapter provides the listings of the following resource usage views:
• ResGeneralInfoView
• ResCPUUsageByAMPView
• ResCPUUsageByPEView
• ResShstGroupView
• ResSldvGroupView
• ResVdskGroupView
To see the view definitions, execute SHOW VIEW viewname, where viewname is the name of
the view whose most recent SQL create text is to be reported.
For details on using the SHOW VIEW statement, see SQL Reference: Data Definition
Statements.
The following views report the new table column, GroupId. A homogenous system requires
no changes to use this macro because all the nodes will be assigned to group "A". For a
coexisting system, however, the values need to be set up when the system is installed or
reconfigured so that each type of node is assigned to a specific group ID. For the easiest setup,
let the group with the fewest nodes be assigned under the "WHEN" clause and the group with
most nodes be assigned via the "ELSE" clause in the case statement.
Caution: Do not change or delete fields in these views. If fields are modified, the resource usage macros
that use these views may not work properly. You can, however, safely add fields.
ResGeneralInfoView
ResGeneralInfoView provides an overview of system operation. The definition is given below.
REPLACE VIEW DBC.ResGeneralInfoView
( TheDate, TheTime, Secs, NodeId, GroupId, NCPUs,
CPUBusy, CPUOpSys, CPUUser, CPUWaitIO, DiskSegmentIO,
LogicalDeviceIO, LogicalDeviceReads, LogicalDeviceWrites,
LogicalDeviceReadKB, LogicalDeviceWriteKB,
MemAgings,
MemCtxtPageReads, MemCtxtPageWrites,
MemFails, MemFreeKB, MemProcSwapped,
MemSize,
MemSwapDropKB,
MemSwapDrops,
MemSwapReadKB,
MemSwapReads,
MemTextAllocs, MemTextPageDrops,
MemTextPageReads,
MemVprAllocs, MemVprAllocKB,
NetAttempts,
NetBackoffs, NetChannelSR, NetMultiIO, NetPtoPIO,
NetReadKB, NetReads, NetWriteKB, NetWrites,
NetRxConnected, NetTxConnected, NetTxRouting,
NetTxIdle, NetRxIdle, NetSamples,
PageOrSwapIO, ProcActiveAvg, ProcBlksDBLock, ProcBlockedAvg,
ProcBlocks, ProcWaits,
UserStmtsArriving, UserStmtsInProgress
)
/* MemProcSwapped */
MemProcSwapped,
/* MemSize */
MemSize,
/* MemSwapDropKB */
MemSwapDropKB,
/* MemSwapDrops */
MemSwapDrops,
/* MemSwapReadKB */
MemSwapReadKB,
/* MemSwapReads */
MemSwapReads,
/* MemTextAllocs */
MemTextAllocs,
/* MemTextPageDrops */
MemTextPageDrops,
/* MemTextPageReads */
MemTextPageReads,
/* MemVprAllocs */
MemVprAllocs,
/* MemVprAllocKB */
MemVprAllocKB,
/* NetAttempts */
( NetTxCircPtP + NetTxCircBrd ) (FORMAT 'ZZZZZZ9'),
/* NetBackoffs */
( NetCircBackoffs ) (FORMAT 'ZZZZZZ9'),
/* NetChannelSR */
0,
/* NetMultiIO */
( NetMsgBrdReads + NetMsgBrdWrites ),
/* NetPtoPIO */
( NetMsgPtPReads + NetMsgPtPWrites ),
/* NetReadKB */
( NetMsgBrdReadKB + NetMsgPtPReadKB ),
/* NetReads */
( NetMsgBrdReads + NetMsgPtPReads ),
/* NetWriteKB */
( NetMsgBrdWriteKB + NetMsgPtPWriteKB ),
/* NetWrites */
( NetMsgBrdWrites + NetMsgPtPWrites ),
/*Including these columns to restore Net Chan Busy % column in
reports */
/* NetRxConnected */
NetRxConnected,
/* NetTxConnected */
NetTxConnected,
/* NetTxRouting */
NetTxRouting,
/* NetTxIdle */
NetTxIdle,
/* NetRxIdle */
NetRxIdle,
/* NetSamples */
NetSamples,
/* PageOrSwapIO */
( MemTextPageReads + MemCtxtPageReads + MemCtxtPageWrites +
MemSwapReads ),
/* ProcActiveAvg */
ResCPUUsageByAMPView
ResCPUUsageByAMPView describes CPU usage per AMP. The definition is given below:
REPLACE VIEW DBC.ResCPUUsageByAMPView
( TheDate, TheTime, Vproc, NodeId, Secs, NCPUs, GroupId,
AMPWorkTaskExec, AMPWorkTaskServ,
AMPMiscUserExec, AMPMiscUserServ,
AMPTotalUserExec, AMPTotalUserServ )
CPUUExecPart28+CPUUExecPart29+CPUUExecPart30+CPUUExecPart31 +
CPUUExecPart32+CPUUExecPart33+CPUUExecPart34+CPUUExecPart35 +
CPUUExecPart36+CPUUExecPart37+CPUUExecPart38+CPUUExecPart39 +
CPUUExecPart40+CPUUExecPart41+CPUUExecPart42+CPUUExecPart43 +
CPUUExecPart44+CPUUExecPart45+CPUUExecPart46+CPUUExecPart47),
/* 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),
/* 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),
/* 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 +
CPUUServPart28+CPUUServPart29+CPUUServPart30+CPUUServPart31 +
CPUUServPart32+CPUUServPart33+CPUUServPart34+CPUUServPart35 +
CPUUServPart36+CPUUServPart37+CPUUServPart38+CPUUServPart39 +
CPUUServPart40+CPUUServPart41+CPUUServPart42+CPUUServPart43 +
CPUUServPart44+CPUUServPart45+CPUUServPart46+CPUUServPart47)
ResCPUUsageByPEView
ResCPUUsageByPEView describes CPU usage by each PE. The definition is given below:
REPLACE VIEW DBC.ResCPUUsageByPEView
( TheDate, TheTime, Vproc, NodeId, Secs, NCPUs, GroupId,
PEDispExec, PEDispServ, PEParsExec, PEParsServ, PESessExec, PESessServ,
PEMiscUserExec, PEMiscUserServ, PETotalUserExec, PETotalUserServ )
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),
/* PETotalUserServ */
(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 +
CPUUServPart28+CPUUServPart29+CPUUServPart30+CPUUServPart31 +
CPUUServPart32+CPUUServPart33+CPUUServPart34+CPUUServPart35 +
CPUUServPart36+CPUUServPart37+CPUUServPart38+CPUUServPart39 +
CPUUServPart40+CPUUServPart41+CPUUServPart42+CPUUServPart43 +
CPUUServPart44+CPUUServPart45+CPUUServPart46+CPUUServPart47)
ResShstGroupView
ResShstGroupView is based on the ResUsageShst table. The definition is given below:
REPLACE VIEW DBC.ResShstGroupView
( TheDate, TheTime, NodeId, VprId, HstId, HstType, Secs, NominalSecs,
GroupId, CollectIntervals,
HostBlockReads, HostBlockWrites,
HostMessageReads, HostMessageWrites,
HostReadKB, HostWriteKB,
HostQLenSum, HostQLenMax,
HostReadFails, HostWriteFails
)
ResSldvGroupView
ResSldvGroupView is based on the ResUsageSldv table. The definition is given below:
ResVdskGroupView
ResVdskGroupView is based on the ResUsageSvdsk table. The definition is given below:
REPLACE MACRO DBC.ResVdskByGroup
( FromDate (DATE, DEFAULT DATE, FORMAT 'YYYY-MM-DD'),
ToDate (DATE, DEFAULT DATE, FORMAT 'YYYY-MM-DD'),
FromTime (FLOAT, DEFAULT 0, FORMAT'99:99:99'),
ToTime (FLOAT, DEFAULT 999999, FORMAT'99:99:99')
)
AS (
echo '.set heading "&DATE||VDISK TRAFFIC BY GROUP||Page&PAGE"';
echo '.set format on';
echo '.set suppress on 1, 2, 3';
echo '.set width 132';
FROM ResUsageSvdsk
This chapter describes the output format of the resource usage macros and each macro.
The resource usage macros consist of the following sets of macros:
• ResAWT macros (summarizes all the AWTs in use for all nodes, by AMP, or by node
during a logging period)
• ResCPUByAMP macros (CPU use by AMPs)
• ResCPUByPE macros (CPU use by PEs)
• ResCPUByNode macros (CPU use by each node)
• ResHostByLink macros (host communications traffic)
• ResLdvByNode macros (raw disk drive traffic)
• ResVdskByNode macros (vdisk logical device traffic)
• ResMemMgmtByNode macros (memory allocation, paging, and swapping)
• ResNetByNode macros (node network traffic)
• ResNode macros (summarizes resource usage for all nodes, a specific node, or node by
node during a logging period)
• ResPs macros (summarizes Priority Scheduler and Teradata ASM resource usage)
• ResPsCPU macros (summarizes Teradata ASM workload CPU use versus the relative
weights of their associated Allocation Groups)
Note: The ResPdskByNode macro is not currently used.
where:
Column Description
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.
1st ID, 2nd ID, etc. The appropriate identifier, which varies, depending on the macro. It is
one or more of the following:
• NodeID
• VprocID
• HostID
• GroupID
1st Stat, 2nd Stat, etc. 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').
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 KBs 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
The following usage notes apply to all macros:
• To get current data, logging must be enabled on the ResUsage table used by the view or
macro.
• The SPMA and SCPU tables use the Node Logging rate, all other tables use the
Vproc logging rate.
• To avoid confusion, the Node and Vproc logging rates should be the same.
ResAWT Macros
Function
The following table describes the ResAwt macros:
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSawt.
• Associated log rate is the vproc log rate.
The ResAWT, ResAWTByAMP, and ResAWTByCPU macros are not currently available in
Teradata Database 12.0, but can be obtained from the Orange Book: Teradata Active Systems
Management Usage Considerations and Best Practices (541-0004755B03).
Output Examples
The reports in the following sections are sample output reports from the ResAWT,
ResAWTByAMP, and ResAWTByNode macros.
In the ResAWT output report, after the Date and Time columns, 22 statistics columns present
a summary of the AWTs resource usage.
In the ResAWTByAMP output report, after the Date and Time columns, 24 statistics columns
present the following information:
1 Node ID.
2 AMP ID.
In the ResAWTByNode output report, after the Date and Time columns, 23 statistics columns
present the following information:
1 Node ID.
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) the columns are
described as follows:
Flow Ctls Per Sec number of times during the log period that the system entered the
flow control state from a non-flow controlled state.
Work Type In Use current number of AWTs in use during the log period for each
new work type for the VprId vproc.
Work New AWTs current number of AWTs in use during the log period for each
new first-level secondary work type for the VprId vproc.
Work One AWTs current number of AWTs in use during the log period for each
first-level secondary work type for the VprId vproc.
New + One AWTs summary of the previous two columns: Work New AWTs and
Work One AWTs.
Work Two AWTs current number of AWTs in use during the log period for each
second-level secondary work type for the VprId vproc.
Work 3 AWTs current number of AWTs in use during the log period for each
third-level secondary work type for the VprId vproc.
Work Abrt AWTs current number of AWTs in use during the log period for each
transaction abort request for the VprId vproc.
Work Spwn AWTs current number of AWTs in use during the log period for each
spawned abort request for the VprId vproc.
Work Norm AWTs current number of AWTs in use during the log period for each
message that does not fall within the standard work type hierarchy
for the VprId vproc.
Work Exp AWTs current number of AWTs in use during the log period for each
expedited Allocation Groups for the VprId vproc. (Expedited
Allocation Groups exist when using the reserved AWT pool. See
the “Priority Scheduler (schmon, xschmon) chapter in Utilities for
details.)
Max Work New AWTs the maximum number of AWTs in use at one time during the log
period for each new work type for the VprId vproc.
Max Work One AWTs the maximum number of AWTs in use at one time during the log
period for each first-level secondary work type for the VprId
vproc.
Max Work Two AWTs the maximum number of AWTs in use at one time during the log
period for each second-level secondary work type for the VprId
vproc.
Max Work 3 AWTs the maximum number of AWTs in use at one time during the log
period for each third-level secondary work type for the VprId
vproc.
Max Work Abrt AWTs the maximum number of AWTs in use at one time during the log
period for each transaction abort request for the VprId vproc.
Max Work Spwn AWTs the maximum number of AWTs in use at one time during the log
period for each spawned abort request for the VprId vproc.
Max Work Norm AWTs the maximum number of AWTs in use at one time during the log
period for each message that does not fall within the standard
work type hierarchy for the VprId vproc.
Max Work Ctl AWTs Note: This column is not currently used.
Max Work Exp AWTs the maximum number of AWTs in use at one time during the log
period for each expedited Allocation Groups for the VprId vproc.
(Expedited Allocation Groups exist when using the reserved
AWT pool. See the “Priority Scheduler (schmon, xschmon)”
chapter in Utilities for details.)
8 12 0.00 0.00 29 25 54 0 0 0 0 0 0 0 33 26 0 0 0 0 0 0 1
9 3 0.00 0.00 28 26 54 0 0 0 0 0 0 0 33 26 0 0 0 0 0 0 2
10 4 0.00 0.00 29 25 54 0 0 0 0 0 0 0 33 26 0 0 0 0 0 0 1
11 13 0.00 0.00 29 25 54 0 0 0 0 0 0 0 32 25 0 0 0 0 0 0 2
12 3 0.00 0.00 30 24 54 0 0 0 0 0 0 0 32 25 0 0 0 0 0 0 2
13 1 0.00 0.00 26 26 52 0 0 0 0 0 0 0 31 26 0 0 0 0 0 0 2
14 1 0.00 0.00 26 25 51 0 0 0 0 0 0 0 33 26 0 0 0 0 0 0 1
15 11 0.00 0.00 28 26 54 0 0 0 0 0 0 0 32 26 0 0 0 0 0 0 1
16 10 0.00 0.17 29 25 54 0 0 0 0 0 0 0 32 27 0 1 0 0 0 0 2
17 12 0.00 0.00 30 24 54 0 0 0 0 0 0 0 33 25 0 0 0 0 0 0 2
18 1 0.00 0.00 28 25 53 0 0 0 0 0 0 0 33 25 0 0 0 0 0 0 2
19 9 0.00 0.03 28 26 54 0 0 0 0 0 0 0 33 26 0 0 0 0 0 0 1
ResCPUByAMP Macros
Function
The following table describes the ResCPUByAMP macros:
Usage Notes
For any of these macros the following usage notes apply:
• Logging must have been enabled on ResUsageSvpr at some time before macro execution.
See Chapter 2: “Planning Your Resource Usage Data” for an explanation of how to enable/
disable logging.
• The associated log rate must have been set to vproc.
Note: It is not necessary that logging for the table and the rate be enabled at the moment
the macro is executed.
For a description of partitions and partition assignments in Teradata Database, see
Appendix D: “Partition Assignments.”
Output Examples
The reports in the following sections are sample output reports from the ResCPUByAMP, the
ResCPUByAMPOneNode, and the ResAmpCpuByGroup macros, respectively, where:
Column... Reports the percent of time AMPs were busy doing user...
Awt User Serv% service for the AMP Worker Task (Awt) partition.
Misc User Serv% service for miscellaneous (all other except Partition 0) AMP partitions.
Awt User Exec% execution within the AMP Worker Task (Awt) partition.
Misc User Exec% execution within miscellaneous (all other except Partition 0) AMP
partitions.
Total User Serv% servicea work. This is the sum of the Awt User Serv%, the Misc User
Serv%, and AMP Partition 0 user service%.a
Column... Reports the percent of time AMPs were busy doing user...
Total User Exec% executionb work. This is the sum of the Awt User Exec%, Misc User
Exec%, and AMP Partition 0 user execution.b
Total Busy% service and execution work. This is the sum of the Total User Serv% and
the Total User Exec% columns.
a. Service is the time that a CPU is busy executing user service code, which is privileged work
performing system-level services on behalf of user execution processes that do not have root
privileges.
b. 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.
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 (AWTs), see “AWT
Monitor (awtmon)” in Utilities.
Note: The NodeID column only appears in the ResCPUByAMP output report.
Note: The GroupID column only appears in the ResAmpCpuByGroup output report.
The following SQL example shows how to perform this normalization for the “Total Busy %”
statistic:
SEL TheDate, TheTime, Vproc, NodeId,
(AmpTotalUserExec+AmpTotalUserServ)
/Secs/NCPUs
(FORMAT ‘zz9%’,TITLE ‘Total// Busy// %’)
FROM ResCpuUsageByAMPView
WHERE TheDate = CURRENT_DATE AND TheTime>080000
ORDER BY 1,2,3;
ResCPUByPE Macros
Function
The following table describes the ResCPUByPE macros:
Macro... Reports...
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSvpr.
• Associated log rate is vproc.
Output Examples
The reports in the following sections are sample output reports from the ResCPUByPE,
ResCPUByPEOneNode, and ResPeCPUByGroup macros, respectively, where:
Column... Reports the percent of time PEs are busy doing user...
Pars User Serv% servicea for the Parser partition of the PE.a
Disp User Serv% service for the Dispatcher partition of the PE.
Ses User Serv% service for the Session Control partition of the PE.
Misc User Serv% service for miscellaneous (all other, except Partition 0) PE partitions.
Pars User Exec% execution bwithin the Parser partition of the PE.b
Disp User Exec% execution within the Dispatcher partition of the PE.
Ses User Exec% execution within the Session Control partition of the PE.
Misc User Exec% execution within miscellaneous (all other, except Partition 0) PE partitions.
Total User Serv% service work. This is the sum of the four user service columns above plus PE
Partition 0 user service.
Total User Exec% 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.
a. Service is the time that a CPU is busy executing user service code, which is privileged work
performing system-level services on behalf of user execution processes that do not have root
privileges.
b. 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.
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).
Pars Disp Ses Misc Pars Disp Ses Misc Total Total Total
Vproc Node Node User User User User User User User User User User Busy
Date Time Id Id CPUs Serv% Serv% Serv% Serv% Exec% Exec% Exec% Exec% Serv% Exec% %
-------- -------- ----- ------ ---- ------- ------- ------- ------- ------- ------- ------- ------- ------ ------ -------
01/07/12 09:57:00 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:57:20 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:57:40 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:58:00 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:58:20 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:58:40 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:59:00 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:59:20 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
09:59:40 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
10:00:00 16382 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
16383 001-01 4 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
Note: The NodeId column only appears in the ResCPUByPE output report.
Pars Disp Ses Misc Pars Disp Ses Misc Total Total Total
Vproc Node User User User User User User User User User User Busy
Date Time Id CPUs Serv% Serv% Serv% Serv% Exec% Exec% Exec% Exec% Serv% Exec% %
------ ------- ----- ---- ------ ------ ------ ------ ----- ------ ------ ------ ------ ------ ------
01/08/21 15:41:00 2 4 0.02% 0.05% 0.00% 0.00% 0.56% 0.01% 0.00% 0.00% 0.08% 0.58% 0.7%
15:42:00 2 4 0.01% 0.01% 0.00% 0.00% 0.18% 0.00% 0.00% 0.00% 0.02% 0.18% 0.2%
15:43:00 2 4 0.02% 0.02% 0.00% 0.00% 0.20% 0.00% 0.00% 0.00% 0.04% 0.20% 0.2%
15:44:00 2 4 0.03% 0.02% 0.00% 0.00% 0.55% 0.00% 0.00% 0.00% 0.05% 0.56% 0.6%
15:45:00 2 4 0.02% 0.01% 0.00% 0.00% 0.18% 0.00% 0.00% 0.00% 0.02% 0.18% 0.2%
15:46:00 2 4 0.03% 0.02% 0.00% 0.00% 0.58% 0.00% 0.00% 0.00% 0.05% 0.58% 0.6%
01/08/27 16:21:00 2 4 0.05% 0.08% 0.00% 0.00% 0.69% 0.00% 0.00% 0.00% 0.13% 0.70% 0.8%
Pars Disp Ses Misc Pars Disp Ses Misc Total Total Total
Group Node User User User User User User User User User User Busy
Date Time Id CPUs Serv% Serv% Serv% Serv% Exec% Exec% Exec% Exec% Serv% Exec% %
------ ------ ----- ---- ------- ------ ------- ------ ------ ------ ------ ------- ------ ----- -----
01/07/12 04:55:40 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:56:00 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:56:20 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:56:40 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:57:00 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:57:20 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:57:40 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:58:00 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
04:58:20 A 4 0.00% 0.00% 0.00% 0.00% 0.0% 0.00 0.00% 0.00% 0.00% 0.00% 0.00%
Note: The GroupID column only appears in the ResPeCpuByGroup output report.
ResCPUByNode Macros
Function
The following table describes the ResCPUByNode macros:
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSpma.
• Associated log rate is node.
Output Examples
The reports in the following sections are sample output reports from the ResCPUByNode, the
ResCPUOneNode macro, and the ResCPUByGroup, respectively, where:
Note: User service is the time that a CPU is busy executing user service code, which is
privileged work performing system-level services on behalf of user execution processes that do
not have root privileges. 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. These report columns are
the average for all CPUs on the node.
Note: The NodeId column only appears in the ResCPUByNode output report.
Note: The GroupID column only appears in the ResCpuByGroup output report.
ResHostByLink Macros
Function
The following table describes the ResHostByLink macros:
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 LAN traffic, for example, when doing an export, the ResUsageSpma table may
show 30 million rows/log period.
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageShst.
• Associated log rate is vproc.
Output Examples
The reports in the following sections are sample output reports from the ResHostByLink, the
ResHostOneNode macros, and the ResHostByGroup, respectively, where:
Avg ReqQ Len average number of messages queued for output to the host.
Max ReqQ Len maximum number of messages queued for output to the host.
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
106-04 65535 NETWORK 0 22.6 11.3 0.1 0.1 0.0% 0.0% 398.4 198.8 0.9 0.9 0.0 0.0
106-05 65535 NETWORK 0 7.5 97.0 0.1 0.1 0.0% 0.0% 86.0 1097.7 1.0 1.0 0.0 0.0
11:22:42 105-04 65535 NETWORK 0 81105.0 250605.8 47.1 47.1 0.0% 0.0% 1721.2 5317.6 1.0 1.0 0.0 0.0
IBMMUX 101 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
105-05 65535 NETWORK 0 44.1 22.6 0.1 0.1 0.0% 0.0% 391.8 206.5 0.9 0.9 0.0 0.0
IBMMUX 202 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
IBMMUX 304 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
106-04 65535 NETWORK 0 31.9 391.0 0.4 0.4 0.0% 0.0% 85.3 1037.5 1.0 1.0 0.0 0.0
106-05 65535 NETWORK 0 8.3 81.8 0.1 0.1 0.0% 0.0% 97.3 917.2 0.9 0.9 0.0 0.0
11:32:42 105-04 65535 NETWORK 0 80303.8 246270.046.6 46.7 0.0% 0.0% 1722.0 5276.5 1.0 1.0 0.0 0.0
IBMMUX 101 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
106-05 65535 NETWORK 0 46.2 23.7 0.1 0.1 0.0% 0.0% 385.4 200.3 0.9 0.9 0.0 0.0
11:42:42 105-04 65535 NETWORK 0 59002.2 176635.3 34.3 34.3 0.0% 0.0% 1720.4 5148.5 1.0 1.0 0.0 0.0
IBMMUX 101 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
105-05 65535 NETWORK 0 0.3 0.4 0.0 0.0 0.0% 0.0% 86.5 84.7 0.5 0.3 0.0 0.0
IBMMUX 202 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
IBMMUX 304 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
106-04 65535 NETWORK 0 23.1 11.9 0.1 0.1 0.0% 0.0% 407.6 215.8 0.9 0.9 0.0 0.0
106-05 65535 NETWORK 0 22.5 11.0 0.1 0.1 0.0% 0.0% 408.8 205.9 0.9 0.9 0.0 0.0
Note: The NodeId column only appears in the ResHostByLink output report.
KBs KBs Blks Blks Blk Blk KBs KBs Msgs Msgs Avg Max
Vproc Host Host Read Write Read Write Read Write /Blk /Blk /Blk /Blk ReqQ ReqQ
Date Time Id Type Id /Sec /Sec /Sec /Sec Fail% Fail% Read Write Read Write Len Len
-------- -------- ----- -------- ----- -------- -------- ------ ------ ----- ----- ------ ------- ----- ----- ----- -----
00/10/16 11:07:00 65535 NETWORK 0 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
IBMMUX 202 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
IBMMUX 304 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
11:22:42 65535 NETWORK 0 44.1 22.6 0.1 0.1 0.0% 0.0% 391.8 206.5 0.9 0.9 0.0 0.0
IBMMUX 202 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
IBMMUX 304 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
11:42:42 65535 NETWORK 0 0.3 0.4 0.0 0.0 0.0% 0.0% 86.5 84.7 0.5 0.3 0.0 0.0
IBMMUX 202 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
IBMMUX 304 0.0 0.0 0.0 0.0 ? ? ? ? ? ? 0.0 0.0
Note: The GroupID column only appears in the ResHostByGroup output report.
ResLdvByNode Macros
Function
The following table describes the ResLdvByNode macros:
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.
See “Executing Macros” on page 39 for a description of the FromDate, FromTime, ToDate,
ToTime, FromNode, ToNode and Node parameters.
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSldv.
• Associated log rate is vproc.
Output Examples
The reports in the following sections are sample output reports from the ResLdvByNode, the
ResLdvOneNode, and the ResLdvByGroup macros, respectively, where:
Avg I/O Resp average response time for a logical device read or write in seconds.
Max Concur Rqsts maximum number of concurrent requests during the collect/log period.
Note: The NodeId column only appears in the ResLdvByNode output report.
Avg Out
Grp Ldv Reads Writes Rd KB Wrt KB I/O Concur Rqst
Date Id Type Time / Sec / Sec / I/O / I/O Resp Rqsts Time %
-------- --- ---- ---------- -------- -------- ------- ------ ------- ----- ------
06/09/26 A DISK 10:09:45 0.00 2.00 ? 4.20 0.000 0.0 1.3%
10:10:00 0.00 1.27 ? 5.89 0.000 0.0 0.6%
10:10:15 0.00 2.20 ? 5.88 0.000 0.0 1.3%
10:10:30 0.00 1.20 ? 6.22 0.000 0.0 0.8%
10:10:45 0.00 3.53 ? 3.96 0.000 0.0 2.5%
10:11:00 0.00 1.33 ? 5.85 0.000 0.0 1.0%
10:11:15 0.00 2.00 ? 4.30 0.000 0.0 1.3%
10:11:30 0.00 1.33 ? 5.65 0.000 0.0 0.7%
10:11:45 0.00 1.87 ? 8.71 0.000 0.0 1.0%
10:12:00 0.00 40.67 ? 31.27 0.000 0.0 100.0%
10:12:15 0.00 3.40 ? 16.57 0.000 0.0 1.4%
10:12:30 0.00 5.40 ? 7.44 0.000 0.0 5.2%
10:12:45 0.00 1.87 ? 14.29 0.000 0.0 0.9%
Note: The GroupID column only appears in the ResLdvByGroup output report.
ResMemMgmtByNode Macros
Function
The following table describes the ResMemMgmtByNode macros:
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSpma.
• Associated log rate is node.
Output Examples
The reports in the following sections are sample output reports from the
ResMemMgmtByNode, the ResMemMgmtOneNode macros, and the ResMemByGroup,
respectively, where:
Text Alocs/ Sec average number of text page allocations per second.
text pages are allocations of memory for code that is not associated with
system-level overhead tasks.
VPR Alocs/ Sec average number of vproc-specific page and segment allocations per
second on a node.
KB/ VPR Aloc average KBs per vproc-specific page and segment allocation on a node.
Ages/ Sec average number of times memory pages were aged out per second.
Page Drops/ Sec average number of text pages dropped from memory per second.
Page drops are text pages that are dropped from memory to increase the
amount of available memory.
Page Reads/ Sec average number of memory pages read from disk per second.
Page reads include both memory text pages and task context pages, such
as scratch, stack, etc.
Page Writes/ Sec average number of memory pages written to disk per second.
Page writes include only task context pages.
Swap Drops/ Sec average number of disk segments dropped from memory per second.
Swap drops include all disk segments dropped from memory because
their ancestor processes were swapped out.
Swap Reads/ Sec 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 KBs, of disk segments dropped from memory because
their ancestor processes were swapped out.
KB/Swp Rd average size, in KBs, of reread disk segments that had been previously
dropped from memory because their ancestor processes were swapped
out.
P+S Drops/ Sec average number of paged, swapped page, or segment drops per second.
This statistic includes both the memory text pages (Pg Drps/ Sec), and the
disk segments (Swp Drps/ Sec), that were dropped.
P+S Reads/ Sec average number of paged, swapped page, or segment reads 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 Writes/ Sec average total number of paged, swapped page, or segment writes per
second.
P+S IO % percent of total logical device inputs and outputs that are paging or
swapping inputs and outputs.
% Text VPR KB Aloc # Page Page Page Swap Swap KB KB P+S P+S P+S
Node Mem Alocs Alocs /VPR Fail Ages Proc Drops Reads Wrts Drops Reads /Swp /Swp Drops Reads Writes P+S
Date Time Id Free /Sec /Sec Aloc % /Sec Swap /Sec /Sec /Sec /Sec /Sec Drp Rd /Sec /Sec /Sec IO %
-------- -------- ------ ---- ----- ----- ---- ---- ---- ---- ----- ----- ----- ----- ----- ---- ---- ------ ------ ------ ----
00/10/16 11:20:00 001-03 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:25:00 001-03 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:30:00 001-03 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:35:00 001-03 11% 0.0 0.0 ? ? 0.0 0 0.0 12.6 0.2 0.0 0.0 ? ? 0.0 12.6 0.2 14%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 14.0 0.0 0.0 0.0 ? ? 0.0 14.0 0.0 21%
11:40:00 001-03 11% 0.0 0.0 ? ? 0.0 0 0.0 3.6 0.2 0.0 0.0 ? ? 0.0 3.6 0.2 4%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 2.8 0.0 0.0 0.0 ? ? 0.0 2.8 0.0 3%
11:45:00 001-03 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
11:50:00 001-03 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 0.4 0.0 0.0 0.0 ? ? 0.0 0.4 0.0 0%
11:55:00 001-03 11% 0.0 0.0 ? ? 0.0 0 0.0 1.4 0.2 0.0 0.0 ? ? 0.0 1.4 0.2 2%
001-04 11% 0.0 0.0 ? ? 0.0 0 0.0 1.0 0.0 0.0 0.0 ? ? 0.0 1.0 0.0 1%
Note: The NodeId column only appears in the ResMemMgmtByNode output report.
% Text VPR KB Aloc # Page Page Page Swap Swap KB KB P+S P+S P+S
Mem Alocs Alocs /VPR Fail Ages Proc Drops Reads Wrts Drops Reads /Swp /Swp Drops Reads Writes P+S
Date Time Free /Sec /Sec Aloc % /Sec Swap /Sec /Sec /Sec /Sec /Sec Drp Rd /Sec /Sec /Sec IO %
-------- -------- ---- ----- ----- ---- ---- ---- ---- ----- ----- ----- ----- ----- ---- ---- ------ ------ ------ ----
00/10/16 10:19:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 ?
10:20:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:21:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:22:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:23:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:30:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:35:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:40:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:45:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:50:00 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
10:55:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.8 0.0 0.0 0.0 ? ? 0.0 0.8 0.0 43%
11:00:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 14%
11:05:00 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:10:00 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:15:00 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
% Text VPR KB Aloc # Page Page Page Swap Swap KB KB P+S P+S P+S
Group Mem Alocs Alocs /VPR Fail Ages Proc Drops Reads Wrts Drops Reads /Swp /Swp Drops Reads Writes P+S
Date Time Id Free /Sec /Sec Aloc % /Sec Swap /Sec /Sec /Sec /Sec /Sec Drp Rd /Sec /Sec /Sec IO %
------- ----- ----- ---- ----- ----- ---- ---- ---- ---- ----- ----- ----- ----- ----- ---- ---- ------ ------ ------ ----
00/10/16 11:20:00 A 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:25:00 A 10% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:30:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
11:35:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 12.6 0.2 0.0 0.0 ? ? 0.0 12.6 0.2 14%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 14.0 0.0 0.0 0.0 ? ? 0.0 14.0 0.0 21%
11:40:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 3.6 0.2 0.0 0.0 ? ? 0.0 3.6 0.2 4%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 2.8 0.0 0.0 0.0 ? ? 0.0 2.8 0.0 3%
11:45:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
11:50:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.4 0.0 0.0 0.0 ? ? 0.0 0.4 0.0 0%
11:55:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 1.4 0.2 0.0 0.0 ? ? 0.0 1.4 0.2 2%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 1.0 0.0 0.0 0.0 ? ? 0.0 1.0 0.0 1%
12:00:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
12:05:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
12:10:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 0.2 0.0 0.0 0.0 ? ? 0.0 0.2 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
12:15:00 A 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
B 11% 0.0 0.0 ? ? 0.0 0 0.0 0.0 0.0 0.0 0.0 ? ? 0.0 0.0 0.0 0%
Note: The GroupID column only appears in the ResMemByGroup output report.
ResNetByNode Macros
Function
The following table describes the ResNetByNode macros:
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSpma.
• Associated log rate is node.
Output Examples
The reports in the following sections are sample output reports from the ResNetByNode, the
ResNetOneNode, and the ResNetByGroup macros, respectively, where: Deleted Net 0 and
Net1 columns.
% 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.
Total IOs/ Sec average number of net reads and writes per second.
% 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.
ResNode Macros
Function
The following table describes the ResNode macros:
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSpma.
• Associated log rate is node.
Output Examples
The reports in the following sections are sample output reports from the ResNode, the
ResOneNode, the ResNodebyNode, and the ResNodeByGroup macros, respectively.
In the ResNode output report, after the Date and Time columns, 19 statistics columns present
the following information:
In the ResOneNode output report, after the Date and Time columns, 16 statistics columns
present the following information:
In the ResNodebyNode output report, after the Date and Time columns, 17 statistics columns
present the following information:
In the ResNodeByGroup output report, after the Date and Time columns, 17 statistics
columns present the following information:
In all output reports (with the exception of ResNodeByNode which has a NodeId column and
ResNodeByGroup which has a GroupId column) the columns are described as follows:
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.
Ldv IOs /Sec average number of logical device reads and writes per second for
each node.
Ldv Eff % parallel efficiency of the logical device (disk) I/Os. It is the average
number of I/Os per node divided by the number of I/Os
(ResNode report)
performed by the node with the most I/Os.
P+S % of IOs percent of logical device reads and writes that are for paging or
swapping purposes.
Read % of IOs percent of logical device reads and writes that are reads.
Mem Aloc / Sec average number of memory allocations per second, per node.
Mem Age /Sc Average number of times memory pages were aged out per
second, per node.
A+R % of IOs percent of logical device reads and writes that are disk segment
reads and writes.
TPtP IOs /Sec total point-to-point net reads and writes per second, per node.
TMlt IOs /Sec total multicast (broadcast or merge) net reads and writes per
second, per node.
Prc Blks / Sec number of times per second, per node, that processes other than
message and timer waits are blocked.
Net Rx Bsy % percent of time the network was busy either receiving.
CPU CPU Ldv Ldv P+S Rd Ldv Fre Mem Mem Mem A+R TPtP TMlt Net Prc ms Net Net
Bsy Eff WIO IOs Eff %of %of KB Mem Aloc Fai Age %of IOs IOs Rty Blks / Rx Tx
Date Time % % % /Sec % IOs IOs /IO % /Sec % /Sec IOs /Sec /Sec % /Sec Blk Bsy% Bsy%
------- -------- --- --- --- ----- --- --- --- --- --- ----- --- ---- --- ----- ----- --- ----- ------ -- ---
01/07/12 04:45:40 2 100 15 16 100 0 0 22 1 1 0 0 100 0 0 0 40 386 ? ?
04:46:00 2 100 16 16 100 0 0 23 1 1 0 0 100 0 0 0 39 561 ? ?
04:46:20 1 100 16 16 100 0 0 19 1 1 0 0 100 0 0 0 39 383 ? ?
04:46:40 2 100 17 16 100 0 0 24 1 1 0 0 100 0 0 0 40 437 ? ?
04:47:00 2 100 16 16 100 0 0 22 1 1 0 0 100 0 0 0 39 532 ? ?
04:47:20 1 100 16 16 100 0 0 22 1 1 0 0 100 0 0 0 40 383 ? ?
04:47:40 1 100 17 17 100 0 0 22 1 1 0 0 100 0 0 0 41 417 ? ?
04:48:00 2 100 15 16 100 0 0 24 1 1 0 0 100 0 0 0 39 446 ? ?
04:48:20 1 100 14 16 100 0 0 24 1 1 0 0 100 0 0 0 40 426 ? ?
04:48:40 2 100 16 17 100 0 0 23 1 1 0 0 100 0 0 0 41 1173 ? ?
04:49:00 2 100 16 16 100 0 0 22 1 1 0 0 100 0 0 0 39 456 ? ?
04:49:20 2 100 17 17 100 0 0 23 1 1 0 0 100 0 0 0 41 416 ? ?
04:49:40 2 100 16 17 100 0 0 22 1 1 0 0 100 0 0 0 41 395 ? ?
04:50:00 2 100 16 16 100 0 0 23 1 3 0 0 100 0 0 0 42 2481 ? ?
04:50:20 1 100 15 16 100 0 0 18 1 1 0 0 100 0 0 0 39 463 ? ?
04:50:40 1 100 16 16 100 0 0 20 1 1 0 0 100 0 0 0 40 353 ? ?
04:51:00 2 100 16 16 100 0 0 21 1 1 0 0 100 0 0 0 39 662 ? ?
04:51:20 1 100 16 16 100 0 0 19 1 1 0 0 100 0 0 0 40 505 ? ?
04:51:40 2 100 16 17 100 0 0 23 1 1 0 0 100 0 0 0 42 341 ? ?
04:52:00 2 100 15 16 100 0 0 19 1 1 0 0 100 0 0 0 39 537 ? ?
04:52:20 1 100 16 16 100 0 0 22 1 1 0 0 100 0 0 0 40 480 ? ?
04:52:40 1 100 15 16 100 0 0 19 1 1 0 0 100 0 0 0 40 395 ? ?
04:53:00 2 100 15 16 100 0 0 18 1 1 0 0 100 0 0 0 39 491 ? ?
04:53:20 1 100 15 16 100 0 0 20 1 1 0 0 100 0 0 0 40 461 ? ?
04:53:40 2 100 16 16 100 0 0 22 1 1 0 0 100 0 0 0 40 1093 ? ?
04:54:00 2 100 16 16 100 0 0 22 1 1 0 0 100 0 0 0 40 442 ? ?
04:54:20 1 100 16 17 100 0 0 19 1 1 0 0 100 0 0 0 40 450 ? ?
04:54:40 2 100 15 17 100 0 0 22 1 1 0 0 100 0 0 0 41 432 ? ?
CPU Ldv P+S Rd Ldv Fre Mem Mem Mem A+R TPtP TMlt Net Prc ms Net Net
Bsy WIO IOs %of %of KB Mem Aloc Fai Age %of IOs IOs Rtry Blks / Rx Tx
Date Time % % /Sec IOs IOs /IO % /Sec % /Sc IOs /Sec /Sec % /Sec Blk Bsy% Bsy%
------- ------- --- --- ----- --- --- --- --- ----- --- --- --- ----- ----- --- --- ---- --- ----
1/07/12 09:44:20 2 16 17 0 0 21 1 1 0 0 100 0 0 0 41 477 ? ?
09:44:40 1 17 16 0 0 20 1 1 0 0 100 0 0 0 41 371 ? ?
09:45:00 1 16 16 0 0 21 1 1 0 0 100 0 0 0 39 2810 ? ?
09:45:20 2 17 16 0 0 22 1 1 0 0 100 0 0 0 40 540 ? ?
09:45:40 1 17 16 0 0 19 1 1 0 0 100 0 0 0 40 362 ? ?
09:46:00 2 17 16 0 0 23 1 1 0 0 100 0 0 0 40 371 ? ?
09:46:20 2 16 17 0 0 22 1 1 0 0 100 0 0 0 40 555 ? ?
09:46:40 1 16 16 0 0 20 1 1 0 0 100 0 0 0 40 390 ? ?
09:47:00 2 16 17 0 0 24 1 1 0 0 100 0 0 0 40 366 ? ?
09:47:20 2 16 16 0 0 21 1 1 0 0 100 0 0 0 40 520 ? ?
09:47:40 2 17 16 0 0 20 1 1 0 0 100 0 0 0 40 439 ? ?
09:48:00 1 15 16 0 0 23 1 1 0 0 100 0 0 0 40 433 ? ?
09:48:20 2 16 16 0 0 21 1 1 0 0 100 0 0 0 40 499 ? ?
09:48:40 2 16 17 0 0 24 1 1 0 0 100 0 0 0 41 1142 ? ?
09:49:00 1 16 16 0 0 22 1 1 0 0 100 0 0 0 39 378 ? ?
09:49:20 2 16 17 0 0 20 1 1 0 0 100 0 0 0 41 543 ? ?
09:49:40 2 17 16 0 0 20 1 1 0 0 100 0 0 0 41 363 ? ?
09:50:00 1 16 16 0 0 19 1 3 0 0 100 0 0 0 40 2598 ? ?
09:50:20 2 17 16 0 0 20 1 1 0 0 100 0 0 0 40 506 ? ?
CPU Ldv P+S Rd Ldv Fre Mem Mem A+R TPtP TMlt Net Prc ms Net Net
Group Bsy WIO IOs %of % of KB Mem Aloc Fai %of IOs IOs Rty Blks / Rx Tx
Date Time Id % % /Sec IOs IOs /IO % /Sec % IOs /Sec /Sec % /Sec Blk Bsy Bsy%
-------- -------- ----- --- --- ----- --- ---- --- --- ----- --- --- ----- ----- ---- ----- ------ ---- ----
01/07/12 04:55:40 A 2 17 17 0 0 26 1 1 0 100 0 0 0 42 442 ? ?
04:56:00 A 2 15 16 0 0 22 1 3 0 100 0 0 0 41 4887 ? ?
04:56:20 A 2 14 16 0 0 22 1 7 0 100 0 0 0 41 3844 ? ?
04:56:40 A 2 16 17 0 0 23 1 6 0 100 0 0 0 43 402 ? ?
04:57:00 A 2 16 16 0 0 23 1 1 0 100 0 0 0 40 521 ? ?
04:57:20 A 1 16 16 0 0 24 1 1 0 100 0 0 0 40 529 ? ?
04:57:40 A 1 15 16 0 0 22 1 1 0 100 0 0 0 40 387 ? ?
04:58:00 A 1 16 16 0 0 22 1 1 0 100 0 0 0 39 452 ? ?
04:58:20 A 1 15 16 0 0 22 1 1 0 100 0 0 0 40 381 ? ?
04:58:40 A 1 16 16 0 0 22 1 1 0 100 0 0 0 40 1281 ? ?
04:59:00 A 2 16 16 0 0 21 1 1 0 100 0 0 0 39 452 ? ?
ResPs Macros
Function
The following table describes the ResPs macros:
ResPsByNode by node, produces one row of data for each Performance Group
ID, for each logging period.
ResPsByGroup by coexistence group, produces one row of data for each node type
in the system per logging period.
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSps.
• Associated log rate is the vproc log rate.
In order for the ResPsWDJoin and ResPsByNodeWDJoin macros to function, you must have
Teradata DWM Category 3 rule (Workloads) enabled and the workloads defined. Each
defined workload is internally associated with a priority scheduler Performance Group, which
in turn is associated with Allocation Groups. These macros display the critical workloads in
the context of their Allocation Group relationships. For information on working with
Teradata DWM rules, see Teradata Dynamic Workload Manager User Guide.
The ResPsWDJoin and ResPsByNodeWDJoin macros are not currently available in Teradata
Database 12.0, but can be obtained from the Orange Book: Teradata Active Systems
Management Usage Considerations and Best Practices (541-0004755B03).
Output Examples
The reports in the following sections are sample output reports from the ResPsByNode,
ResPsByGroup, ResPsByNodeWDJoin, and ResPsWDJoin macros, respectively.
In the ResPsByNode output report, after the Date and Time columns, 12 statistics columns
present the following information:
1 Node ID.
In the ResPsByGroup output report, after the Date and Time columns, 11 statistics columns
present the following information:
1 Node type.
In the ResPsByNodeWDJoin output report, after the Date and Time columns, 15 statistics
columns present the following information:
1 Node ID.
3 Relative weight.
4 Workload name.
In the ResPsWDJoin output report, after the Date and Time columns, 14 statistics columns
present the following information:
2 Relative weight.
3 Workload name.
In all output reports (with the exception of the ResPsWDJoin and ResPsByNodeWDJoin
macros which have the “CPU ms” column) the summary statistics columns are described as
follows:
IO Blks / Sec average number of logical data blocks read and (or) written by
Performance Group per second.
Avg QWait Time average QWaitTime for each request during a specified period.
Max QWait Time maximum time in milliseconds that work requests waited on an
input queue before being serviced.
Q Length number of work requests waiting on the input queue for service.
Q Length Max maximum number of work requests waiting on the input queue
for service.
Avg Svc Time average ServiceTime for each request during a specified period.
Max Svc Time maximum time in milliseconds that work requests required for
service.
For a complete description of these columns, see Chapter 11: “ResUsageSps Table.”
07/08/09 Workload Usage Summary (Average Usage per AMP By Node) Page 1
2 2 ? 0 0 0 0 0 ? 0 0 0 ? 0
3 5 ? 0 0 0 0 0 ? 0 0 0 ? 0
4 10 ? 0 36 0 0 48 4 70 0 0 2 100
1-05 1 1 ? 0 0 0 0 0 ? 0 0 0 ? 0
2 2 ? 0 0 0 0 0 ? 0 0 0 ? 0
3 5 ? 0 0 0 0 0 ? 0 0 0 ? 0
4 10 ? 0 64 0 0 64 3 160 0 0 12 830
Note: Question marks used as values in the Workload (WD) Name column in the output above mean there is no associated
workload to the Performance Group (PG ID)/Performance Period (PP ID). However, if the question mark is used as a value in
any other column, the it indicates there is no information to report for this time period (see “Question Marks” on page 156 for
details).
2 2 ? 0 0 0 0 0 ? 0 0 0 ? 0
3 5 ? 0 0 0 0 0 ? 0 0 0 ? 0
4 10 ? 0 50 0 0 56 4 160 0 0 7 830
Note: Question marks used as values in the Workload (WD) Name column in the output above mean there is no associated
workload to the Performance Group (PG ID)/Performance Period (PP ID). However, if the question mark is used as a value in
any other column, the it indicates there is no information to report for this time period (see “Question Marks” on page 156 for
details).
Chapter 15: Resource Usage Macros
ResPsCPU Macros
ResPsCPU Macros
Function
The following table describes the ResPsCPU macros:
ResPsCPUWDJoin the summary of CPU usage for all nodes, Allocation Groups,
and workloads in the system as compared to the real-time
relative weight of each Allocation Group.
Usage Notes
The following usage notes apply to this macro:
• Logging must be enabled on ResUsageSps.
• Associated log rate is the vproc log rate.
In order for the ResPsCPUWDJoin and ResPsCPUByNodeWDJoin macros to function, you
must have Teradata DWM Category 3 rule (Workloads) enabled and the workloads defined.
Each defined workload is internally associated with a priority scheduler Performance Group,
which in turn is associated with Allocation Groups. These macros display the critical
workloads in the context of their Allocation Group relationships. For information on working
with Teradata DWM rules, see Teradata Dynamic Workload Manager User Guide.
The ResPsCPUWDJoin and ResPsCPUByNodeWDJoin macros are not currently available in
Teradata Database 12.0, but can be obtained from the Orange Book: Teradata Active Systems
Management Usage Considerations and Best Practices (541-0004755B03).
Output Examples
The reports in the following sections are sample output reports from the
PsCPUByNodeWDJoin and ResPsCPUWDJoin macros.
In the ResPsCPUByNodeWDJoin output report, after the Date and Time columns, 7 statistics
columns present the following information:
1 Node ID.
2 Allocation GroupID.
3 Relative weight.
4 Workload name.
In the ResPsCPUWDJoin output report, after the Date and Time columns, 6 statistics
columns present the following information:
2 Relative weight.
3 Workload name.
In all output reports (with the exception of the ResPsCPUByNodeWDJoin macro which has
the NodeId column) are described as follows:
For a complete description of these columns, see Chapter 11: “ResUsageSps Table.”
CPU
Node AG Rel Workload (WD) PP Bsy Num
Date Time ID ID Wgt Name ID % Procs
07/08/06 17:57:00 1-04 1 1 ? 0 0.0 1
2 2 ? 0 0.0 4
3 5 ? 0 0.0 0
4 10 ? 0 0.3 2
5 48 All_Tactical 0 4.6 0
TDWM 0 0.0 0
7 11 Continious Load 0 28.6 3
LobLoader 0 0.0 0
Teradata Manger 0 0.1 0
WD-ConsoleH 0 0.0 0
WD-ConsoleR 0 0.0 0
9 2 Penalty_box 0 10.9 35
WD-ConsoleL 0 0.0 0
10 12 All_Tactical 1 3.9 0
qmiles 0 15.7 0
1-05 1 1 ? 0 0.0 1
2 2 ? 0 0.0 1
3 5 ? 0 0.0 0
4 10 ? 0 0.3 1
5 48 All_Tactical 0 4.9 7
TDWM 0 0.0 0
8 5 ADW_Strategic 0 7.5 35
DWD_OLAP 0 0.0 0
Java Stored Procedures 0 0.0 0
Mixedsql 0 6.8 53
Multiuser Simulation 0 11.3 41
PeStress 0 0.0 0
WD-ConsoleM 0 0.0 0
WD-Default 0 0.1 0
9 2 Penalty_box 0 5.5 41
WD-ConsoleL 0 0.0 0
10 12 All_Tactical 1 2.9 0
qmiles 0 12.1 0
Note: Question marks used as values in the Workload (WD) Name column in the output
above mean there is no associated workload to the Performance Group ID (PG ID) /
Performance Period ID (PP ID). However, if used as a value in any other column, it indicates
there is no information to report for this time period (see “Question Marks” on page 156 for
details).
CPU
AG Rel Workload (WD) PP Bsy Num
Date Time ID Wgt Name ID % Procs
07/08/06 17:57:00 1 1 ? 0 0.0 1
2 2 ? 0 0.0 2
3 5 ? 0 0.0 0
4 10 ? 0 0.3 2
5 48 All_Tactical 0 4.8 4
TDWM 0 0.0 0
8 5 ADW_Strategic 0 9.0 84
DWD_OLAP 0 0.0 0
Java Stored Procedures 0 0.0 0
Mixedsql 0 9.3 132
Multiuser Simulation 0 7.7 56
PEstress 0 0.0 0
WD-ConsoleM 0 0.0 0
WD-Default 0 0.0 1
9 2 Penalty_box 0 8.2 38
WD-ConsoleL 0 0.0 0
10 12 All_Tactical 1 3.4 0
qmiles 0 13.9 0
Note: Question marks used as values in the Workload (WD) Name column in the output
above mean there is no associated workload to the Performance Group (PG ID) / Performance
Period (PP ID). However, if used as a value in any other column, it indicates there is no
information to report for this time period (see “Question Marks” on page 156 for details).
ResVdskByNode Macros
Function
The following table describes the ResVdskByNode macros:
Usage Notes
For any of these macros the following usage notes apply:
• Logging must be enabled on ResUsageSvdsk.
• Associated log rate is vproc.
Output Examples
In all output reports (with the exception of ResVdiskByNode which has the NodeId column
and ResVdskByGroup which has the NodeType column) the columns are described as follows:
Read Cnt / Sec average number of logical device reads per second.
Write Cnt / Sec average number of logical device writes per second.
Avg I/O Resp average response time for a logical device read or write in seconds.
Avg Out
Node Read Cnt Write Cnt Rd KB Wrt KBI/O Rqst
Date Time Id / Sec / Sec I/O / I/O Resp Time %
-------- -------- ------ -------- -------- ------- ------- ------- ------
06/09/26 10:09:45 001-01 0.73 5.20 121.27 46.69 0.023 9.7%
10:10:00 001-01 0.40 41.17 127.50 116.34 0.152 85.3%
10:10:15 001-01 0.00 47.40 ? 118.98 0.143 98.8%
10:10:30 001-01 2.43 45.17 111.79 113.54 0.126 98.4%
10:10:45 001-01 2.77 45.90 12.00 109.93 0.118 97.7%
10:11:00 001-01 2.67 43.77 12.00 112.07 0.119 98.0%
10:11:15 001-01 2.83 46.10 12.00 112.32 0.107 97.3%
10:11:30 001-01 4.87 14.13 1374.25 100.01 0.081 54.9%
10:11:45 001-01 5.37 1.77 1785.00 38.15 0.065 41.0%
10:12:00 001-01 5.43 0.30 1785.00 71.56 0.064 36.2%
10:12:15 001-01 3.20 9.70 1759.00 16.76 0.039 45.8%
10:12:30 001-01 0.50 12.60 275.47 18.84 0.038 38.6%
10:12:45 001-01 0.00 2.17 ? 32.94 0.017 3.1%
Note: The NodeId column only appears in the ResVdskByNode output report.
Avg Out
ReadCnt WriteCnt Rd KB Wrt KB I/O Rqst
Date Time / Sec / Sec / I/O / I/O Resp Time %
-------- -------- -------- -------- ------- ------- ------- ------
06/09/26 10:09:45 0.73 5.20 121.27 46.69 0.023 9.7%
10:10:00 0.40 41.17 127.50 116.34 0.152 85.3%
10:10:15 0.00 47.40 ? 118.98 0.143 98.8%
10:10:30 2.43 45.17 111.79 113.54 0.126 98.4%
10:10:45 2.77 45.90 12.00 109.93 0.118 97.7%
10:11:00 2.67 43.77 12.00 112.07 0.119 98.0%
10:11:15 2.83 46.10 12.00 112.32 0.107 97.3%
10:11:30 4.87 14.13 1374.25 100.01 0.081 54.9%
10:11:45 5.37 1.77 1785.00 38.15 0.065 41.0%
10:12:00 5.43 0.30 1785.00 71.56 0.064 36.2%
10:12:15 3.20 9.70 1759.00 16.76 0.039 45.8%
10:12:30 0.50 12.60 275.47 18.84 0.038 38.6%
10:12:45 0.00 2.17 ? 32.94 0.017 3.1%
Note: The NodeType column only appears in the ResVdskByGroup output report.
This appendix describes the conventions that apply to reading the syntax diagrams used in
this book.
Notation Conventions
The following table defines the notation used in this section:
Paths
The main path along the syntax diagram begins at the left, 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.
Paths that are too long for one line use continuation links. Continuation links are small circles
with letters indicating the beginning and end of a link:
FE0CA002
When you see a circled letter in a syntax diagram, go to the corresponding circled letter and
continue.
Required Items
Required items appear on the main path:
SHOW
FE0CA003
If you can choose from more than one item, the choices appear vertically, in a stack. The first
item appears on the main path:
SHOW CONTROLS
VERSIONS
FE0CA005
Optional Items
Optional items appear below the main path:
SHOW
CONTROLS FE0CA004
If choosing one of the items is optional, all the choices appear below the main path:
SHOW
CONTROLS
VERSIONS
FE0CA006
You can choose one of the options, or you can disregard all of the options.
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
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.
, 3
, 4
( cname )
JC01B012
IF . . . THEN . . .
there is a maximum number of the number appears in a circle on the return path.
entries allowed
In the example, you may type cname a maximum of 4 times.
there is a minimum number of the number appears in a square on the return path.
entries required In the example, you must type at least three groups of column
names.
a delimiter character is required the beginning and end characters appear outside the return
around entries path.
Generally, a space is not needed between delimiter characters
and entries.
In the example, the delimiter characters are the left and right
parentheses.
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 either side of the break. A name
for the excerpted piece appears between the break marks in boldface type.
The named phrase appears immediately after the complete diagram, as illustrated by the
following example.
LOCKING excerpt A
A
HAVING con
excerpt
where_cond
,
cname
,
col_pos
JC01A014
This appendix describes the ResUsageIpma table. This table is for internal use only.
The ResUsageIpma table includes resource usage data for system-wide, node information.
Note: Summary Mode is not applicable to this table.
This table is created as a MULTISET table. For more information see “Relational Primary
Index” on page 46.
The following table describes the ResUsageIpma table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc INTEGER
resides. The Node ID is formatted as CCC-
MM, where CCC denotes the three-digit
cabinet number and MM denotes the two-
digit chassis number of the node. For
example, a node in chassis 9 of cabinet 3 has a
node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an
SMP node is ‘001-01’.
Gather Invalid
Column Name Method Description Data Type Platform
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
Vproc5 n/a Note: This field is not currently used. SMALLINT ALL
VprocType5 n/a Note: This field is not currently used. CHAR(4) ALL
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
STATISTICS COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
ProcNetInts count Number of times the node was interrupted for FLOAT ALL
Teradata a net request.
ProcDiskInts count Number of times the node was interrupted to FLOAT ALL
handle a disk request.
ProcHostInts count Number of times the node was interrupted to FLOAT ALL
handle a host request.
ProcLanInts count Number of times the node was interrupted to FLOAT ALL
handle a LAN request.
ProcGenClockInts count Number of times the node was interrupted to FLOAT MP-RAS
service a general clock event. WINDOWS
On Linux, the number of timer interrupts.
ProcInterCPUInts count Number of times the a CPU was interrupted FLOAT ALL
to service an inter-CPU request.
MEMORY COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
NET COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
MsgHashMDelivery tmon Total amount of time read hash messages took FLOAT
for mailbox delivery.
MsgLocalMDelivery tmon Total amount of time read local messages took FLOAT
for mailbox delivery.
MsgHashPDelivery tmon Total amount of time read hash messages took FLOAT
for process delivery.
MsgLocalPDelivery tmon Total amount of time read local messages took FLOAT
for process delivery.
Gather Invalid
Column Name Method Description Data Type Platform
NetTxKBBrd count Total broadcast data KBs transmitted over all FLOAT
Bynets
NetRxKBPtP count Total point-to-point data KBs received over all FLOAT
Bynets.
NetRxKBBrd count Total broadcast data KBs received over all FLOAT
Bynets.
NetMsgFCBlock count Number of times the net software was blocked FLOAT
because the receiver was flow controlled.
NetMsgResourceBlock count Number of times the net software was blocked FLOAT
because the receiver could not get the
necessary resources.
NetMsgChannelBlock count Number of times the net software was blocked FLOAT
because the channel was not in RxReady state
on the receiver.
NetMsgGroupBlock count Number of times the net software was blocked FLOAT
because the receiver could not implicitly enter
the group.
NetMsgRxBlock count Number of times the net software could not FLOAT
accept a message and caused a transmitter to
block.
Gather Invalid
Column Name Method Description Data Type Platform
NetBackoffExhausted count Number of transmit circuits that were backed- FLOAT ALL
off too many times and had to be converted to
blocking circuits.
NetPtPQueueMax count For log buffer or ResUsage database row, this FLOAT
is the maximum value of NetPtPQueue over
all collect intervals in this log interval. For
collect buffer, this value is equal to
NetPtPQueue.
NetBrdQueueMax count For log buffer or ResUsage database row, this FLOAT
is the maximum value of NetBrdQueue over
all collect intervals in this log interval. For
collect buffer, this value is equal to
NetBrdQueue.
NetHPPtPQueueMax count For log buffer or ResUsage database row, this FLOAT
is the maximum value of NetHPPtPQueue
over all collect intervals in this log interval.
For collect buffer, this value is equal to
NetHPPtpQueue.
Gather Invalid
Column Name Method Description Data Type Platform
NetHPBrdQueueMax count For log buffer or ResUsage database row, this FLOAT
is the maximum value of NetHPBrdQueue
over all collect intervals in this log interval.
For collect buffer, this value is equal to
NetHPBrdQueue.
CacheMiss count Number of times accesses were not in the FLOAT ALL
cache.
Gather Invalid
Column Name Method Description Data Type Platform
CacheWriteThrus count Number of cache “write thru” accesses (write FLOAT ALL
bypasses the cache and goes straight to main
memory).
CacheWriteBacks count Number of cache “write back” accesses from FLOAT ALL
cache to main memory, that is, delayed writes
of data previously written to the cache by the
CPU.
Spare Columns
The ResUsageIpma table has nine spare columns: three count, three track, and three
tmonitored columns as shown in the following table.
This appendix describes the ResUsageIvpr table. This table is for internal use only.
The ResUsageIvpr table includes resource usage data for system-wide, virtual processor
information.
The following table describes the ResUsageIvpr table columns.
Gather Invalid
Column Name Method Description Data Type Platform
HOUSEKEEPING COLUMNS
NodeId n/a Identifies the Node upon which the vproc INTEGER
resides. The Node ID is formatted as CCC-MM,
where CCC denotes the three-digit cabinet
number and MM denotes the two-digit chassis
number of the node. For example, a node in
chassis 9 of cabinet 3 has a node ID of ‘003-09’.
Note: SMP nodes have a chassis and cabinet
number of 1. For example, the node ID of an
SMP node is ‘001-01’.
GMT Time n/a Greenwich Mean Time is not affected by the FLOAT
Daylight Savings Time adjustments that occur
twice a year.
NodeType n/a Type of node, representing the per node system CHAR(4)
family type. For example, “5380,” “5400,”
“5450,” etc.
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
Active n/a Controls whether or not the rows will be logged FLOAT
to the ResUsage tables if Active Row Filter Mode
is enabled.
If Active is set to:
• a non-zero value, then the row contains
modified data fields.
• a zero value, then none of the data fields in
the row have been updated during the
logging period.
For example, if Active Row Filter Mode is
enabled, then the rows that have a zero Active
field value will not be logged to the ResUsage
tables.
Note: For the current release, data collection for
the ResUsageIvpr table results in a non-zero
value for all rows under all conditions.
Therefore, Active Row Filter Mode is not in
effect for this table.
STATISTICS COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
NET COLUMNS
Gather Invalid
Column Name Method Description Data Type Platform
MonDeadlocks count Number of times entry into a monitor was FLOAT ALL
deadlocked.
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
Gather Invalid
Column Name Method Description Data Type Platform
FileSBlkRead count Number of requests for a spool data block read. FLOAT
FileSRowNDel count Number of requests for a spool data multi-row FLOAT ALL
delete.
FileSRowNUpd count Number of requests for a spool data multi-row FLOAT ALL
update.
Gather Invalid
Column Name Method Description Data Type Platform
FileAPtRowNDel count Number of requests for an append data multi- FLOAT ALL
row delete.
FileAPtRowNUpd count Number of requests for an append data multi- FLOAT ALL
row update.
Gather Invalid
Column Name Method Description Data Type Platform
FileWRowDelete count Number of times rows were deleted from the INTEGER
WAL log.
Summary Mode
When Summary Mode is active for the ResUsageIvpr table, one row per physical table 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… THEN the data for that row is being logged…
‘N’ normally
Spare Columns
The ResUsageIvpr table has 30 spare columns: 10 count, 10 track, and 10 tmonitored columns
as shown in the following table.
Gather
Column Name Method Description
where [i] is expanded to be the values 00-09. For example, column names could be
SpareCount00, SpareTrack05, or SpareTmon09.
With regards to Teradata Database, there is more than one definition of partition. The
partitions here refer to the following PDE/vproc definition:
• A partition is a collection of tasks and associated resources grouped within a virtual
processor according to the function of the tasks. There are multiple partitions within a
single virtual processor. Partitions are the primary mechanism used by Teradata Database
for managing parallel programs.
• Partitions are the subdivision of vproc software processes into 32 semi-isolated domains.
For example, in an AMP vproc, Partition 11 is the AWT 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 Assignments
Partition reservation is as follows:
• Partitions 0 through 6 are reserved by PDE
• Partitions 7 through 47 are for use by Teradata Database
Partition usage is also discussed under “CPU Utilization Columns” on page 125 in the “Table:
ResUsageSvpr” chapter.
The following reflects theTeradata Database usage of the TPA partitions.
Table Conventions
The following table describes the table symbols used in the partition assignments table below.
—— partition is unused.
2 Console Console ——
Supervisor
14 Parser —— Unused
16 [unused] ——
19 [unused] ——
20 - 22 [unknown]
29 [unknown]
30 [unused] ——
31 [unused] ——
32 [unused] ——
33 - 47 [unused] ——
This appendix discusses the System Activity Reporter (Sar), a generic MP-RAS performance
monitoring tool that provides reports that are applicable to the Teradata Database. Sar is a
node-local tool that gathers data about the operation of the hardware and software on a
system running MP-RAS.
Topics discussed include:
• Using Sar
• Comparing Sar and Resource Usage Data
Using Sar
You can run the Sar utility from an MP-RAS node (using a command line interface) to view
various resources. With Sar reports, you can monitor the system activities, as listed in the
following table, and troubleshoot specific problems.
Note: There is help available on the system detailing each Sar report option (see the manual
pages on MP-RAS and pdehelp on Windows).
Applicable to
Report Displays Teradata Database
CPUs CPU utilization for all CPUs. Contains the same level of detail as displayed by Yes
xperfstate (that is, idle, user, system, and I/O wait).
Note: On MP-RAS, this is referred as processor utilization.
Buffers All buffer activity, including buffer access, transfers between buffers, and cache Yes
hit ratios.
Block device Disk and tape drive activity. Disk activity information is the same as displayed Yes
by xperfstate.
TTY device TTY device activity, including character rates, transmit and receive rates, and No
modem interrupt rate for a serial connection.
System calls All system call information, including specific system calls (for example, reads, No
writes, forks, and execs).
Swapping and Number of transfers and units transferred for swapping in and out. And a report Yes
switching of process switches.
Queue length Average run queue length while occupied and percent of the queue that is Yes
occupied, for processes in memory that can be run.
Applicable to
Report Displays Teradata Database
File access system Use of file access system routines, for example, file system path services. No
routines
Process and Number of processes running and open files. These values are relatively constant No
i-node with Teradata Database.
Message and Teradata Database does not use this type of message and semaphores. (Task No
semaphore communications).
Paging All paging activities, including page in and page out requests and allocated Yes, but may be
pages, pages available for use, page faults, and pages per second scanned. misleading
Kernel memory The allocation of the memory pool reserving and allocating space for small Yes
requests, including the number of allocated bytes to satisfy the request.
Information
Category Sar Resource Usage
CPUs General CPU usage, i.e., SPMA/SCPU -- CPU and node level (same as xperfstate).
system, user, idle, I/O wait
SVPR -- Breakdown of CPU used for console utilities, session
(same as xperfstate)
control, dispatcher, parser, AWT, and startup.
Buffers Access, transfers, hits IPMA -- Secondary cache access and misses.
Block device LUN information (same as SLDV -- I/O traffic, response time, and outstanding requests for
xperfstate) SCSI devices related to vprocs.
TTY device Available Not available (not applicable for Teradata Database systems).
System calls Available Not available (not applicable for Teradata Database systems).
Swapping and General swapping and ICPU/IPMA -- Interrupted and scheduled switching
switching switching activity
SVPR -- Swapping.
Queue length Run queue length and percent SPMA -- Blocked and pending processes.
of queue used
File access system Available Not available (not applicable for Teradata Database systems).
routines
Process and Available Not available (not applicable for Teradata Database systems.
i-node
Message and Available Not available (not applicable for Teradata Database systems).
semaphore
Memory Kernel memory SPMA -- Memory allocation in general, specific to vprocs, and
backup node activity. Memory problems, including failures, aging,
dropping, and paging.
SVPR -- Memory allocation and memory resident with respect to
vprocs.
BYNET Not available Various BYNET information is in SPMA, IPMA, SVPR, and IVPR.
Client Not available SHST -- Host & gateway traffic and management.
Cylinder Not available SVPR -- Cylinder events; migrates, allocations, mini-cylpacks, and
management defrags.
IVPR -- Overhead for the above events
Database locks Not available SPMA/IPMA/SVPR -- Database lock requests, blocks, and
deadlocks.
Note: All data collected in IVPR, SAWT, SHST, SLDV, SVPR, SPS, and SVDSK tables is associated with a vproc, providing
detailed information not available with Sar.
AG Allocation Group
I/O Input/Output
PG Performance Group
PP Performance Period
E G
Gather methods
error message
count 47
returned for MONITOR PHYSICAL RESOURCE request
tmon 47
and option 22
track 47
returned for MONITOR VIRTUAL RESOURCE request
general information about Teradata 6
and option 22
Gmt Time 46
Example
executing ResAmpCpuByGroup macro 42
executing ResCPUByAmp macro 41 H
executing ResCPUByAmpOneNode macro 42 Host communication traffic macro output columns
ResAmpCpuByGroup macro report 163 Avg ReqQ Len 172
ResAWT macro report 160 Blk Read Fail % 172
ResAWTByAMP macro report 160 Blk Write Fail % 172
ResAWTByNode macro report 161 Blks Read/Sec 172
ResCPUByAMP macro report 163 Blks Write/Sec 172
ResCPUByAMPOneNode macro report 163 Host Type 172
ResCPUByGroup macro report 170 KBs Read/Sec 172
ResCPUByNode macro report 170 KBs Write/Sec 172
ResCPUByPE macro report 167 KBs/Blk Read 172
ResCPUByPEOneNode macro report 167 KBs/Blk Write 172
ResCPUOneNode macro report 170 Max ReqQ Len 172
ResHostByGroup macro report 174 Msgs/Blk Read 172
ResHostByLink macro report 173 Msgs/Blk Write 172
ResHostOneNode macro report 173 Host communications traffic information
ResLdvByGroup macro report 176 macros function 171
ResLdvByNode macro report 175 macros input format examples 171
ResLdvOneNode macro report 176 macros usage notes 171
ResMemByGroup macro report 180 view 151
ResMemMgmtByNode macro report 179 Host communications traffic macros
ResMemMgmtOneNode macro report 179 output column descriptions 172
ResNetByGroup macro report 183 ResHostByGroup 171
ResNetByNode macro report 182 ResHostByLink 171
ResNetOneNode macro report 182 ResHostOneNode 171
ResNode macro report 187
ResNodeByGroup macro report 188
ResNodeByNode macro report 188
I
ResOneNode macro report 187 Information Products Publishing Library 6
ResPeCpuByGroup macro report 167 Invalid platform columns, description 47
ResPsByGroup macro report 192
ResPsByNode macro report 192 L
ResPsByNodeWDJoin macro report 193 Logging
ResPsCPUByNodeWDJoin macro report 197 costs 29
ResPsCPUWDJoin macro report 198 rates 26
T
Table Logging Enable 34
Teradata Active System Management. See Teradata ASM
Teradata ASM
determining workload CPU use versus relative weight 195
workload and Priority Scheduler macros 188, 193, 194
Time-monitored. See tmon data
tmon data, description 19, 47
track data, description 19, 47
V
Vdisk logical device traffic information
macros 199
view 152
Vdisk logical drive traffic macro output columns
Avg I/O Resp 200
Out Rqst Time % 200
Rd KB/ I/O 200
Read Cnt/ Sec 199
Write Cnt/ Sec 199
Wrt KB/ I/O 200
Vdisk logical drive traffic macros
output column descriptions 199
ResVdskByGroup 199
ResVdskByNode 199
ResVdskOneNode 199
Views, resource usage data 145
Vproc Logging Rate 34