ResUsageSps Table - Advanced SQL Engine - Teradata Database

Resource Usage Macros and Tables

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
dep1592878989156.ditamap
dita:ditavalPath
dep1592878989156.ditaval
dita:id
B035-1099
lifecycle
previous
Product Category
Teradata Vantageā„¢
You can use the ResUsageSps table to:
  • Get a historical view of workload behavior for utilities and SQL operations.
  • Determine the number of workload requests that are using AMP Worker Task. See the NumRequests column in TASM: Monitor WD Columns for details.
  • Examine queue wait and service time numbers to find backed up queries and allocation groups.
  • Determine which workload is responsible for I/O skew.
  • Monitor CPU usage managed by the Priority Scheduler.
  • Identify the percent of CPU being used by different workloads.

Teradata recommends that you use ResSpsView to access the data rather than accessing the ResUsageSps table directly. For more information, see Resource Usage Views.

For a complete description of the SLES 11 Priority Scheduler and its components, see Priority Scheduler for Linux SLES 11 Orange Book, 541-0008867.

Each WD is equivalent of one Priority Scheduler workload definition ID (pWDid).

If table logging is enabled on ResUsageSps, a row is written to the database once for every pWDid and VprType in the system for each log interval.

For more information on the pWDid column, see the RowIndex1 column in ResUsageSps Miscellaneous Housekeeping Columns.

This table is created as a MULTISET table.