|
Configuration of MsSqlLongRunQryTest
The MsSqlLongRunQryTest reports the time taken by each database for executing queries, and also reveals which query is taking too long to execute.
Note:
This test reports measures only for Microsoft SQL Server version 2005 and above. The default parameters associated with this test are:
In the INSTANCE text box, enter the name of a specific Microsoft SQL instance that is to be monitored. The default value of this parameter is "default". To monitor a Microsoft SQL instance named "CFS", enter this as the value of the INSTANCE parameter.
By default, none is displayed in the DOMAIN text box. If the ‘SQL server and Windows’ authentication has been enabled for the server being monitored, then the DOMAIN can continue to be none. On the other hand, if ‘Windows only’ authentication has been enabled, then, in the DOMAIN text box, specify the Windows domain in which the managed Microsoft SQL server exists. Also, in such a case, the USER name and PASSWORD that you provide should be that of a user authorized to access the monitored SQL server.
If a Microsoft SQL Server 7.0/2000 is monitored, then provide the name of a SQL user with the Sysadmin role in this text box. While monitoring a Microsoft SQL Server 2005/2008/2012, provide the name of a SQL user with the CONNECT SQL, VIEW SERVER STATE, VIEW ANY DEFINITION, VIEW ANY DATABASE, and PUBLIC roles in the USER text box.
By default, the EXCLUDEDB text box will be set to a comma-separated list of databases that will be excluded from the monitoring scope of this test by default. You can append more databases to this list to exclude more databases, or can remove one/more databases from the list to include them in the monitoring purview.
By default, the number '10' is displayed in the TOP N QUERY text box. This implies that, by default, the detailed diagnosis of this test will display the top-10 queries to the database, in terms of resource usage. If you want the detailed diagnosis to display more or less number of top queries, set the TOP N QUERY parameter to a number of your choice.
In some Windows networks, NTLM (NT LAN Manager) may be enabled. NTLM is a suite of Microsoft security protocols that provides authentication, integrity, and confidentiality to users. NTLM version 2 ("NTLMv2") was concocted to address the security issues present in NTLM. By default, the ISNTLMV2 flag is set to No, indicating that NTLMv2 is not enabled by default on the target Microsoft SQL host. Set this flag to Yes if NTLMV2 is enabled on the target host.
By default, to compute the Avg elapsed time and Max elapsed time of queries, this test considers the execution time of only those queries that have been running for over 10 seconds. Also, by default, the detailed diagnosis of this test will provide the details of only those queries that have been running for over 10 seconds. This is why, the AVG ELAPSED PER EXEC parameter is set to 10, by default. You can change this default setting, if required.
To make diagnosis more efficient and accurate, the eG system embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option against DETAILED DIAGNOSIS. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be
available only if the following conditions are fulfilled:
When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a “$” or contain a series of “*”. A value of "none" in the parameter value indicates that the corresponding parameter value can be changed if required.
|