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. 重新启动计算机。

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

  • 相关阅读:
    NTC3950-10K温度传感器
    Maven常用命令:
    Linux-IIC驱动(详解)
    sourceinsight4 用设置
    LTDC/DMA2D—液晶显示***
    STM32F429的LTDC和DMA2D ***
    python机器学习sklearn 岭回归(Ridge、RidgeCV)
    random_state 参数
    python3 文件及文件夹路径相关
    机器学习:简单线性回归
  • 原文地址:https://www.cnblogs.com/tc310/p/4736647.html
Copyright © 2011-2022 走看看