Skip to content

Commit f08dec6

Browse files
committed
more edits
1 parent 873ce65 commit f08dec6

7 files changed

Lines changed: 130 additions & 124 deletions

‎docs/dea/database-experimentation-assistant-capture-trace.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Query caching in SQL Server might affect evaluation results. We recommend that y
2525

2626
## Create a trace capture
2727

28-
1. In DEA, select the menu icon. In the expanded vertical menu, select **Capture Traces** next to the camera icon.
28+
1. In DEA, select the menu icon in the left menu. In the expanded menu, select **Capture Traces** next to the camera icon.
2929

3030
![Select Capture Traces in the menu](./media/database-experimentation-assistant-capture-trace/dea-capture-trace-capture.png)
3131

@@ -51,7 +51,7 @@ After you enter or select the required information, select **Start** to start ca
5151

5252
Make sure that the values you've selected or entered are correct, and then select **Start**.
5353

54-
When the trace capture is finished running, locate your new trace file in the file location that you specified in **Path to store output trace file**. Select the bell icon at the bottom of the navigation menu to monitor the progress of the capture.
54+
When the trace capture is finished running, locate your new trace file in the file location that you specified in **Path to store output trace file**. Select the bell icon at the bottom of the left menu to monitor the progress of the capture.
5555

5656
![Capture Traces progress](./media/database-experimentation-assistant-capture-trace/dea-capture-trace-progress.png)
5757

‎docs/dea/database-experimentation-assistant-create-report.md‎

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,89 +17,87 @@ manager: craigg
1717

1818
# Create analysis reports in Database Experimentation Assistant
1919

20-
After replaying the source trace on both of your target servers, you can generate an analysis report. Analysis reports help you gain insights about the performance implications of proposed changes.
20+
After you replay the source trace on both of your target servers, you can generate an analysis report in Database Experimentation Assistant (DEA). Analysis reports help you gain insights about the performance implications of proposed changes.
2121

2222
## Create a new analysis report
2323

24-
Open the tool and select the menu icon on the left side of the page. In the expanded vertical menu, select **Analysis Reports** next to the checklist icon.
24+
In DEA, select the menu icon. In the expanded menu, select **Analysis Reports** next to the checklist icon.
2525

2626
![Analysis menu](./media/database-experimentation-assistant-create-report/dea-create-reports-menu.png)
2727

2828
Under **Analysis Reports**, select **New analysis report**.
2929

3030
![New Analysis Report menu](./media/database-experimentation-assistant-create-report/dea-create-reports-new-report.png)
3131

32-
## Enter inputs for creating reports
32+
Enter or select the following information:
3333

34-
Enter the following information before you start the **New analysis report** operation.
34+
- **Report name**: Enter a name for your report. The report name is used both for A and B databases. Example: *A (or B)* + *report name* + *unique identifier*.
35+
- **Server name**: Enter the name of the server computer that you want to include in A, B, and analysis databases.
36+
- **SQL Server instance name**: Enter the name of the SQL Server instance to use for the report.
37+
- **Trace for source server**: Enter the SQL Server (2008 R2) first trace (.trc) file.
38+
- **Trace for target server**: Enter the target SQL Server (2014) first .trc file.
3539

36-
![New Analysis Report Inputs](./media/database-experimentation-assistant-create-report/dea-create-reports-inputs.png)
40+
![New analysis report page](./media/database-experimentation-assistant-create-report/dea-create-reports-inputs.png)
3741

38-
- **Report name**: Provide a friendly or recognizable name that you want to call your report. This name is used for both A and B databases, for example, **A (or B)** + **Report name** + **Unique Identifier**.
39-
- **Server name**: Provide the name of the server that you'd like to include A, B, and Analysis databases.
40-
- **SQL Server instance name**: Provide a SQL Server where you want the report.
41-
- **Trace for source server**: Provide the SQL Server (2008 R2) first trace file (.trc).
42-
- **Trace for target server**: Provide the target SQL Server (2014) first trace file (.trc).
42+
## Generate a report
4343

44-
## Begin generating a report
45-
46-
After you enter the required information, select **Start** to begin creating the report. If the inputs are valid, the analysis report is created. Otherwise the fields that have invalid inputs are highlighted with red. Make sure the values are correct and again select **Start**.
44+
After you enter or select the required information on the **New analysis report** page, select **Start** to start creating the report. If the information you entered is valid, the analysis report is created. Otherwise, the text boxes that have invalid information are highlighted with red. Make sure that you enter the correct values, and then select **Start**.
4745

4846
A new analysis report is generated. The analysis database follows the naming scheme **Analysis** + *user-specified report name* + *unique identifier*.
4947

5048
## Frequently asked questions about analysis reports
5149

5250
### What does my analysis report tell me?
5351

