Skip to content

Commit c1a8235

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/sql-docs-pr into hubsql
2 parents 6178d9c + 9e9feff commit c1a8235

4 files changed

Lines changed: 62 additions & 43 deletions

File tree

docs/dea/database-experimentation-assistant-overview.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Overview of the Database Experimentation Assistant
33
description: Overview of Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 11/05/2019
5+
ms.date: 11/16/2019
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
@@ -49,53 +49,59 @@ Following are some prerequisites for running DEA:
4949

5050
In the prerequisite environment architecture, we recommend that you install DEA *on the same machine as the Distributed Replay controller*. This practice avoids cross-machine calls and simplifies configuration.
5151

52-
### Required configuration for workload comparison by using DEA
52+
### Required configuration for workload comparison using DEA
5353

5454
DEA connects to database servers by using Windows authentication. Be sure that a user running DEA can connect to database servers (source, target, and analysis) by using Windows authentication.
5555

56-
**Capture configuration requirements**:
56+
**Capture configuration requirements**
57+
58+
Capturing a trace requires that the:
5759

5860
- User running DEA can connect to the source database server by using Windows authentication.
5961
- User running DEA has sysadmin rights on the source database server.
6062
- Service account running the source database server has write access to the trace folder path.
6163

62-
For more information, see the [capture FAQ](database-experimentation-assistant-capture-trace.md#frequently-asked-questions-about-trace-capture)
64+
For more information, see [Frequently asked questions about trace capture](database-experimentation-assistant-capture-trace.md#frequently-asked-questions-about-trace-capture)
65+
66+
**Replay configuration requirements**
6367

64-
**Replay configuration requirements**:
68+
Replaying a trace requires that the:
6569

6670
- User running DEA can connect to the target database server by using Windows authentication.
6771
- User running DEA has sysadmin rights on the target database server.
6872
- Service account running the target database servers has write access to the trace folder path.
6973
- Service account running Distributed Replay clients can connect to the target database server by using Windows authentication.
70-
- DEA communicates with the Distributed Replay controller by using COM interfaces. Make sure that TCP ports are opened for incoming requests on the Distributed Replay controller.
74+
- TCP ports are opened for incoming requests on the Distributed Replay controller. DEA communicates with the Distributed Replay controller by using COM interfaces.
75+
76+
For more information, see [Frequently asked questions about trace replay](database-experimentation-assistant-replay-trace.md#frequently-asked-questions-about-trace-replay)
7177

72-
For more information, see the [replay FAQ](database-experimentation-assistant-replay-trace.md#frequently-asked-questions-about-trace-replay)
78+
**Analysis configuration requirements**
7379

74-
**Analysis configuration requirements**:
80+
Performing the analysis requires that the:
7581

7682
- User running DEA can connect to the analysis database server by using Windows authentication.
7783
- User running DEA has sysadmin rights on the source database server.
7884

79-
For more information, see the [analysis FAQ](database-experimentation-assistant-create-report.md#frequently-asked-questions-about-analysis-reports)
85+
For more information, see [Frequently asked questions about analysis reports](database-experimentation-assistant-create-report.md#frequently-asked-questions-about-analysis-reports)
8086

8187
## Set up telemetry
8288

83-
DEA has an internet-enabled feature that can send telemetry information to Microsoft. Microsoft collects telemetry to enhance the product experience. Telemetry is optional. The information that's collected is also saved on your computer for local audit. You can always see what's collected. All log files from DEA are saved in the %temp%\\DEA folder.
89+
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. All DEA log files are saved in the %temp%\\DEA folder.
8490

85-
You can decide which events are collected. You also decide whether collected events are sent to Microsoft. There are four types of events:
91+
Telemetry data can be collected on four types of events:
8692

8793
- **TraceEvent**: Usage events for the application (for example, "triggered stop capture").
8894
- **Exception**: Exception thrown during application usage.
8995
- **DiagnosticEvent**: An event log to assist with diagnosis when problems occur (*not* sent to Microsoft).
9096
- **FeedbackEvent**: User feedback that's submitted through the application.
9197

92-
These steps show you how to choose which events are collected and whether the events are sent to Microsoft:
98+
Collecting and sending telemetry data is optional. To specify which events are collected and whether collected events are sent to Microsoft, use the following steps:
9399

94-
1. Go to the location where DEA is installed (for example, C:\\Program Files (x86)\\Microsoft Corporation\\Database Experimentation Assistant).
95-
2. Open the two .config files: DEA.exe.config (for the application) and DEACmd.exe.config (for the CLI).
96-
3. To stop collecting a type of event, set the value of *event* (for example, **TraceEvent**) to **false**. To start collecting the event again, set the value to **true**.
97-
4. To stop saving local copies of events, set the value of **TraceLoggerEnabled** to **false**. To start saving local copies again, set the value to **true**.
98-
5. To stop sending events to Microsoft, set the value of **AppInsightsLoggerEnabled** to **false**. To start sending events to Microsoft again, set the value to **true**.
100+
1. Go to the location in which DEA is installed (for example, C:\\Program Files (x86)\\Microsoft Corporation\\Database Experimentation Assistant).
101+
2. Open and modify the two .config files **DEA.exe.config** (for the application) and **DEACmd.exe.config** (for the CLI) as follows:
102+
- To stop collecting a type of event, set the value of *event* (for example, **TraceEvent**) to **false**. To start collecting the event again, set the value to **true**.
103+
- To stop saving local copies of events, set the value of **TraceLoggerEnabled** to **false**. To start saving local copies again, set the value to **true**.
104+
- To stop sending events to Microsoft, set the value of **AppInsightsLoggerEnabled** to **false**. To start sending events to Microsoft again, set the value to **true**.
99105

100106
DEA is governed by the [Microsoft Privacy Statement](https://aka.ms/dea-privacy).
101107

docs/t-sql/functions/serverproperty-transact-sql.md

Lines changed: 30 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,26 @@ ms.author: vanto
2525
monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current"
2626
---
2727
# SERVERPROPERTY (Transact-SQL)
28+
2829
[!INCLUDE[tsql-appliesto-ss2008-all-md](../../includes/tsql-appliesto-ss2008-all-md.md)]
2930

30-
Returns property information about the server instance.
31+
Returns property information about the server instance.
3132

32-
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
33+
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
3334

3435
## Syntax
3536

3637
```
3738
SERVERPROPERTY ( 'propertyname' )
3839
```
39-
40+
41+
> [!IMPORTANT]
42+
> The database engine version numbers for SQL Server and Azure SQL Database are not comparable with each other, and rather are internal build numbers for these separate products. The database engine for Azure SQL Database is based on the same code base as the SQL Server database engine. Most importantly, the database engine in Azure SQL Database always has the newest SQL database engine bits. Version 12 of Azure SQL Database is newer than version 15 of SQL Server.
43+
4044
## Arguments
41-
*propertyname*
42-
Is an expression that contains the property information to be returned for the server. *propertyname* can be one of the following values.
45+
46+
*propertyname*
47+
Is an expression that contains the property information to be returned for the server. *propertyname* can be one of the following values.
4348

4449
|Property|Values returned|
4550
|--------------|---------------------|
@@ -89,34 +94,39 @@ SERVERPROPERTY ( 'propertyname' )
8994
|FilestreamEffectiveLevel|The effective level of FILESTREAM access. This value can be different than the FilestreamConfiguredLevel if the level has changed and either an instance restart or a computer restart is pending. For more information, see [filestream access level](../../database-engine/configure-windows/filestream-access-level-server-configuration-option.md).|
9095

9196
## Return Types
92-
**sql_variant**
97+
98+
**sql_variant**
9399

94100
## Remarks
95101

96-
### ServerName Property
97-
The `ServerName` property of the `SERVERPROPERTY` function and [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) return similar information. The `ServerName` property provides the Windows server and instance name that together make up the unique server instance. [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) provides the currently configured local server name.
102+
### ServerName Property
103+
104+
The `ServerName` property of the `SERVERPROPERTY` function and [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) return similar information. The `ServerName` property provides the Windows server and instance name that together make up the unique server instance. [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) provides the currently configured local server name.
98105

99-
The `ServerName` property and [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) return the same information if the default server name at the time of installation has not been changed. The local server name can be configured by executing the following:
106+
The `ServerName` property and [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) return the same information if the default server name at the time of installation has not been changed. The local server name can be configured by executing the following:
100107

101-
```
108+
```sql
102109
EXEC sp_dropserver 'current_server_name';
103110
GO
104111
EXEC sp_addserver 'new_server_name', 'local';
105112
GO
106113
```
107114

108-
If the local server name has been changed from the default server name at installation time, [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) returns the new name.
115+
If the local server name has been changed from the default server name at installation time, [@@SERVERNAME](../../t-sql/functions/servername-transact-sql.md) returns the new name.
109116

110-
### Version Properties
111-
The `SERVERPROPERTY` function returns individual properties that relate to the version information whereas the [@@VERSION](../../t-sql/functions/version-transact-sql-configuration-functions.md) function combines the output into one string. If your application requires individual property strings, you can use the `SERVERPROPERTY` function to return them instead of parsing the [@@VERSION](../../t-sql/functions/version-transact-sql-configuration-functions.md) results.
117+
### Version Properties
118+
119+
The `SERVERPROPERTY` function returns individual properties that relate to the version information whereas the [@@VERSION](../../t-sql/functions/version-transact-sql-configuration-functions.md) function combines the output into one string. If your application requires individual property strings, you can use the `SERVERPROPERTY` function to return them instead of parsing the [@@VERSION](../../t-sql/functions/version-transact-sql-configuration-functions.md) results.
112120

113121
## Permissions
114-
All users can query the server properties.
122+
123+
All users can query the server properties.
115124

116-
## Examples
117-
The following example uses the `SERVERPROPERTY` function in a `SELECT` statement to return information about the current instance of [!INCLUDE[ssNoVersion_md](../../includes/ssnoversion-md.md)].
125+
## Examples
126+
127+
The following example uses the `SERVERPROPERTY` function in a `SELECT` statement to return information about the current instance of [!INCLUDE[ssNoVersion_md](../../includes/ssnoversion-md.md)].
118128

119-
```
129+
```sql
120130
SELECT
121131
SERVERPROPERTY('MachineName') AS ComputerName,
122132
SERVERPROPERTY('ServerName') AS InstanceName,
@@ -126,7 +136,6 @@ SELECT
126136
GO
127137
```
128138

129-
## See Also
130-
[Editions and Components of SQL Server 2016](../../sql-server/editions-and-components-of-sql-server-2016.md)
131-
132-
139+
## See Also
140+
141+
[Editions and Components of SQL Server 2016](../../sql-server/editions-and-components-of-sql-server-2016.md)

docs/t-sql/statements/alter-database-transact-sql-compatibility-level.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ALTER DATABASE Compatibility Level (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/12/2019"
4+
ms.date: "11/15/2019"
55
ms.prod: sql
66
ms.prod_service: "database-engine, sql-database"
77
ms.reviewer: ""
@@ -29,7 +29,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversio
2929

3030
[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)]
3131

32-
Sets [!INCLUDE[tsql](../../includes/tsql-md.md)] and query processing behaviors to be compatible with the specified version of the [!INCLUDE[ssDEnoversion](../../includes/ssdenoversion-md.md)]. For other ALTER DATABASE options, see [ALTER DATABASE](../../t-sql/statements/alter-database-transact-sql.md).
32+
Sets [!INCLUDE[tsql](../../includes/tsql-md.md)] and query processing behaviors to be compatible with the specified version of the SQL engine. For other ALTER DATABASE options, see [ALTER DATABASE](../../t-sql/statements/alter-database-transact-sql.md).
3333

3434
For more information about the syntax conventions, see [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md).
3535

@@ -42,10 +42,10 @@ SET COMPATIBILITY_LEVEL = { 150 | 140 | 130 | 120 | 110 | 100 | 90 }
4242

4343
## Arguments
4444

45-
*database_name*
45+
*database_name*
4646
Is the name of the database to be modified.
4747

48-
COMPATIBILITY_LEVEL { 150 | 140 | 130 | 120 | 110 | 100 | 90 | 80 }
48+
COMPATIBILITY_LEVEL { 150 | 140 | 130 | 120 | 110 | 100 | 90 | 80 }
4949
Is the version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with which the database is to be made compatible. The following compatibility level values can be configured (not all versions supports all of the above listed compatibility level):
5050

5151
<a name="supported-dbcompats"></a>
@@ -64,7 +64,11 @@ Is the version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with
6464
|[!INCLUDE[ssVersion2005](../../includes/ssversion2005-md.md)]|9|90|90, 80|
6565
|[!INCLUDE[ssVersion2000](../../includes/ssversion2000-md.md)]|8|80|80|
6666

67+
> [!IMPORTANT]
68+
> The database engine version numbers for SQL Server and Azure SQL Database are not comparable with each other, and rather are internal build numbers for these separate products. The database engine for Azure SQL Database is based on the same code base as the SQL Server database engine. Most importantly, the database engine in Azure SQL Database always has the newest SQL database engine bits. Version 12 of Azure SQL Database is newer than version 15 of SQL Server.
69+
6770
## Remarks
71+
6872
For all installations of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], the default compatibility level is associated with the version of the [!INCLUDE[ssDE](../../includes/ssde-md.md)]. New databases are set to this level unless the **model** database has a lower compatibility level. For databases attached or restored from any earlier version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], the database retains its existing compatibility level, if it is at least minimum allowed for that instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. Moving a database with a compatibility level lower than the allowed level by the [!INCLUDE[ssde_md](../../includes/ssde_md.md)], automatically sets the database to the lowest compatibility level allowed. This applies to both system and user databases.
6973

7074
The below behaviors are expected for [!INCLUDE[ssSQL17](../../includes/sssql17-md.md)] when a database is attached or restored, and after an in-place upgrade:

docs/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5821,7 +5821,7 @@
58215821
href: dea/database-experimentation-assistant-replay-trace.md
58225822
- name: Create reports
58235823
href: dea/database-experimentation-assistant-create-report.md
5824-
- name: View reports
5824+
- name: Review reports
58255825
href: dea/database-experimentation-assistant-view-report.md
58265826
- name: Run at command prompt
58275827
href: dea/database-experimentation-assistant-run-command-prompt.md

0 commit comments

Comments
 (0)