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. 单击“开始”“开始”按钮,单击“所有程序”,然后单击“附件”。
    2. 右键单击“命令提示符”,然后单击“以管理员身份运行”。

      用户帐户控制权限如果系统提示您输入管理员密码或进行确认,请键入密码或单击“继续”。
    3. 在命令提示符处,键入以下命令并按 Enter:
      netsh interface tcp set global autotuninglevel=disabled
    4. 关闭“命令提示符”窗口。
    5. 重新启动计算机。

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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值