ManageEngine® SQLDBManager Plus


Query

<< Prev

Home

Next >>

 

SQL Server - Query

Custom DB Query

Database Query Monitor is used to monitor a single or a specific set of queries for any given database. Using a single query or a given set of queries, you can monitor the status of any given database using SQLDBManager Plus Custom DB Query monitor. Queries are the best mode to find out whether your database is up and running 24x7. In business enterprises such as an online store, there are a number of applications and databases are used for e-commerce. Any interruption in such environment could mean only one thing: loss of revenue.

 

The execution of such a query or a set of queries can be automated by setting polling interval. By fixing the polling interval, user can automate this process and the results are obtained at the end of the polling. The result includes execution time (time taken by the query to provide results) and also displays any error that may occur during regular polling intervals. These errors help identify any issue that may occur with the database.

 

Let us consider an example. Many enterprise environment run critical applications which need to be up and running 24x7. Lets assume, the status of such applications are maintained in a "APPLICATION_STATUS" table. Using Custom DB Query monitor, the user shall be able to send a select set of queries to that database to find out the if they are operational or not.

 

|----------------------------------------------------------------------------------|

| APPLICATIONS_STATUS                                           |

|----------------------------------------------------------------------------------|

| APPLICATIONS_NAME               |       Status              |

|----------------------------------------------------------------------------------|

| PURCHASE                                    | OK                     |

| CRM                                               | CRITICAL            |

| PAYROLL                                       | OK                     |

| LEADS                                           | OK                     |

|----------------------------------------------------------------------------------|

 

SELECT * DB_NAME.SCHEMA_NAME.APPLICATIONS_STATUS

 

By executing the above command using Custom DB Query monitor, the user will then obtain the list of applications that are running along with its status. The user can then identify the applications whose status is 'Critical' and then carry out necessary action by configuring Alarms in SQLDBManager Plus. This action could be in the form of creating a ticket, or executing a script to rectify the problem.

 

Custom DB Query monitor can also be used to identify any bottle necks in the networks which are linked to several databases and help remove them by identifying the correct database which has the issue. This bottle neck issue can arise because there is a problem with the one of applications or with the databases. Using Custom DB Query monitor, user can then execute a given set of queries and analyze the result which provides a clear indication of the error that has caused such an occurance. The result includes the execution time (time taken by the query to generate the result). If the execution time is above a certain pre-assigned threshold, then the issue is with the database or if the result is below the pre-assigned threshold, then the issue is elsewhere.

 

SQLDBManager Plus also provides the ability to compare various column value in the output by attributes types. Option to Enable or Disable Reports is provided.

 

Note: Please note that the number of queries is limited to five queries. Total number of rows shown in the output is limited to 50 rows.

 

 

 

 


<< Prev

Home

Next >>

Performance

WMI Monitor