Monitoring the Adaptive Server Statement Cache

Display information about the statement cache, including cached SQL queries.

  1. In the Perspective Resources view, right-click the server and select Monitor.
  2. In the left pane, select Caches.
  3. Click the Statement Cache tab. The Statement Cache tab is disabled if statement cache monitoring is not enabled. Statement cache monitoring is controlled by the enable stmt cache monitoring Adaptive Server configuration option.
  4. (Optional for Adaptive Server cluster configurations) Select a specific cluster instance. The Cached Statements table shows all the statements for the selected instance.
  5. Select a statement in the Cached Statements table. The SQL query appears at the bottom of the screen.
  6. Click the tabs to display pool information or details about cached objects.
For more information on the statement cache, see Adaptive Server System Administration Guide, Volume 2.