Windows 2003下部分SQL性能计数器不工作| 大榕树

After you save SQL performance counters as a counter log file (a .blg file) in Microsoft Windows Server 2003 System Monitor and then open the counter log file in System Monitor, no SQL performance counters appear. An event message that is similar to the following is logged in the system event log for each SQL performance counter that was not saved in the counter log file:

Event Type: Warning
Event Source: SysmonLog
Event Category: None
Event ID: 2028
Date: 3/2/2004
Time: 6:58:28 AM
User: N/A
Computer: ComputerName
Description: The service was unable to add the counter ‘\\ComputerName\CounterName’ to the log or alert. This log or alert will continue, but data for that counter will not be collected. The error returned is: The specified object is not found on the system.

For more information, see Help and Support Center at http://support.microsoft.com.

Note In this event message, ComputerName is a placeholder for the actual computer name, and CounterName is a placeholder for the actual counter name.

This problem occurs because, by default, the Performance Logs and Alerts service runs under the Network Service account in Windows Server 2003, but the Network Service account may not have permissions to save the SQL performance counters in a trace file.

To resolve this problem, change the Performance Logs and Alerts service account to use the Local System account. To do this, follow these steps:

  1. Click Start, point to Programs, click Administrative Tools, and then click Services.
  2. In Services, right-click Performance Logs and Alerts, and then click Properties.
  3. In the Performance Logs and Alerts Properties Service (Local Computer) dialog box, click the Log On tab.
  4. Click Local System account under Log on as, and then click OK.

This problem typically affects only SQL Server performance counters. This problem does not occur with system performance counters such as the following:

  • Memory
  • Network Interface
  • Paging File
  • PhysicalDisk
  • Process
  • Processor
  • Thread
2009年11月3日 Jacky

Leave a Reply

郑重声明:资讯 【Windows 2003下部分SQL性能计数器不工作| 大榕树】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——