zoukankan      html  css  js  c++  java
  • 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. 重新启动计算机。

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

  • 相关阅读:
    RegExp正则表达式心得 1 -分解MIME格式
    转载:ASP.Net性能优化(作者:刘鉴平)
    asp.Net中的多文件上传[载]
    我做的程序
    C#代码执行者1.0
    wordwrap,wordbreak,whitespace,textoverflow的区别和用法[转]
    SQL里面Case的用法
    richTextBox中插入图片的方法
    关于CodeDom的测试
    关系数据库的索引技术
  • 原文地址:https://www.cnblogs.com/tc310/p/4736647.html
Copyright © 2011-2022 走看看