介绍 (Introduction)

The Database Experimentation Assistant (DEA) is a new Experimental solution provided by Microsoft used to help upgrading databases from older SQL Server versions (MSSQL 2005 or higher versions) to the more recent ones (MSSQL 2012 or higher versions). It accomplished this based in a given workload that is previously captured from the source database and later replayed on the target SQL Server instances for comparison.

数据库实验助手(DEA)是Microsoft提供的一种新的实验解决方案,用于帮助将数据库从旧SQL Server版本(MSSQL 2005或更高版本)升级到最新版本(MSSQL 2012或更高版本)。 它基于给定的工作负载完成了此任务,该工作负载先前是从源数据库捕获的,后来又在目标SQL Server实例上重放以进行比较。

The tool offers the following capabilities for workload comparison analysis and reporting:

该工具提供以下功能用于工作负载比较分析和报告:

  • Automated script to set up workload capture and replay of production database (using existing SQL server functionality Distributed Replay & SQL tracing) 自动化脚本来设置生产数据库的工作负载捕获和重播(使用现有SQL Server功能分布式重播和SQL跟踪)
  • Perform statistical analysis model on traces collected using both old and new instances 对使用新旧实例收集的迹线执行统计分析模型
  • Visualize data through analysis report via rich user experience 通过丰富的用户体验通过分析报告可视化数据

The analysis metrics provided by the tool, for queries, compatibility errors and other workload comparison data will allow you to conduct experiments and performance tests across two SQL Server versions using production workloads providing you the necessary reports to give you an higher confidence to perform the upgrade by minimizing the risks.

该工具提供的用于查询,兼容性错误和其他工作负载比较数据的分析指标,将使您能够使用生产工作负载在两个SQL Server版本之间进行实验和性能测试,为您提供必要的报告,从而使您更有信心执行升级通过最小化风险。

NOTE: In the time I’m writing this article, DEA still in Technical-Preview release, meaning that things can slightly change in future releases but in general things should be kept as described in this article.

注意:在撰写本文时,DEA仍在技术预览版中,这意味着将来的发行版中情况可能会稍有变化,但通常应按照本文中的描述进行操作。

安装 (Installation)

The Database Experimentation Assistant tool is available as an .msi file for 32bit and 64bit architecture. Following are the system requirements and the install instructions.

数据库实验助手工具可作为.msi文件用于32位和64位体系结构。 以下是系统要求和安装说明。

系统要求 (System Requirements)

  • Windows 7 or superior, Windows Server 2012 or superior Windows 7或更高版本,Windows Server 2012或更高版本
  • The Microsoft .NET Framework version 4.5 or a later version. Microsoft .NET Framework版本4.5或更高版本。

安装说明 (Install Instructions)

Elect a computer that meets the above system requirements and proceed with the next steps:

选择满足上述系统要求的计算机,然后继续以下步骤:

The first thing to do is to download the necessary files to be installed and then run each one to perform the install. Follow the below step-by-step instructions:

首先要做的是下载要安装的必要文件,然后运行每个文件来执行安装。 请按照以下分步说明进行操作:

  1. here 此处下载所需的文件。
  2. DatabaseExperimentationAssistant_xnn.msi downloaded file to the computer which you will perform the upgrade steps (can be your desktop computer and not necessarily the target server). DatabaseExperimentationAssistant_xnn.msi下载文件复制到将执行升级步骤的计算机上(可以是台式机,不一定是目标服务器)。
  3. DatabaseExperimentationAssistant_xnn.msi file. DatabaseExperimentationAssistant_xnn.msi文件。
  4. Next in the Welcome page. 下一步 ”。
  5. Next. 下一步
  6. Change… and provide the new location. Press 更改...”并提供新位置。 按Next to continue: 下一步继续:
  7. Install. 安装
  8. Finish to exit from the installation wizard. 完成”以退出安装向导。
  9. Control Panel / Programs and Features that Database Experimentation Assistant is installed 控制面板/程序和功能中确认已安装数据库实验助手