54-
Using statistical tests, DEA analyzes your workload and determines how each query ran from Target 1 to Target 2, with performance details for each query. Learn more about DEA at [Get started](database-experimentation-assistant-get-started.md).
52+
DEA uses statistical tests to analyze your workload and determine how each query ran from Target 1 to Target 2. It provides performance details for each query. Learn more about DEA at [Get started](database-experimentation-assistant-get-started.md).
5553

5654
### Can I create a new analysis report while another report is being generated?
5755

5856
No. Currently, only one report can be generated at a time to prevent conflicts. However, you can run more than one capture and replay at the same time.
5957

6058
### I upgraded DEA to version 2.0. Can I still view and use my old reports?
6159

62-
Yes. To view previously generated reports, you must update the schema of the report. Learn more [here](https://blogs.msdn.microsoft.com/datamigration/2017/03/24/dea-2-0-updating-db-schema-for-analysis-report-in-the-database-experimentation-assistant/).
60+
Yes. To view previously generated reports, you must update the schema of the report. For more information, see [DEA 2.0: Update database schema for analysis report in DEA](https://blogs.msdn.microsoft.com/datamigration/2017/03/24/dea-2-0-updating-db-schema-for-analysis-report-in-the-database-experimentation-assistant/).
6361

64-
### Can I generate an analysis report by using the command line?
62+
### Can I generate an analysis report by using the command prompt?
6563

66-
Yes. You can generate an analysis report on the command line. You can then view it using the UI. For more information, see [Run at command prompt](database-experimentation-assistant-run-command-prompt.md).
64+
Yes. You can generate an analysis report at the command prompt. You can then view the report in the UI. For more information, see [Run at command prompt](database-experimentation-assistant-run-command-prompt.md).
6765

6866
## Troubleshoot analysis reports
6967

7068
### What security permissions do I need to generate and view an analysis report on my server?
7169

72-
The user who is logged in to DEA must have sysadmin rights on the analysis server. If the user is part of a group permission, make sure the group has sysadmin rights.
70+
The user who is logged in to DEA must have sysadmin rights on the analysis server. If the user is part of a group, make sure the group has sysadmin rights.
7371

7472
|Possible errors|Solution|
7573
|---|---|
7674
|Unable to connect to the database. Make sure you have sysadmin rights for analyzing and viewing the reports.|You might not have access or sysadmin rights to the server or database. Confirm your login rights and try again.|
77-
|Unable to generate **Report Name** on the server **Server Name**. For details, check the **Report Name** report.|You might not have sysadmin rights needed to generate a new report. To see detailed errors, select the errored-out report (see #4). You can also check the logs in at %temp%\\DEA.|
78-
|The current user doesn't have the required permissions to run the operation. Make sure you have sysadmin rights for performing trace and analyzing the reports.|You don't have sysadmin rights needed to generate a new report.|
75+
|Unable to generate **Report Name** on the server **Server Name**. For details, check the **Report Name** report.|You might not have the sysadmin rights needed to generate a new report. To see detailed errors, select the errored-out report (see #4). You can also check the logs in %temp%\\DEA.|
76+
|The current user doesn't have the required permissions to run the operation. Make sure you have sysadmin rights for performing trace and analyzing the reports.|You don't have the sysadmin rights needed to generate a new report.|
7977

8078
### I can't connect to the computer running SQL Server
8179

8280
- Confirm that the name of the computer running SQL Server is valid. To confirm, try to connect to the server by using SQL Server Management Studio (SSMS).
8381
- Confirm that your firewall configuration doesn't block connections to the computer running SQL Server.
8482
- Confirm that the user has the required user rights.
8583

86-
You can see more details in the logs at %temp%\\DEA. If the problem persists, contact the product team.
84+
You can see more details in the logs in %temp%\\DEA. If the problem persists, contact the product team.
8785

88-
### I get an error when I generate an analysis report
86+
### I see an error when I generate an analysis report
8987

90-
First-time generation of an analysis report after installation of DEA requires internet access to download packages needed for statistical analysis.
88+
Internet access is required the first time you generate an analysis report after installing DEA. Internet access is required to download packages that are required for statistical analysis.
9189

92-
If an error occurs while the report is created, the progress page shows the specific step at which analysis generation failed. You can see more details in the logs at %temp%\\DEA. Also, verify that you have a valid connection to the server with the required user rights and retry. If the problem persists, contact the product team.
90+
If an error occurs while the report is created, the progress page shows the specific step at which analysis generation failed. You can see more details in the logs in %temp%\\DEA. Verify that you have a valid connection to the server with the required user rights, and then retry. If the problem persists, contact the product team.
9391

9492
|Possible errors|Solution|
9593
|---|---|
96-
|RInterop hit an error on startup. Check RInterop logs and try again.|DEA requires internet access to download dependent R packages. Check RInterop logs at %temp%\\RInterop and DEA logs at %temp%\\DEA. If RInterop was initialized incorrectly or if it initialized without the correct R packages, you might see an exception "Failed to generate new analysis report" after the InitializeRInterop step in the DEA logs.<br><br>The RInterop logs also might show an error similar to "there's no jsonlite package available". If your machine doesn't have internet access, you can manually download the required jsonlite R package:<br><br><li>Go to the %userprofile%\\DEARPackages folder on the machine's file system. This folder consists of the packages used by R for DEA.</li><br><li>If the jsonlite folder is missing in the list of installed packages, you need a machine with internet access to download the release version of jsonlite\_1.4.zip from [https://cran.r-project.org/web/packages/jsonlite/index.html](https://cran.r-project.org/web/packages/jsonlite/index.html).</li><br><li>Copy the .zip file to the machine where you're running DEA. Extract the jsonlite folder and copy it to %userprofile%\\DEARPackages. This step automatically installs the jsonlite package in R. The folder should be named **jsonlite** and the contents should be directly inside the folder, not one level below.</li><br><li>Close the DEA app, reopen, and try analysis again.</li><br>You can also use the RGUI. Go to **packages** > **install from zip**. Go to the package you downloaded earlier and install.<br><br>If RInterop was initialized and set up correctly, you should see **Installing dependent R package jsonlite** in the RInterop logs.|
97-
|Unable to connect to the SQL Server instance, make sure the server name is correct and check for the required access for the user who is logged in.|You might not have access or user rights to the server or the server name might be incorrect.|
98-
|RInterop process timed out. Check DEA and RInterop logs, stop the RInterop process in Task Manager, and then try again.<br><br>or<br><br>RInterop is in faulted state. Stop the RInterop process in Task Manager, and then try again.|Check logs at %temp%\\RInterop to confirm the error. Remove the RInterop process from Task Manager before trying again. Contact the product team if the problem persists.|
94+
|RInterop hit an error on startup. Check RInterop logs and try again.|DEA requires internet access to download dependent R packages. Check RInterop logs in %temp%\\RInterop and DEA logs in %temp%\\DEA. If RInterop was initialized incorrectly or if it initialized without the correct R packages, you might see the exception "Failed to generate new analysis report" after the InitializeRInterop step in the DEA logs.<br><br>The RInterop logs also might show an error similar to "there's no jsonlite package available". If your machine doesn't have internet access, you can manually download the required jsonlite R package:<br><br><li>Go to the %userprofile%\\DEARPackages folder on the machine's file system. This folder consists of the packages used by R for DEA.</li><br><li>If the jsonlite folder is missing in the list of installed packages, you need a machine with internet access to download the release version of jsonlite\_1.4.zip from [https://cran.r-project.org/web/packages/jsonlite/index.html](https://cran.r-project.org/web/packages/jsonlite/index.html).</li><br><li>Copy the .zip file to the machine where you're running DEA. Extract the jsonlite folder and copy it to %userprofile%\\DEARPackages. This step automatically installs the jsonlite package in R. The folder should be named **jsonlite** and the contents should be directly inside the folder, not one level below.</li><br><li>Close the DEA app, reopen, and try analysis again.</li><br>You can also use the RGUI. Go to **packages** > **install from zip**. Go to the package you downloaded earlier and install.<br><br>If RInterop was initialized and set up correctly, you should see "Installing dependent R package jsonlite" in the RInterop logs.|
95+
|Unable to connect to the SQL Server instance, make sure the server name is correct and check for the required access for the user who is logged in.|You might not have access or user rights to the server, or the server name might be incorrect.|
96+
|RInterop process timed out. Check DEA and RInterop logs, stop the RInterop process in Task Manager, and then try again.<br><br>or<br><br>RInterop is in faulted state. Stop the RInterop process in Task Manager, and then try again.|Check logs in %temp%\\RInterop to confirm the error. Remove the RInterop process from Task Manager before you try again. Contact the product team if the problem persists.|
9997

10098
### The report is generated, but data appears to be missing
10199

102-
Check the database on the analysis computer running SQL Server to confirm that data exists. Check that the analysis database exists and check its tables. For example, check these tables: TblBatchesA, TblBatchesB, and TblSummaryStats.
100+
Check the database on the analysis computer that's running SQL Server to confirm that data exists. Check that the analysis database exists and check its tables. For example, check these tables: TblBatchesA, TblBatchesB, and TblSummaryStats.
103101

104102
If data doesn't exist, the data might not have copied correctly or the database might be corrupt. If only some data is missing, the trace files created in capture or replay might not have captured your workload accurately. If the data is there, check the log files at %temp%\\DEA to see if any errors were logged. Then, try again to generate the analysis report.
105103

@@ -109,6 +107,6 @@ More questions or feedback? Submit feedback through the DEA tool by choosing the
109107

110108
To learn how to view the analysis report, see [View reports](database-experimentation-assistant-view-report.md).
111109

112-
- For a 19-minute introduction to DEA and demonstration, watch the following videoo:
110+
- For a 19-minute introduction to DEA and demonstration, watch the following video:
113111

114112
> [!VIDEO https://channel9.msdn.com/Shows/Data-Exposed/Introducing-the-Database-Experimentation-Assistant/player]

0 commit comments

Comments
 (0)