Using dsmtop to replace nz_responders
In your Netezza environment, you might have used the nz_responders
script to show interactions and responses for running queries across each data slice. This
functionality is now covered by dsmtop.
About this task
The dsmtop tool fulfills customer requirements for a lightweight, low overhead
monitoring tool that will work in a text only environment. There is no associated web server and
hence absolutely no installation or administration is required for dsmtop itself.
Monitoring is accomplished using the lightweight mon_get_xxx table functions.
Views can be set to fast refresh rates to provide a real-time view of activity in the monitored
database.
You can use dsmtop to see key performance indicators. A few of the more
significant views provided in dsmtop include:
- Sessions –see at a glance which connections are active, blocked, or idle. You can drill down on a connection to see details of the current state of execution of SQL that is in flight for this connection.
- Executed SQL –see a list of recently executed statements. Drill down is provided to see the full SQL text or run explain on a statement.
- Top Consumers –find which connections or activities are consuming the most CPU, IO or other resource.
- Time spent –shows a breakdown of where the monitored database is spending time, broken down to the full granularity.
dsmtop is more powerful compared with nz_responders and it provides almost all functions that nz_responders does except those that are specific to Netezza.