on 10-03-2012 8:05 AM
Hi experts,
sql server dbacockpit -> performance -> history -> sql statement history is very useful to troubleshoot performance issue. Could I adjust the interval of SQLstatement history? 20 minutes is a little too long to wait when performance degrades. I want to monitor it more real-time, like one minute or 5 minutes.
Could I adjust the interval? Or could I use stored procedure or DMVs?
Hi Dennis,
In your DBACOCKPIT Click on GOTO in the menu -> Collector State -> There you have an option Re-occurance period where you can change your desired value .
Once updated .. from the menu Collector -> Activate new values.
THanks,
Jagadish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dennis,
As of today, you cannot change the scheduling interval of the SQL Statement History job alone. You would have to change the schedule of the general MSSQL Collector job that fills all the sap_* tables.
But you must be very careful when deciding to change this job interval - it will obviously collect the data more frequently and even though we try to minimize the data collected, the sap_* tables could grow larger much more quickly.
Therefore, I would only recommend making such a change for short term periods and preferably never on a production system but only on a test system.
If you still wish to do it, you can change the frequency for both the SQL Statement History job and the MSSQL_Collector job in the following way.
After you do this, I suggest you carefully monitor the sap_* tables to be sure they do not grow too quickly or cause too much load. I highly doubt this would happen, but of course we don't want our monitor tables to cause any performance problem.
Best regards,
Leslie
___________________________
Leslie Moser
Developer, Microsoft Platforms U.S.
Netweaver Development Tools
SAP Labs, LLC
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.