X64 Win7(win2008)连接SqlServer2005慢的解决办法

问题描述:
数据库版本:SQL SERVER 2005
数据库安装环境: Win 2003 X64

客户端环境:Win 2008 x64
连接工具:ODBC或ado.net
测试连接时间:4-6秒

客户端环境:Win xp x32
连接工具:ODBC或ado.net
测试连接时间:<1秒

下面是munnakumar.singh的分析和解决办法,很有效!
munnakumar.singh Posted Monday, February 13, 2012 3:00 AM

Root Cause
-------------------------------------------------------------------
The issue which we were seeing on Win7 VDIs could be due to the Network hardware device connected with the machine. If TCP/IP scaling is not supported by the network device then the performance will be slow.

Solution
-------------------------------------------------------------------
Disable auto tuning level of the TCP. Please follow below steps:
1) Open command Prompt with admin right (Run as Admin)
2) Type “netsh interface tcp set global autotuninglevel=disabled”
3) After running above command restart the machine.

For other information on this command, visit link “http://support.microsoft.com/kb/935400

==================================================

要确定此问题是否为不支持 TCP 窗口缩放的网络硬件设备所致,请按照下列步骤操作:

    1. 单击“开始”X64 Win7(win2008)连接SqlServer2005慢的解决办法,单击“所有程序”,然后单击“附件”。
    2. 右键单击“命令提示符”,然后单击“以管理员身份运行”。

      X64 Win7(win2008)连接SqlServer2005慢的解决办法如果系统提示您输入管理员密码或进行确认,请键入密码或单击“继续”。

    3. 在命令提示符处,键入以下命令并按 Enter:
      netsh interface tcp set global autotuninglevel=disabled
    4. 关闭“命令提示符”窗口。
    5. 重新启动计算机。

==================================================

上一篇:纯CSS基于窗口垂直居中


下一篇:Qt QStringLiteral