Teradata Systems. Teradata Teradata Viewpoint
โฆษณา
โฆษณา
Chapter 7 System Administration
Teradata Systems
4
5
Select the permissions you want to grant to the selected role for each available Teradata
Database system by doing any of the following:
• Select the SET PREFS check box to allow users to set their own preferences.
• Select the SHARE PORTLET check box to allow users to share customized versions of the portlet with other users.
• Click Select All to select every option on every system.
Select All becomes Clear All.
• Click Clear All to deselect every option on every system.
Clear All becomes Select All.
• Click the top check box in a column to select or clear all check boxes for a category for all systems.
• Click the system name at the left of the row to select or clear all check boxes for that system.
• Click a check box to select or clear that category for that system.
Click Apply.
Teradata Systems
Teradata Systems
The TERADATA SYSTEMS portlet allows Teradata Viewpoint Administrators to add, configure, enable, and disable Teradata Database systems using specific dialog boxes:
60 Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
General Configure the system nickname, TDPID, login names, passwords
(hidden), and account strings (optional). Test the connection to Teradata
Database, and add or delete login names.
Canary Queries Configure canary queries used to test Teradata Database system response times. The SYSTEM HEARTBEAT canary query cannot be removed.
System Health Enable metrics for the SYSTEM HEALTH portlet. Configure degraded and critical thresholds for each metric.
Alerts Add, delete, copy, and configure alerts, or migrate existing Terdata
Manager alerts.
Data Collectors Enable, disable, and configure data collectors to capture and retain portlet, disk usage, and resource data.
Monitor Rates Set Teradata Database internal sample rates for sessions, node logging, and vproc logging.
You can view the amount of disk space used:
Disk usage View the percentage of total disk space being consumed by collected data on the managed server.
Twelve hour change
View the percentage of disk space used or has become available over the past twelve hours. Positive indicates the amount of space used has increased. Negative indicates the amount of space used has decreased.
Adding a Teradata Database System
This task describes how to add a Teradata Database System to Teradata Viewpoint. The system must be added before you can configure the data collectors to monitor the database.
1
Click next to SYSTEMS.
Teradata Viewpoint User Guide 61
Chapter 7 System Administration
Teradata Systems
62
2
3
4
5
6
7
8
Enter a SYSTEM NICKNAME (up to 8 characters).
[Optional] Select the System Enabled check box to activate the Teradata Database system for monitoring.
Enter the TDPID of the Teradata Database system.
Enter a LOGIN name and password.
You also have the option to specify an account string, add more logins, and test that the login settings are correct.
[Optional] In the COLLECTORS section, select the Enable all Data Collectors
(Configure in DATA COLLECTORS) check box to activate the data collectors.
[Optional] In the CHARACTER SET section, set the session and monitor default character sets, or enable a JDBC Flag.
• [Optional] Select a character set from the Session menu.
• [Optional] Select a character set from the Monitor menu.
• [Optional] To enable the JDBC Flag field, set Session and Monitor to ASCII and enter a JDBC Flag value.
Click Apply to apply the settings.
The icon appears if the operation is successful. The icon appears if the operation fails. Verify that the settings are correct, and try again.
Deleting a Teradata Database System
Deleting a Teradata Database system removes the system from Teradata Viewpoint and removes all data collector and canary query information.
1
From the SYSTEMS list, click the Teradata Database system name you want to update.
Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
2
3
4
From the SETUP list, click General.
Click Delete System.
A confirmation message appears.
Click OK.
Adding a Login Account
After a Teradata System has been configured in Teradata Viewpoint, an unlimited number of login accounts can be added and referenced on other TERADATA SYSTEMS portlet views.
1
2
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click General.
3 Under LOGIN, click .
4
5
A blank row appears.
Enter a LOGIN name and password.
You also have the option to specify an account string, add more logins, and test that the login settings are correct.
Click Apply to apply the settings.
The icon appears if the operation is successful. The icon appears if the operation fails. Verify that the settings are correct, and try again.
Deleting a Login Account
At least one login account must be configured for a Teradata Database system. You cannot remove the last login account.
1
2
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click General.
3 Under LOGIN, click on the login row to be removed.
Teradata Viewpoint User Guide 63
Chapter 7 System Administration
Teradata Systems
The row disappears. The login is removed permanently.
CHARACTER
SET Fields
Session
Standard Character Set Configurations
When you configure a Teradata Database system, the CHARACTER SET section of the
GENERAL setup allows you define the charset that the system uses to communicate with
Teradata Viewpoint. The character set definitions are optional. If you do not define them,
Teradata Viewpoint uses the Teradata Database system settings.
Character Set Definition Suggestions
Monitor
JDBC Flag
The UTF8 session character set is strongly recommended for the Teradata Viewpoint session to ensure end-to-end fidelity of character data by avoiding conversion between character sets. However, the UTF8 session character set does not support the KANJI1 server character sets, which are used for storing data dictionary data in Teradata V2R6.x Japanese systems. For these systems, Japanese users must specify the
Kanji session character set.
The UNICODE session character set is not currently supported for the Teradata Performance Monitor and Console Partition. To create Teradata Viewpoint object names that connect Monitor and Console
Partitions, use Non-Unicode session character sets such as LATIN1252_0A, KANJISJIS_OS, and
KANJIEUC_OU.
To set the JDBC Flag, you must set the session character set and the monitor character set to ASCII. The
JDBC Flag setting is a legacy-support feature to assist the transition away from the unsupported use of the Teradata Database to store non-Latin characters in a Latin column, and the unsupported access of non-ASCII in an ASCII session character set. The JDBC Flag option specifies the CLIENT_CHARSET connection parameter, which can be used to override the Teradata JDBC Driver fixed-mapping of the
Teradata session character set to the Java character set. The valid values are the actual Java character set names. Here are two examples of valid JDBC Flag settings:
• Windows-936 from Chinese (PRC)
• Windows-950 for Chinese (Taiwan)
Teradata
Database
Version
V12.00 and later
V12.00 and later
V2R6.x
Standard
V2R6.x
Language Support
Mode
Standard
Japanese
The following table lists the default Teradata Database system settings.
Data Dictionary
Charset
UNICODE
UNICODE
Teradata
Viewpoint Session
Charset
UTF8
UTF8
Teradata
Viewpoint
Monitor Charset Limitations
ASCII or
LATIN1252_0A
ASCII session only supports the limited 7-bit
ASCII characters
KANJISJIS_OS Unknown
Japanese
LATIN
KANJI1
UTF8
KANJISJIS_OS or
KANJIEUC_OU
ASCII or
LATIN1252_0A
KANJISJIS_OS or
KANJIEUC_OU
Unknown
Use either KANJISJIS_OS or KANJIEUC_OU, for both settings. Do not mix character sets.
64 Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
Configuring Data Collectors
After a Teradata System has been configured in Teradata Viewpoint, data collectors can be configured to monitor the database.
1
2
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click Data Collectors.
3
4
5
6
7
8
Click the data collector name you want to configure.
[Optional] Select the Enable <data collector name> check box to enable the data collector to begin processing data.
Under LOGIN, select the login you want to configure from the list.
Under SAMPLE RATE, select one of the following options:
• Recommended sample rate. The recommended sample rate is different for each data collector.
• Custom sample rate. The recommended sample rate appears, and you can adjust it to your system requirements.
[Sessions Data Collector only] Under SQL and Explain Thresholds, set the Elapsed
seconds and Total CPU seconds to determine whether the SQL and Explain text is collected for the session.
[Sessions Data Collector only] [Optional] Under New priority for lower priority
action, type one of the following:
•
$L
for low (default)
•
$M
for medium
•
$H
for high
•
$R
for rush
Teradata Viewpoint User Guide 65
Chapter 7 System Administration
Teradata Systems
9
10
When the Lower Priority action executes for an alert, the session that met the alert rules has its priority changed to the above value.
Under DELETE DATA, do any of the following:
• Select the After check box to set the retention period using a number and calendar value.
• Select the Over check box, and then set the file size restriction using the Over box and list.
Click Apply to apply the settings.
Data Collector Rates
Teradata Viewpoint uses a sample rate to collect data from the Teradata Database system and uses a default retention rate to keep the collected data for a time period or up to a certain size. The sample rate and retention rate vary for each data collector and can be adjusted as needed.
Alert Request has no retention rate because this data collector does not store data.
Data Collector Name Recommended Sample Rate
Account Info
Alert Request
AWT Info
Database Space
Disk Space
Lock Info
Query Count
Resource Usage
Sessions
System Stats
Table Space
TASM Config
12 hours
5 minutes
30 seconds
1 day
1 hour
1 hour
DBQLFlushRate value from the
DBS Control utility display command
Teradata Database logging sample rate from Teradata Performance
Monitor (PMON)
Teradata Database session sample rate from PMON
Teradata Database resource sample rate from PMON
1 day
10 minutes
Initial Sample
Rate
12 hours
5 minutes
30 seconds
1 day
1 hour
1 hour
1 Hour
1 hour
30 seconds
30 seconds
1 day
10 minutes
Initial
Retention Rate
1 week
Not applicable
1 year
10 GB
1 year
10 GB
10 GB
10 GB
10 GB
1 year
TASM Distribution
TASM Exception
TASM State
60 seconds
60 seconds
60 seconds
60 seconds
60 seconds
60 seconds
10 GB
Manually deleted, as needed
1 year
1 year
1 year
66 Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
Data Collector Name Recommended Sample Rate
TASM Summary 60 seconds
Initial Sample
Rate
60 seconds
Initial
Retention Rate
1 year
Data Collector Catalog
Data collectors gather information from different sources and make the data available to
Teradata Viewpoint portlets.
Data Collector
Name
Description
Account Info Collects and retains available account strings from the
DBC.AccountInfo table. The Queries portlets use this data for the Change Priority function.
Alert Request Monitors the dbcmngr.AlertRequest and dbcmngr.MonitorRequest tables on the Teradata Database system and collects data for for further action by Teradata alerts.
AWT Info Collects AMP worker task (AWT) related information through the AMP Load (ampload) Teradata Database utility.
Canary Queries Executes and retains user-defined canary queries and the System
Heartbeat canary query, which checks the responsiveness of a
Teradata Database system. This data is required for system health metrics.
Database Space Collects and retains database-space metrics from the
DBC.DataBaseSpace and DBC.DBase tables.
Portlets Displaying Data
MY QUERIES, QUERY MONITOR
ALERT VIEWER
CAPACITY HEATMAP, METRICS
ANALYSIS, METRICS GRAPH,
SYSTEM HEALTH
CANARY RESPONSE TIMES,
PRODUCTIVITY, SYSTEM HEALTH
CAPACITY HEATMAP, METRICS
GRAPH, SPACE USAGE, SYSTEM
HEALTH
CAPACITY HEATMAP, METRICS
GRAPH, SYSTEM HEALTH
LOCK VIEWER
Disk Space
Lock Info
Collects and retains disk-space and database-space metrics from the DiskSpace view of the DBC database.
Collects and retains snapshots of lock information from Locking
Logger, a Teradata Database utility.
Query Count Collects and retains Teradata Database query counts and DBQL query log data recorded for each login from the tables
DBC.DBQLogTbl and DBC.DBQLSummaryTbl.
Resource Usage Collects and retains node and vproc resource usage data from the DC.ResUsageSPMA table for node data and
DC.ResUsageIPMA table for vproc data.
Sessions Collects and retains Teradata Database session snapshots for each login from the Teradata Monitor partition by using the
Teradata Performance Monitor API.
System Stats Collects and retains system, node, and vproc statistics information from a Teradata Database. System statistics data is collected from the Teradata Monitor partition by using the PM/
API. Physical and virtual resource statistics are collected from
Teradata Database system memory. For Teradata Database
CAPACITY HEATMAP,
PRODUCTIVITY, TODAYS
STATISTICS, METRICS GRAPH
METRICS ANALYSIS
CAPACITY HEATMAP, METRICS
GRAPH, MY QUERIES, QUERY
MONITOR, SQL SCRATCHPAD,
SYSTEM HEALTH, TODAYS
STATISTICS, WORKLOAD MONITOR
SYSTEM HEALTH, CAPACITY
HEATMAP, METRICS ANALYSIS,
METRICS GRAPH, NODE
Teradata Viewpoint User Guide 67
Chapter 7 System Administration
Teradata Systems
Data Collector
Name
Table Space
TASM Config Collects and retains all rule set information from the tdwm
TASM
Distribution
Description systems earlier than Version 12.00, the System Statistics collector executes awtmon -s through the Teradata Console partition to collect AMP Worker Task (AWT) usage on MP-RAS systems.
AWT usage data is not available on Windows and Linux systems. For Teradata Database Version 12.00 systems and later, the System Statistics collector queries the Teradata Monitor partition to collect AWT usage information.
Collects and retains data about the space used by Teradata
Database system tables from the DBC.Dbase, DBC.TVM,
DBC.Indexes, and DBC.DataBaseSpace tables.
database.
Portlets Displaying Data
RESOURCES, TODAYS STATISTICS,
WORKLOAD HEALTH, WORKLOAD
MONITOR
CAPACITY HEATMAP, METRICS
GRAPH, SPACE USAGE, SYSTEM
HEALTH
MY QUERIES, QUERY MONITOR,
WORKLOAD HEALTH, WORKLOAD
MONITOR
WORKLOAD MONITOR The TASM Distribution data collector collects information about the average percentage of CPU consumption used by each workload for each node in the Teradata Database system. This information is collected by executing schmon -M -p -P through the Teradata Console partition. This data is used by the
WORKLOAD MONITOR portlet to produce the CPU
Consumption pie chart graph in the Distribution view.
Collects and retains data from the DBC exception log.
WORKLOAD MONITOR TASM
Exception
TASM State
TASM
Summary
Collects and retains system regulation data for Teradata
Database Version 12.00 and later. For Teradata Database systems earlier than Version 12.00, the Workload State collector gathers and retains period information.
WORKLOAD MONITOR
Collects and retains active workload data from the tdwm database. WORKLOAD HEALTH, WORKLOAD
MONITOR
About Data Collector Status
The TERADATA SYSTEMS portlet displays an icon when a data collector is disabled or functioning with errors. To see the most current status, it is recommended to refresh the system list and the data collector dialog box. You can view the icons in the system and data collector lists:
Error Appears next to a Teradata Database system name or data collector name when one of these errors has been detected:
• Processing exception
• Incorrect Teradata System privileges
• Configuration errors, such as an incorrect password
• Teradata System is offline
Disabled Appears next to a Teradata Database system name or data collector name if it is currently disabled.
68 Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
Viewing an Error Log
1
2
3
4
From the SYSTEMS list, click the Teradata Database system whose name is followed by
.
From the SETUP list, click Data Collectors.
The DATA COLLECTORS list refreshes the condition of each collector, identifying the collector that has the error.
Click next to the collector name of the log you want to view.
The Java stack trace log appears.
Click Close.
Configuring System Health Values
The System Health setup configures metrics and thresholds that are used by the SYSTEM
HEALTH and PRODUCTIVITY portlets. These thresholds are settings for the data collected by the System Statistics, Sessions, Disk Space, and Canary Queries Collectors.
1
2
From the SYSTEMS list, click the Teradata Database system name.
From the SETUP list, click System Health.
The System Health dialog box appears.
3
4
5
For each metric, select one of the following options:
• Click Enabled to make the metric visible and use the threshold values to determine the system status.
• Click Disabled to ignore the metric and the threshold values.
• Click View Only to make the metric visible but to ignore the threshold values.
For each metric, adjust the degraded or critical thresholds.
Click Apply.
System Health Metrics
The following table lists the metrics that you can specify in the System Health dialog box.
Teradata Viewpoint User Guide 69
Chapter 7 System Administration
Teradata Systems
Metric
CPU
UTILIZATION
(CPU) USER
Description
Total average node CPU usage
Average percentage of CPU time spent in User Mode
(CPU) SYSTEM Average percentage of CPU time spent in System (Kernel) Mode
(CPU) IO WAIT Average percentage of CPU time spent waiting for I/O
Type
Percent
Percent
Percent
Percent
NODE CPU
SKEW
Comparison of CPU utilization on the busiest node to the average node Percent
NODE IO SKEW Comparison of disk utilization on the busiest node to the average node Percent
AMP CPU SKEW Comparison of CPU utilization on the busiest AMP to the average AMP Percent
AMP IO SKEW Comparison of disk utilization on the busiest AMP to the average AMP Percent
Average number of AMP Worker Tasks in use on each AMP Number AMP WORKER
TASKS
TOTAL DISK
SPACE
Percentage of total disk space currently in use Percent
Percent MAX DISK BY
AMP
COMPONENT
DOWN
Percentage of available disk space currently in use
Number of components that are currently offline (such as BYNETs,
AMPs)
MEMORY USED Average amount of memory currently in use on each node (MB)
MAX SPOOL BY
AMP
Percentage of available spool space in use
Number
Number
Percent
Number MEMORY
FAILURES
Total number of memory failures across all nodes
DBC DISK SPACE Percentage of available DBC disk space in use
Number of sessions with active queries ACTIVE
SESSIONS
SYSTEM
HEARTBEAT
Response time of the most recent system heartbeat query (ms)
SYSTEM
HEARTBEAT
COPY
Response time of the secondary system heartbeat query (ms)
Percent
Number
Number
Number
Adding or Copying a Canary Query
After a Teradata System has been configured in Teradata Viewpoint, a canary query can be added to check the state of the system. If the system is active, the query returns a result.
1
2
3
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click Canary Queries.
Do one of the following:
70 Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
• To add a canary query, click .
• To copy a canary query, click in the row of the canary query you want to copy.
The canary query dialog box appears.
4
5
6
7
8
9
10
11
Enter a name for the canary query.
[Optional] Select the Enabled check box to enable the canary query.
Under SQL, enter or modify the query SQL code.
Under DEFAULT DATABASE, specify the default database.
Under LOGIN, select the login you want to configure from the list.
Under COLLECT DATA, specify the data collection frequency in seconds.
The recommended sample rate is 120 seconds. The retention rate is one year.
Under EXECUTE, select one of the following options:
• Click 24/7 to execute the query 24 hours a day, 7 days a week.
• Click Custom to execute the query during a time range by specifying the start time, end time, start day, and end day.
Under DELETE DATA, do any of the following:
• Select the After check box to set the retention period using a number and calendar value.
Teradata Viewpoint User Guide 71
Chapter 7 System Administration
Teradata Systems
12
• Select the Over check box, and then set the file size restriction using the Over box and list.
Click Apply to apply the settings.
The icon appears if the operation is successful. The icon appears if the operation fails. Verify that the settings are correct, and try again.
Deleting a Canary Query
SYSTEM HEARTBEAT is a canary query that cannot be deleted. It is used to check whether the Teradata Database system is responsive.
1
2
3
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click Canary Queries.
Click in the row of the canary query you want to delete.
72
4
A confirmation message appears.
Click OK.
The canary query row disappears.
About Alerts
Alerts monitor the performance on a Teradata Database system and automatically take action when events occur. You can add, copy, and configure alerts, as well as migrate
Teradata Manager alerts.
You can activate alert actions that send a notification, or take some other type of action, when a metric exceeds a threshold.
After you add alert action sets in the ALERT SETUP portlet, they appear in the
TERADATA SYSTEMS portlet.
The types of alert actions you can choose are:
Send an Email Choose a defined email address and text message. Event information, such as date, time, event name, threshold, and actual value, is automatically added to the body of the email message.
Run a Program Choose a program to execute (.exe).
Run a BTEQ Script Choose a BTEQ script.
Notify SNMP System Choose an SNMP trap.
You can also choose alert actions for sessions including:
<Abort
Session>
Abort the Teradata Database session for which an alert was detected. This action is only available for sessions.
Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
<Lower
Priority>
Set the priority of the Teradata Database session for which an alert was detected to the one specified in the New priority for lower priority action text box, located under Data Collectors setup for Sessions.
Alert Types
You can set alerts that take place when performance or database space events occur on one or more Teradata Database systems. Following is a list of alert types.
Alert Type
System
Node
Vproc
Database Space
Session
Canary Queries
System Health
Description
Set an alert to occur when the performance on a Teradata Database reaches the specified threshold.
Set an alert to occur when the performance on a Teradata Database reaches the specified threshold at the node level.
Set an alert to occur when the performance on a Teradata Database reaches the specified threshold at the vproc level.
Set an alert to occur when the space used on any resource, such as an AMP, exceeds the specified percentage.
Set an alert to occur when the performance on a Teradata Database reaches the specified threshold at the session level.
Set an alert to occur when the response time for a canary query exceeds the threshold.
Set an alert to occur when the system health of a Teradata Database reaches the specified level.
Migrating Alerts
After a Teradata System has been configured in Teradata Viewpoint, all of the alerts can be migrated from Teradata Manager to Teradata Viewpoint.
Note: Alerts can only be migrated when there are no alerts in Teradata Viewpoint for a
Teradata Database system; therefore, migrate existing Teradata Manager alerts before adding and copying alerts.
1
2
3
4
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click Alerts.
From the ALERT TYPES list, click an alert type.
Under ALERTS, click Migrate Alerts.
Teradata Viewpoint User Guide 73
Chapter 7 System Administration
Teradata Systems
74
5
6
7
Enter a username and password that has permission to read data from the migrating database.
[Optional] Under SNMP Config, select the SNMP configuration assigned to any migrated action sets containing an SNMP action.
Note: This is required when the alert actions being migrated contain any SNMP actions.
The SNMP configurations are defined in the ALERT SETUP portlet.
Click Apply.
A message appears in the dialog box with the number of alerts that were migrated.
Adding and Copying Alerts
After a Teradata System has been configured in Teradata Viewpoint, an alert can be added.
Note: Alerts can only be migrated when there are no alerts in Teradata Viewpoint for a
Teradata Database system; therefore, migrate existing Teradata Manager alerts before adding and copying alerts.
1
2
3
4
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click Alerts.
From the ALERT TYPES list, click an alert type.
Do one of the following:
• To add an alert, click .
• To copy an alert, click in the row of the alert you want to copy.
Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
5
6
7
8
9
10
11
12
The alert dialog box appears.
Enter a name for the alert.
[Optional] Select the Enabled check box to enable the alert.
Under Alert Rules, do the following: a b
[Database Space alert type only] Select databases to include or exclude.
Specify All databases, All databases except, or Only include databases.
c
Select a metric from the menus and type a threshold value.
You also have the option to add or remove rules.
The alert triggers based on the value entered.
d
[All alert types except for Session and Database Space] Type the number of minutes in the Only trigger if above is met for box.
The alert triggers if the rule is true for the amount of minutes you typed.
[Session alert type only] Under Except these users, type the name of the user.
You also have the option to add or remove users.
Any session with the user is excluded from receiving the alert.
Under Alert Actions, do the following: a
Select an alert action from the menu.
b
Type the number of minutes in the Do not run twice in box.
The alert action does not run twice in the minutes you typed.
Under Severity, select a severity from the menu.
[Optional] Under Message, type a message that appears when the alert action executes.
Click Apply to apply the settings.
The icon appears if the operation is successful. The icon appears if the operation fails. Verify that the settings are correct, and try again.
Deleting Alerts
An alert can be deleted any time after it has been added to a Teradata Database system.
1
From the SYSTEMS list, click the Teradata Database system name you want to update.
2
3
From the SETUP list, click Alerts.
From the ALERT TYPES list, click an alert type.
4
5
Under ALERTS, select the alert name.
Click in the row of the alert you want to delete.
Teradata Viewpoint User Guide 75
Chapter 7 System Administration
Teradata Systems
6
A confirmation message appears.
Click OK.
The alert row disappears.
Alert Metrics
The following table lists the metrics that you can specify in the system alert dialog box.
Metric Description Type
Node CPU Usage Average percent of CPU usage of all online nodes in the configuration Percent
Node Disk Usage Average percent of disk usage of all online nodes in the configuration Percent
Net A Usage Percent of BYNET A usage (BYNET receiver usage) Percent
AMP CPU Usage Average percent of CPU usage of all online AMPs in the configuration Percent
PE CPU Usage Average percent of CPU usage of all online PEs in the configuration Percent
Node CPU Skew Comparison of CPU use on the busiest node to the average node Percent
AMP CPU Skew Comparison of CPU use on the busiest AMP to the average AMP Percent
Total Sessions Total number of logged on sessions Number
Blocked Sessions Total number of blocked sessions Number
The following table lists the metrics that you can specify in the node alert dialog box.
Metric
Status
CPU Usage
Disk Usage
Net A Usage
CIC Usage
Description
Status of the node, where U means the resource is up and D means the resource is down
Percent of CPU usage that is not spent being active (not idle)
Percent of disk usage for this resource
Total BYNET utilization (average of the online BYNETs)
Percent of Channel Interface Controller usage for this resource
Disk Out Req Avg Average number of outstanding disk requests for this resource
Disk I/O Number of disk I/Os
Host I/O
Swaps
Mem Failures
Number of host I/Os
Total number of swap reads and swap writes
Segment allocation attempts that failed
Type
Character
Percent
Percent
Percent
Percent
Number
Number
Number
Number
Number
The following table lists the metrics that you can specify in the vproc alert dialog box.
Metric
Status
CPU Usage
Description
Status of the vproc, where U means the resource is up and D means the resource is down
Percent of CPU usage that is not spent being active (not idle)
Type
Character
Percent
76 Teradata Viewpoint User Guide
Chapter 7 System Administration
Teradata Systems
Metric
Disk Usage
CIC Usage
Description
Percent of disk usage for this resource
Percent of Channel Interface Controller usage for this resource
Disk Out Req Avg Average number of outstanding disk requests for this resource
Disk I/O Number of disk I/Os
Host I/O
Total Sessions
Number of host I/Os
Number of sessions logged on to the PE
Available AWT Total available AMP worker tasks
Message Count Messages waiting on the vproc
The following table lists the metrics that you can specify in the database space alert dialog box.
Metric
Current Perm
Max %
Description
Current Perm % Percentage of the total permanent disk space the database is currently using (Current Perm divided by Max Perm)
Current Perm Max * Number of Vprocs / Max Perm
Type
Percent
Percent
The following table lists the metrics that you can specify in the session alert dialog box.
Metric
Account
CPU Skew
Description
Account from which a query was submitted
CPU skew during the last sample
Type
Character
Percent
CPU delta
AMP CPU
Total CPU usage time consumed, in seconds, since the last sample Number
Current elapsed CPU time, in seconds, used on all AMPs by the associated session for executing requests
Number
Number AMP I/O Current number of logical Reads and Writes issued across all
AMPs by the associated session
Hot AMP CPU CPU time of the highest CPU utilized AMP during the collection interval
Number
Connection Time How long the session has been connected
Blocked Time How long the query has been blocked
Idle Time How long the query has been idle
Sessions Per User Number of sessions logged on under this username
Partition
Username
Partition to which the session is connected (SQL, CONSOLE,
MONITOR)
Name of the user who submitted the query
Number
Number
Number
Number
Character
Character
The following table lists the metrics that you can specify in the canary query alert dialog box.
Type
Percent
Percent
Number
Number
Number
Number
Number
Number
Teradata Viewpoint User Guide 77
Chapter 7 System Administration
Teradata Systems
Metric Description
Response Time Number of milliseconds it took for the canary query to return a response
Type
Number
Setting Monitor Rates
You can set Teradata Database internal sample rates for sessions, node logging, and vproc logging. The sample rate you set becomes the recommended sample rate for each collector.
Enabling the monitoring and logging process allows each collector to begin collecting data.
1
2
From the SYSTEMS list, click the Teradata Database system name you want to update.
From the SETUP list, click Monitor Rates.
78
3
4
5
6
7
[Optional] Do one of the following:
• Select the check box to enable monitoring and logging process.
• Clear the check box to disable monitoring and logging process.
[Optional] Type the Session Sampling sample rate in the text box.
The number you type becomes the recommended sample rate for the Sessions collector.
[Optional] Select the Node/Vproc Sampling sample rate.
The number you choose becomes the recommended sample rate for the System
Statistics collector.
[Optional] Select the Node logging and Vproc logging.
The number you choose becomes the recommended sample rate for the Resource Usage collector.
Click Apply to apply the settings.
Monitor Rates
After a Teradata System has been configured in Viewpoint, you can set Teradata Database internal sample rates for sessions, node/vproc, node logging, and vproc logging. These rates determine how often PM/API data are refreshed. The sample rates for node/vproc, node logging, and vproc logging must be an integer divisor of 3600.
Teradata Viewpoint User Guide
Sampling Types
Sessions
Node/Vproc
Node logging
Vproc logging
Viewing Disk Usage
1
Click Disk usage.
Chapter 7 System Administration
Teradata Systems
Recommended Sample Rate Maximum Sample Rate
30 seconds 3600 seconds
30 seconds 3600 seconds
600 seconds
600 seconds
3600 seconds
3600 seconds
2
The Disk usage view appears.
[Optional] Mouse over the sparkline and graph to activate the information balloons and see detailed information.
3
[Optional] Click in a Teradata Database system box in the graph to view the disk usage for each data collector on that Teradata Database system.
4
[Optional] Click the collector name in the graph to see the corresponding configuration dialog box.
Disk Usage Graphics
The graphics on the Disk usage view show disk usage over time and the distribution of data on the Teradata Viewpoint server.
Teradata Viewpoint User Guide 79
ดาวน์โหลด
โฆษณา