You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f08dec6
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/dea/database-experimentation-assistant-capture-trace.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Query caching in SQL Server might affect evaluation results. We recommend that y
25
25
26
26
## Create a trace capture
27
27
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.
29
29
30
30

31
31
@@ -51,7 +51,7 @@ After you enter or select the required information, select **Start** to start ca
51
51
52
52
Make sure that the values you've selected or entered are correct, and then select **Start**.
53
53
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.
Copy file name to clipboardExpand all lines: docs/dea/database-experimentation-assistant-create-report.md
+27-29Lines changed: 27 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,89 +17,87 @@ manager: craigg
17
17
18
18
# Create analysis reports in Database Experimentation Assistant
19
19
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.
21
21
22
22
## Create a new analysis report
23
23
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.
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.
-**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
43
43
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**.
47
45
48
46
A new analysis report is generated. The analysis database follows the naming scheme **Analysis** + *user-specified report name* + *unique identifier*.
49
47
50
48
## Frequently asked questions about analysis reports
51
49
52
50
### What does my analysis report tell me?
53
51
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).
55
53
56
54
### Can I create a new analysis report while another report is being generated?
57
55
58
56
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.
59
57
60
58
### I upgraded DEA to version 2.0. Can I still view and use my old reports?
61
59
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/).
63
61
64
-
### Can I generate an analysis report by using the command line?
62
+
### Can I generate an analysis report by using the command prompt?
65
63
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).
67
65
68
66
## Troubleshoot analysis reports
69
67
70
68
### What security permissions do I need to generate and view an analysis report on my server?
71
69
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.
73
71
74
72
|Possible errors|Solution|
75
73
|---|---|
76
74
|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.|
79
77
80
78
### I can't connect to the computer running SQL Server
81
79
82
80
- 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).
83
81
- Confirm that your firewall configuration doesn't block connections to the computer running SQL Server.
84
82
- Confirm that the user has the required user rights.
85
83
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.
87
85
88
-
### I get an error when I generate an analysis report
86
+
### I see an error when I generate an analysis report
89
87
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.
91
89
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.
93
91
94
92
|Possible errors|Solution|
95
93
|---|---|
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.|
99
97
100
98
### The report is generated, but data appears to be missing
101
99
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.
103
101
104
102
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.
105
103
@@ -109,6 +107,6 @@ More questions or feedback? Submit feedback through the DEA tool by choosing the
109
107
110
108
To learn how to view the analysis report, see [View reports](database-experimentation-assistant-view-report.md).
111
109
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:
0 commit comments