With these we have done with the DEA’s installation and it can be immediately used if the prerequisites have been fulfilled (see the next section).

有了这些,我们就完成了DEA的安装,如果满足先决条件,则可以立即使用它(请参阅下一节)。

要求的组件 (Requested components)

After DEA has been installed you can click on the icon in the desktop area to start the application:

安装DEA之后,您可以单击桌面区域中的图标以启动应用程序:

Database Experimentation Assistant has three main features:

数据库实验助手具有三个主要功能:

For the Capture Workload and Replay Workload options there is no need for extra components but Analysis Reports has prerequisites that requires extra components to be installed in the same computer. When choosing this option without having one or more of those components installed a screen similar to the below one will be presented to you:

对于“ 捕获工作负载”和“ 重放工作负载”选项,不需要额外的组件,但是Analysis Reports具有先决条件,要求在同一台计算机上安装额外的组件。 在未安装一个或多个组件的情况下选择此选项时,将显示类似于以下的屏幕:

NOTE: If your computer already has those components installed you won’t be able to see the above screen, meaning that you can immediately use the Analysis Reports option so no need to follow the below instructions.

注意:如果您的计算机已经安装了这些组件,则将无法看到以上屏幕,这意味着您可以立即使用“分析报告”选项,因此无需遵循以下说明。

For each of those necessary components there are, on the right side, direct links to download them.

对于每个必需的组件,在右侧都有直接链接下载它们。

固态硬盘 (SSDT)

SSDT stands for SQL Server Data Tools and can be downloaded from here. SSDT it’s also included in MS Visual Studio 2015.

SSDT代表SQL Server数据工具 ,可以从此处下载。 SSDT它也包含在MS Visual Studio 2015中。

You can download an installer or the complete ISO from the above link. When downloaded the installer (SSDTSetup.exe) the computer where you are going to install SSDT requires access to the internet so it can download the rest of the necessary files from the installer. The ISO contains all the components needed by SSDT so after downloaded and copied into the target machine you just need to run the setup file (SSDTSetup.exe) to have it installed.

您可以从上面的链接下载安装程序或完整的ISO。 下载安装程序( SSDTSetup.exe )时,要安装SSDT的计算机需要访问Internet,以便可以从安装程序中下载其余必要的文件。 ISO包含SSDT所需的所有组件,因此在下载并复制到目标计算机后,您只需要运行安装文件( SSDTSetup.exe )进行安装。

When executing SSDTSetup, all necessary features should be already checked. If not, check them all. Click Next to start those features installation:

执行SSDTSetup时,应已检查所有必需的功能。 如果没有,请全部检查。 单击“ 下一步”开始安装这些功能:

Next screen is the licensing agreement. Check the “I agree to the license terms and conditions” and click on the Install button to proceed:

下一个屏幕是许可协议。 选中“我同意许可条款和条件” ,然后单击“ 安装”按钮以继续:

Wait for the installation to finish. If you are running from the ISO the Download Progress should be run faster because the files are already in the ISO file:

等待安装完成。 如果从ISO运行,则下载进度应该运行得更快,因为文件已经在ISO文件中:

When finished it will be presented an option to Restart the machine or just Close the installation window and perform the restart later:

完成后,将为您提供一个选项,以重新启动计算机或仅关闭安装窗口并稍后执行重新启动:

Windows版R (R for Windows)

R is a free open-source language for statistical computing and graphics and you can get the last version for Windows (R-3.3.2) 32bit and 64bit, from here.

R是一种用于统计计算和图形的免费开源语言,您可以从此处获得 32位和64位Windows(R-3.3.2)的最新版本。

After downloaded and copied into the target machine, execute the installation file (R-3.3.2-win.exe).

下载并复制到目标计算机后,执行安装文件( R-3.3.2-win.exe )。

A window will pop-up requesting to select the setup language:

将会弹出一个窗口,要求您选择设置语言:

