How can we help you today? How can we help you today?
Fiona G
Hi Ed Can you provide the following information so we can establish if it's an issue with the graphing or the data collection. Run the following query to retrieve data for the relevant period. SELECT * FROM data.Cluster_SqlServer_Database_Storage_StableSamples_View WHERE CollectionDate_DateTime BETWEEN '2012-03-01' AND '2012-03-28' If you can adjust the from and to date as relevant to your situation and also filter by say the field Cluster_Name so we only get data for the server you are interested in. Alternatively can you let us know what the relevant server name is. If you can then run an analysis graph for the period in which you are seeing the wrong values and click on "Export..." and also email that to us. It would also be useful if you can run Performance Monitor against your server during the period in which you expect the log size to change to confirm the results are as you expect (details are in my previous posts). Please can you email the all the results to fiona.gazeley@red-gate.com It's also worth emailing us the log files so we can determine if anything was preventing collection during that period. Please see the following article on where to get your log files. http://www.red-gate.com/supportcenter/c ... LogFilesKB Many thanks Fiona / comments
Hi Ed Can you provide the following information so we can establish if it's an issue with the graphing or the data collection. Run the following query to retrieve data for the relevant period. SELE...
0 votes
Ed Sorry for lack of reply yesterday. I was trying to get some good comparison information for v2.3 but hitting a few problems. However I did some comparisons for v3. I set up a custom metric using the DBCC code you provided (changed only so that it returns a single numeric value). I then did some manipulation to get my log to change size (specifically I shrunk the db so the log file didn't have any extra space in it, and then ran a large insert with a commit at the end). The custom metric code was: CREATE TABLE #perf ( dbname NVARCHAR(50), logsize FLOAT, logspaceused FLOAT, statuscol INT ) INSERT INTO #perf(dbname, logsize, logspaceused, statuscol) EXEC ('DBCC SQLPERF(logspace)') SELECT logsize * 1024.0 FROM #perf WHERE dbname = db_name() (note that I am using the "logsize" field from the DBCC SQLPerf results). Both the custom metric (collecting every minute) and the built in Log Size metric tracked the log size in the same way, showing a big drop when I shrunk the database and then an increase when I ran my insert query. Therefore I am confident that after upgrade to v3 the data will be collected and displayed correctly. I am unsure at this point whether it's the v2.3 graphing that is causing problems, or the underlying data capture. Which one is it will affect the behaviour on upgrade. I will do some more investigation today and get back to you. Please note that because v3 is a major upgrade, you must have a support and upgrades package. Further details can be found here http://www.red-gate.com/SupportCenter/C ... _Upgrading Best regards Fiona / comments
Ed Sorry for lack of reply yesterday. I was trying to get some good comparison information for v2.3 but hitting a few problems. However I did some comparisons for v3. I set up a custom metric using...
0 votes
Hi Ed Can I in the first instance point you towards this post that has quite a lot of detail regarding getting data out of SQL Monitor using T-SQL. http://www.red-gate.com/MessageBoard/vi ... hp?t=12594 Best regards, Fiona / comments
Hi Ed Can I in the first instance point you towards this post that has quite a lot of detail regarding getting data out of SQL Monitor using T-SQL.http://www.red-gate.com/MessageBoard/vi ... hp?t=1...
0 votes
gmjones - Would you be able to email through your log files to fiona.gazeley@red-gate.com The following article explains how to get your log files. http://www.red-gate.com/supportcenter/c ... LogFilesKB Many thanks Fiona / comments
gmjones - Would you be able to email through your log files to fiona.gazeley@red-gate.com The following article explains how to get your log files.http://www.red-gate.com/supportcenter/c ... LogFil...
0 votes