数据库实验助手概述Overview of Database Experimentation Assistant

12/12/2019

本文内容

数据库实验助手 (DEA) 是 SQL Server 升级的试验解决方案。Database Experimentation Assistant (DEA) is an experimentation solution for SQL Server upgrades. DEA 可帮助你评估特定工作负载的 SQL Server 目标版本。DEA can help you evaluate a targeted version of SQL Server for a specific workload. 从 2005) 开始,从到最新版本 SQL Server 的 SQL Server 升级 (的客户可以使用该工具提供的分析指标。Customers upgrading from earlier versions of SQL Server (starting with 2005) to more recent versions of SQL Server can use the analysis metrics that the tool provides.

DEA 分析指标包括:DEA analysis metrics include:

具有兼容性错误的查询。Queries that have compatibility errors.

降级的查询和查询计划。Degraded queries and query plans.

其他工作负荷比较数据。Other workload comparison data.

比较数据可能会导致更高的置信度,并有助于确保升级成功。Comparison data can lead to higher confidence and help ensure a successful upgrade experience.

获取 DEAGet DEA

若要安装 DEA,请下载最新版本的工具。To install DEA, download the latest version of the tool. 然后,运行DatabaseExperimentationAssistant.exe文件。Then, run the DatabaseExperimentationAssistant.exe file.

用于比较工作负载的解决方案体系结构Solution architecture for comparing workloads

下图显示了用于工作负载比较的解决方案体系结构。The following diagram shows the solution architecture for a workload comparison. 在从 SQL Server 2008 升级到 SQL Server 2016 期间,工作负载比较使用 DEA 和 Distributed Replay。The workload comparison uses DEA and Distributed Replay during an upgrade from SQL Server 2008 to SQL Server 2016.

DEA 先决条件DEA prerequisites

下面是运行 DEA 的一些先决条件:Following are some prerequisites for running DEA:

最低硬件要求:具有 3.5 GB RAM 的单核计算机。Minimum hardware requirement: A single-core machine with 3.5 GB of RAM.

理想硬件要求:具有 3.5 GB RAM (8 核 CPU) 。Ideal hardware requirement: An eight-core CPU (with 3.5 GB of RAM or more). 具有8个以上内核的处理器不会提高 DEA 运行时间。Processors with more than eight cores don't improve DEA run times.

存储、B 和报表分析数据库需要额外33% 的性能跟踪大小。An additional 33% of performance trace size is needed to store A, B, and report analysis databases.

配置 DEAConfigure DEA

在必备的环境体系结构中,我们建议在Distributed Replay 控制器所在的同一台计算机上安装 DEA。In the prerequisite environment architecture, we recommend that you install DEA on the same machine as the Distributed Replay controller. 这种做法可以避免跨计算机调用并简化配置。This practice avoids cross-computer calls and simplifies configuration.

使用 DEA 进行工作负荷比较所需的配置Required configuration for workload comparison using DEA

DEA 使用 Windows 身份验证连接到数据库服务器。DEA connects to database servers using Windows authentication. 确保运行 DEA 的用户可以使用 Windows 身份验证连接到数据库服务器 (源、目标和分析) 。Be sure that the user running DEA can connect to database servers (source, target, and analysis) using Windows authentication.

捕获配置要求Capture configuration requirements

捕获跟踪要求运行 DEA 的用户:Capturing a trace requires that the user running DEA:

可以使用 Windows 身份验证连接到源数据库服务器。Can connect to the source database server using Windows authentication.

对源数据库服务器具有 sysadmin 权限。Has sysadmin rights on the source database server.

此外,运行源数据库服务器的服务帐户需要对跟踪文件夹路径的写访问权限。In addition, the service account running the source database server requires write access to the trace folder path.

重播配置要求Replay configuration requirements

重播跟踪要求运行 DEA 的用户:Replaying a trace requires that the user running DEA:

可以使用 Windows 身份验证连接到目标数据库服务器。Can connect to the target database server using Windows authentication.

具有对目标数据库服务器的 sysadmin 权限。Has sysadmin rights on the target database server.

此外,重播跟踪需要:In addition, replaying a trace requires that:

运行目标数据库服务器的服务帐户具有对跟踪文件夹路径的写访问权限。The service account running the target database servers has write access to the trace folder path.

Distributed Replay 客户端运行的服务帐户可以使用 Windows 身份验证连接到目标数据库服务器。The service account running Distributed Replay clients can connect to the target database server using Windows authentication.

为 Distributed Replay 控制器上的传入请求打开 TCP 端口。TCP ports are opened for incoming requests on the Distributed Replay controller. DEA 使用 COM 接口与 Distributed Replay 控制器通信。DEA communicates with the Distributed Replay controller by using COM interfaces.

分析配置要求Analysis configuration requirements

执行此分析要求运行 DEA 的用户:Performing the analysis requires that the user running DEA:

可以使用 Windows 身份验证连接到分析数据库服务器。Can connect to the analysis database server using Windows authentication.

对源数据库服务器具有 sysadmin 权限。Has sysadmin rights on the source database server.

设置遥测Set up telemetry

DEA 具有支持 internet 的功能,该功能可将遥测信息发送给 Microsoft,以用于增强产品体验。DEA has an internet-enabled feature that can send telemetry information to Microsoft for use in enhancing the product experience. 收集的信息也保存在您的计算机上以进行本地审核,因此您始终可以查看收集的信息。The information that's collected is also saved on your computer for local audit, so you can always see what's collected. 所有 DEA 日志文件都保存在% temp% \ DEA 文件夹中。All DEA log files are saved in the %temp%\DEA folder.

可以收集四种事件类型的遥测数据:Telemetry data can be collected on four types of events:

TraceEvent:应用程序 (的使用事件例如,"触发停止捕获" ) 。TraceEvent: Usage events for the application (for example, "triggered stop capture").

异常:应用程序使用期间引发了异常。Exception: Exception thrown during application usage.

DiagnosticEvent:一种事件日志,用于在出现问题时帮助诊断 (未发送到 Microsoft) 。DiagnosticEvent: An event log to assist with diagnosis when problems occur (not sent to Microsoft).

FeedbackEvent:通过应用程序提交的用户反馈。FeedbackEvent: User feedback that's submitted through the application.

收集和发送遥测数据是可选的。Collecting and sending telemetry data is optional. 若要指定收集的事件以及收集的事件是否发送给 Microsoft,请执行以下步骤:To specify which events are collected and whether collected events are sent to Microsoft, use the following steps:

请参阅 DEA 的安装位置 (例如,C: \ Program Files (x86) \ Microsoft Corporation \ 数据库实验助手) 。Go to the location in which DEA is installed (for example, C:\Program Files (x86)\Microsoft Corporation\Database Experimentation Assistant).

打开并修改应用程序) DEA.exe.config (的 .config 文件,并根据需要为 CLI (DEACmd.exe.config) 来处理方案:Open and modify the .config files DEA.exe.config (for the application) and DEACmd.exe.config (for the CLI) to address your scenario as appropriate:

若要停止收集事件类型,请设置事件 (的值,例如,将TraceEvent) 为false。To stop collecting a type of event, set the value of event (for example, TraceEvent) to false. 若要再次开始收集事件,请将值设置为true。To start collecting the event again, set the value to true.

若要停止保存事件的本地副本,请将TraceLoggerEnabled的值设置为false。To stop saving local copies of events, set the value of TraceLoggerEnabled to false. 若要再次开始保存本地副本,请将值设置为true。To start saving local copies again, set the value to true.

若要停止向 Microsoft 发送事件,请将AppInsightsLoggerEnabled的值设置为false。To stop sending events to Microsoft, set the value of AppInsightsLoggerEnabled to false. 若要再次开始向 Microsoft 发送事件,请将值设置为true。To start sending events to Microsoft again, set the value to true.

请参阅See also

工作负载比较过程的概述,其中介绍了在两个环境中比较工作负荷时所涉及的过程。The article Overview of the workload comparison process, which explains the process involved in comparing workloads in two environments.

数据库助手连接MySQL设置_数据库实验助手概述 - Database Experimentation Assistant | Microsoft Docs...相关推荐

  1. 数据库助手连接MySQL设置_数据库简易设置助手下载_数据库简易设置助手官方版下载_3DM单机...

    <数据库简易设置助手>是一款数据库配置工具,能够高效便捷对数据库进行管理工作,他支持一件关闭开启数据库,并能够设置服务启动类型,支持一键设置jdk环境,支持系统中安装多个版本的JDk环境, ...

  2. java连接mysql 5.7数据库_javaJDBC连接mysql(5.7)数据库,一看就懂的详细例子

    不多比比 直接上代码 package Demo; import java.sql.Connection; import java.sql.DriverManager; import java.sql. ...

  3. 连接mysql数据库的三个接口_数据库的三种接口

    数据库(Database)是按照数据结构来组织.存储和管理数据的仓库,它产生于距今六十多年前,随着信息技术和市场的发展,特别是二十世纪九十年代以后,数据管理不再仅仅是存储和管理数据,而转变成用户所需要 ...

  4. jsp mysql oracle_Jsp 连接 mySQL、Oracle 数据库备忘

    Jsp 连接 mySQL.Oracle 数据库备忘 2009-12-15 16:47 Jsp 环境目前最流行的是 Tomcat5.0.Tomcat5.0 自己包含一个 Web 服务器,如果是测试,就没 ...

  5. 如何在VS2010中连接MySQL和Access数据库

    1 基本介绍 本文采用ADO来进行数据库的连接,ADO(ActiveX Data Objects)是ActiveX数据对象的简称,是一个访问数据库中数据的编程接口.利用ADO技术实现数据库操作主要分为 ...

  6. Node.js 连接 MySQL 并进行数据库操作 –node.js 开发指南

    Node.js是一套用来编写高性能网络服务器的JavaScript工具包 通常在NodeJS开发中我们经常涉及到操作数据库,尤其是 MySQL ,作为应用最为广泛的开源数据库则成为我们的首选,本篇就来 ...

  7. 数据库工具连接Mysql报Password authentication failed错误

    最近项目需要用mysql数据库,同事把一个新安装的数据交给我使用,没想到一步一个坑,在此记录一下遇到的这个问题. 问题描述 使用navicat数据库工具连接mysql时,弹出了"Passwo ...

  8. Python连接MySQL、PostgreSQL数据库(简单便捷)

    一.安装库 Python连接MySQL.PostgreSQL数据库需要导入相关的模块,分别是"pymysql"和"psycopg2"模块,我们可以在Pychar ...

  9. linux如何mysql实现导出数据库,Linux下MySQL导入导出数据库

    linux下 一.导出数据库用mysqldump命令(注意mysql的安装路径,即此命令的路径): 1.导出数据和表结构: mysqldump -u用户名 -p密码 数据库名 > 数据库名.sq ...

最新文章

  1. 64位环境编译DiskSim 4.0
  2. ThinkPHP中的视图二
  3. c语言 交互式电子白板案例,交互式电子白板教学案例
  4. 计算机四级的英文,计算机四级考试中英文术语对照
  5. Android安全之应用签名验证
  6. ftk学习记(多窗口篇)
  7. 滴滴又出事!33项问题被查,程维再次致歉
  8. SQL*Plus 系统变量之32 - NEWP[AGE]
  9. 用reloadRowsAtIndexPaths刷新单个cell 跳动问题
  10. python贪心算法几个经典例子_贪心算法及示例,Python
  11. 基于FPGA的电子计算器设计(中)
  12. Stack和Queue:后进先出和先进先出和Java 实现后进先出(LIFO)及Stac和Java集合类: Set、List、Map、Queue使用场景梳理 - .Little Hann
  13. 支付宝android 10.0.8,分享10.0.8版支付宝开启和关闭小额免密支付功能方法
  14. 2019辽宁公务员考试行测常识大全:公务员常识40000问(四十八)(2)
  15. 近红外二区量子点CdTe/Zns,CdHgTe,CdTe/CdSe,CdS、CdSe、CdTe,ZnS、ZnSe偶联抗肿瘤药物阿霉素/紫杉醇/顺铂/喜树碱
  16. 未能连接重庆农村商业银行服务器,急重庆农村商业银行usbkey驱动程序安装...
  17. umi+@umijs/plugin-qiankun的应用
  18. 全国计算机等级考试三级网络技术
  19. 分享生活美好,三星Lifestyle系列电视和你一起拉满新年氛围
  20. Leetcode 584 寻找用户推荐人(SQL)

热门文章

  1. 在idea中如何创建jsp文件
  2. php openapi设计,OpenApi开放平台架构实践
  3. pc服务器的虚拟化技术,浅谈基于Vmware的PC服务器虚拟化技术
  4. unity脚步的生命周期
  5. 打印的时候计算机出现蓝屏,在电脑打印时电脑总是会蓝屏或重启怎么处理
  6. 计算机文档DIR什么意思,lost.dir是什么文件夹?Win7 Sd卡U盘里lost.dir是什么意思?...
  7. JDBC 连接 PostgreSQL
  8. Swin-Transformer-Object-Detection环境搭建详细过程
  9. 十六进制转八进制C语言实现
  10. 以工程化路径破题,中国系统推动数据要素化