I will proceed with the English language. Your screens may differ from the next ones if you chose any other language. Click on OK button to start the Setup. A Welcome window will be presented:

我将继续讲英语。 如果选择任何其他语言,则屏幕可能与下一屏不同。 单击确定按钮以启动安装程序。 将出现一个欢迎窗口:

Click on “Next >” button and read the license information and click on “Next >” button again:

单击“ 下一步>”按钮,阅读许可信息,然后再次单击“ 下一步>”按钮:

Accept the suggested installation path or provide an alternative one. Click on “Next >” button:

接受建议的安装路径或提供替代路径。 点击“ 下一步>”按钮:

Select the components to install. I will just proceed with all components. Click on “Next >” button:

选择要安装的组件。 我将继续处理所有组件。 点击“ 下一步>”按钮:

Specify if you want to customize the startup options (select between MDI or SDI interface and Plain Text or HTML for the help style) or not. By default is No (MDI interface and HTML help style) and I will proceed with this option. Click on “Next >” button:

指定是否要自定义启动选项(在MDI或SDI界面和纯文本或HTML之间选择帮助样式)。 默认情况下为No(MDI界面和HTML帮助样式),我将继续执行此选项。 点击“ 下一步>”按钮:

Select the placement for the Start Menu Folder. By default is “R” but you can change it. You also have the option to “Don’t create a Start Menu Folder”(just thick the respective check-box). Click on “Next >” button to continue:

选择开始菜单文件夹的位置。 默认情况下为“ R”,但您可以更改它。 您还可以选择“不创建开始菜单文件夹” (仅选中相应的复选框)。 单击“ 下一步>”按钮继续:

There are additional configurations that can be made. Select those ones from your preference. Below are the default ones. Click on “Next >” button to continue:

可以进行其他配置。 从您的首选项中选择那些。 以下是默认值。 单击“ 下一步>”按钮继续:

R3.3.2 for Windows will start installing. Wait for the end of the installation.

Windows R3.3.2将开始安装。 等待安装结束。

Click on Finish on the completion screen:

单击Finish完成屏幕上:

Check in the R installation path (default is: C:\Program Files\R\R-3.3.2\library) for a library called jsonlite. If not present you will need to download it from here and manually copy it to the R library subfolder. This will permit the generation of the reports for the Analysis Report option.

检入R的安装路径(默认为:C:\ Program Files \ R \ R-3.3.2 \ library)以查找名为jsonlite的库。 如果不存在,则需要从此处下载它,然后手动将其复制到R库子文件夹。 这将允许为“分析报告”选项生成报告。

Microsoft Visual C ++ 2015可再发行 (Microsoft Visual C++ 2015 Redistributable)

The Microsoft Visual C++ Redistributable Packages are required to run C++ applications built using Visual Studio 2015. Can be downloaded from here and it is available for 32bit (vc_redist.x86.exe) and 64bit (vc_redist.x64.exe) architecture.

运行Visual Studio 2015构建的C ++应用程序需要Microsoft Visual C ++可再发行组件包。可以从此处下载,它可用于32位(vc_redist.x86.exe)和64位(vc_redist.x64.exe)体系结构。

It is also included in MS Visual Studio 2015 and it is also installed when you install some other applications as for example SSMS 2016. So if you are not intended to install any of the previously mention applications, download the Microsoft Visual C++ Redistributable Packages and copy the file into the target machine and run the vc_redist.x64.exe file (or vc_redist.x86.exe file if you are running on a 32bit machine).

它也包含在MS Visual Studio 2015中,并且在安装其他应用程序(例如SSMS 2016)时也会安装。因此,如果您不打算安装任何上述应用程序,请下载Microsoft Visual C ++可再发行组件包并复制将该文件放入目标计算机,然后运行vc_redist.x64.exe文件(如果在32位计算机上运行,​​则运行vc_redist.x86.exe文件)。

In case of it is already installed the following message will pop-up:

如果已经安装,则会弹出以下消息:

Otherwise accept the license agreement by checking the “I agree to the license terms and conditions” option and click on the Install button:

否则,通过选中“我同意许可条款和条件”选项接受许可协议,然后单击“ 安装”按钮:

Let the install run and when finish click on the Close button:

运行安装,完成后单击“ 关闭”按钮:

R互操作 (R Interop)

It is a Microsoft .NET managed abstraction layer for communicating with R and can be downloaded from here

它是用于与R进行通信的Microsoft .NET托管抽象层,可以从此处下载

Download R Interop from the above link and copy the file into the target machine and run the RInteropSetup-x64.msi file (or RInteropSetup-x86.msi file if you are running on a 32bit machine).

从上面的链接下载R Interop ,然后将文件复制到目标计算机,然后运行RInteropSetup-x64.msi文件(如果在32位计算机上运行,​​则运行RInteropSetup-x86.msi文件)。

It will pop-up the license agreement screen. Check the “I accept the terms in the License Agreement” option and press the Install button:

它将弹出许可协议屏幕。 选中“我接受许可协议中的条款”选项,然后按“ 安装”按钮:

Let the install run and press the Finish button.

运行安装,然后按“ 完成”按钮。

With this you should have all prerequisites fulfilled and you can start now working with the Database Experimentation Assistant.

这样,您应该满足所有先决条件,现在就可以开始使用Database Experimentation Assistant了

This can be confirmed in the DEA tool by accessing the Analysis Reports option. You should see a screen similar to the following one (the Prerequisites screen should not appear anymore):

可以在DEA工具中通过访问“分析报告”选项来确认。 您应该看到类似于以下屏幕的屏幕(“先决条件”屏幕将不再出现):

删除数据库实验助手 (Removing the Database Experimentation Assistant)

After finishing upgrading databases and if not needed anymore you can uninstall the Database Experimentation Assistant (DEA).

完成数据库升级后,如果不再需要,则可以卸载Database Experimentation Assistant(DEA)

DEA can be uninstalled by using Add or Remove Programs feature following these steps:

可以通过以下步骤使用“ 添加或删除程序”功能来卸载DEA:

  1. Add or Remove Programs. 添加或删除程序”
  2. Database Experimentation Assistant, right-click on it and then click 数据库实验助手” ,右键单击它,然后单击“ Uninstall. 卸载”
  3. Yes to confirm and proceed with the uninstall. 是”确认并继续卸载。

With that, DEA has just been uninstalled.

这样,DEA才被卸载。

Other articles in this series:

本系列的其他文章:

  • How to use the SQL Server Database Experimentation Assistant (DEA) tool 如何使用SQL Server数据库实验助手(DEA)工具
  • How to download and install the SQL Server Database Experimentation Assistant (DEA v2.0) 如何下载和安装SQL Server数据库实验助手(DEA v2.0)

参考文献: (References:)

  • Database Experimentation Assistant v1.0 download 数据库实验助手v1.0下载
  • Database Experimentation Assistant – FAQ 数据库实验助手–常见问题
  • Technical Preview: Database Experimentation Assistant 技术预览:数据库实验助手

翻译自: https://www.sqlshack.com/download-install-sql-server-database-experimentation-assistant-dea/

如何下载和安装SQL Server数据库实验助手(DEA)相关推荐

  1. 如何下载和安装SQL Server数据库实验助手(DEA v2.0)

    介绍 (Introduction) I had the opportunity to work and perform various tests with Database Experimentat ...

  2. 如何使用SQL Server数据库实验助手(DEA)工具

    介绍 (Introduction) This is my second article about Database Experimentation Assistant (DEA). Please r ...

  3. 监测到本计算机上装有sql,检测局域网电脑是否有安装SQL Server数据库

    本文主要介绍如何检测局域网中的电脑是否有安装SQL Server数据库,并将其列出的方法.接下来我们就开始介绍这一过程的实现. 引用SQL DMO组件. //取得本局域网内所有可用sql服务器名 cm ...

  4. 下载安装SQL Server数据库ODBC驱动和配置SQL Server ODBC数据源

    下载安装MySQL数据库ODBC驱动和配置MySQL ODBC数据源 1. 下载SQL Server ODBC驱动: 下载地址:SQL Server ODBC 驱动程序官网下载 打开页面,找到如下图所 ...

  5. 《转》VMware vSphere 5.1 学习系列之四:安装 SQL Server 数据库

    为什么80%的码农都做不了架构师?>>>    目 录 一.    vCenter Server数据库的配置要求    1 准备 vCenter Server 数据库    1 vC ...

  6. windows11安装SQL server数据库报错等待数据库引擎恢复句柄失败

    官网:https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads 我的系统是win11的,一开始安装的是2019版本的SQL ser ...

  7. 合肥工业大学—SQL Server数据库实验四:数据库的分离和附加

    数据库的分离和附加 1. 数据库分离 2. 数据库附加 1. 数据库分离 当SQL Server服务器运行时,该服务器上所有的数据库自动处于运行状态,而运行中的数据库文件是无法进行数据库文件的拷贝的. ...

  8. 合肥工业大学—SQL Server数据库实验十:用户及其权限管理

    用户及其权限管理 1. 创建登录名Mylog及密码 2. 创建用户user2关联登录名 3. 创建角色role1 4. 对用户user2及角色role1授权 5. 验证用户授权 6. 收回用户权限 1 ...

  9. 实验四 数据查询——简单查询 Sql Server数据库实验

    实验四  数据查询--简单查询   一.实验目的 1.掌握SQL查询语句的基本概念  2.掌握SQLServer查询语句的基本语法 3.熟练使用SQL的Select语句对单表进行查询 4.熟练掌握并运 ...

最新文章

  1. 不停刷朋友圈的人_刷爆朋友圈的推拉门安装方式 90%的人从没见过
  2. WCF+Nhibernate 序列化的问题。
  3. 下面不属于python第三方库的安装方法的是-关于python中第三方库安装方法和问题解决...
  4. 2016年计算机视觉和图像处理相关的国际会议一览表
  5. C++ Primer 5th笔记(chap 15 OOP)访问控制与继承
  6. linux中怎么给用户设置不同的权限,linux怎么将一个文件设置为多个人拥有或者同一组内只让某两个用户有删除权限?...
  7. create-react-app的template和assembed resource
  8. 迭代反投影法代码_程序员的数学笔记3--迭代法
  9. Binary String Minimizing CodeForces - 1256D(贪心)
  10. pomelo获取客户端IP
  11. ZZULIOJ 1061:顺序输出各位数字
  12. 谭浩强C语言(第三版)习题5.7
  13. 梅花6的11万极点+四字上词拼音首字母全GBK五笔简繁词库(新增五笔98词库)
  14. 渗透测试神器Burp Suite v1.6.12破解版
  15. photoshop实用技巧
  16. 激光雷达与毫米波雷达的区别
  17. boonton 功率测试软件,教你使用功率计及功率分析仪测试
  18. 计算机不能读手机内存不足,手机装内存卡只读不写手机64G内存卡32G,64用完显示还剩32G但警告空间不足...
  19. idea配置Tomcat时没有Artifacts选项
  20. CCF CSP 点亮数字人生(记忆化搜索+拓扑排序判环)

热门文章

  1. SpringBoot + Mybatis/JPA
  2. Python学习Day12
  3. asp.net core mvc视频A:笔记2-4.ActionResult(动作结果,即返回值)
  4. JavaEE基础(三)
  5. 10G整数文件中寻找中位数或者第K大数
  6. 13. 星际争霸之php设计模式--正面模式
  7. usaco2.11Ordered Fractions
  8. java 程序包jar_把Java程序打包成jar文件包并执行
  9. 我想说进厂打工怎么就丢人了
  10. 购房者一次性付清和还贷三十年,差别有多大?