Download Performance Guide for Informix Extended Parallel Server

Transcript
Monitoring Database Server Resources
The onlog Utility
In addition to the performance history that you build up, you can use the
onlog utility to display contents of logical-log files. Use xctl with onlog to
display logical-log contents on all coservers.
Logical-log records might help you identify a problem transaction or assess
transaction activity that corresponds to a period of high utilization, as
indicated by your performance history. Records in the logical log might help
you identify performance problems that are associated with specific users,
tables, or transactions.
The onlog utility displays all or selected portions of the logical log. This
command can display information from selected log files, the entire logical
log, or an archive tape of previous log files. The onlog utility displays all or
selected portions of the logical log. This command can display information
from selected log files, the entire logical log, or an archive tape of previous log
files.
To check the status of logical-log files, use onstat -l.
Warning: Use onlog to read logical-log files from backup tapes only. While you use
onlog to read logical-log files on disk before they have been backed up, the database
server locks the log files and stops database activity for all sessions.
Monitoring Database Server Resources
Monitor specific database server resources to identify performance bottlenecks and potential trouble spots, and improve resource use and response
time. You can monitor threads, the network, and virtual processors.
One of the most useful commands for monitoring system resources is
onstat -g and its many options. You can run onstat -g on individual coservers
or add it as an argument to the xctl command to display information about
all coservers. “Using Command-Line Utilities to Monitor Queries” on
page 12-30 and “Monitoring Fragmentation” on page 9-65 contain many
onstat -g examples.
Performance Monitoring 2-9