SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Incorrect Reporting of Date and Time in Performance Log Files

By Sean Burke, 2001/05/15

Total article views: 2988 | Views in the last 30 days: 2

I recently ran across a problem with the date/time data that is output to a text file from the system monitor.  The error came to light as I was preparing an analysis on a series of performance monitoring data files for an upcoming article.  I noticed that the times being recorded were not the times that I had scheduled for monitoring.  In fact, they were consistently 5 hours off.  It turns out that there is a known issue with this in Windows 2000, and Microsoft has a supported fix for it (KB article Q262857).  You will need to call Microsoft support and ask for the fix.  Reference the KB article to clue them in, and you shouldn't have to pay for any support.  

Without the fix, the date and time recorded in the log file is set to UTC (Universal Time Coordinate) instead of your local time (unless you actually live in the GMT time zone), making it somewhat more difficult to coordinate performance data with the actual occurrence of events on your system. 

I have a utility that converts the wide matrix of performance information in these (or any) log files into row-based data, and stores the results in a narrow table.  It is easy enough to update the date and time for the existing records, so all of the data will be uniform after I apply the fix.

Some other items to note: Binary log files are not affected by this problem I thought that this date/time issue may have been fixed with SP1, but a cursory search of the knowledge base and the list of bug fixes did not turn up anything definitive.  Also, this is not a problem on every Windows 2000 machine - so only apply the fix if needed.

Thanks go out to Andy Warren for locating the KB article.

By Sean Burke, 2001/05/15

Total article views: 2988 | Views in the last 30 days: 2
Your response
 
 
Related tags

Bugs    
Miscellaneous    
SQL Server 7, 2000    
 
Already registered?  

Free registration required

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Register

E-mail address:
Password:
Password (confirm):

  

Subscriptions

We ask you to register on the site and subscribe to our newsletters. Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

We ask that you give the newsletter a try for a week. Over 200,000 SQL Server Professionals a day find it entertaining and useful. If not, you are welcome to unsubscribe at anytime.

Steve Jones
Editor, SQLServerCentral.com