Chat now with support
Chat with Support

SQL Optimizer for SAP ASE 3.8 - Release Notes

Adaptive Server Configuration Parameters for SQL Collector

The SQL Collector for Monitor Server uses the Adaptive Server Enterprise Monitor Server to capture SQL statements that are currently running on the database. The following items need to be set before using the SQL Collector for Monitor Server:

Adaptive Server Version

You must have Adaptive Server 15.0 or later in order to have the Adaptive Server Enterprise Monitor Server.

Adaptive Server Enterprise Monitor Server

The Monitor Server must be currently running. It must be configured on the same machine as the database server you want to monitor. With Dsedit, you can PING the remote Monitor Server to ensure that a connection is available from the PC.

Monitor Server Name on Client SQL.INI and Server must match.

The Adaptive Server and Monitor Server are defined in the \sybase\ini\sql.ini file on the client PC. The names in the SQL.INI file must match exactly the name of the Adaptive Server and the Monitor Server on the Database Server.

Monitor Server Name in Collector setup must match

When adding a new Collector in the Add Collector window, the name for the Monitor Server must match exactly the name of the Monitor Server in the SQL.INI file.

Tempdb size

The tempdb system segment should be at least 20 MB.

Logon Privilege

You must have sa_role privilege assigned to your logon.

Adaptive Server parameter

ASE Parameter

Description

Recommended setting

event buffers per engine Specifies the number of events per database server that can be simultaneously monitored. sp_configure "event buffers per engine", 2000

max SQL text monitored

Specifies the maximum size in Kbytes of the SQL text monitored per connection.

sp_configure "max SQL text monitored", 4096

enable monitoring

Disables the collection of performance statistics through the monitoring tables.

sp_configure "enable monitoring", 0

Note: For details of how to configure Adaptive Server Enterprise Monitor Server to capture SQL statements, please refer to the Adaptive Server Manuals.

 

Related Topics

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating