Skip to content

Commit 8232249

Browse files
committed
Merge branch 'release-sqlseattle' of https://github.com/MicrosoftDocs/sql-docs-pr into release-ignite-synapse-analytics
2 parents 173595f + 1b07fa8 commit 8232249

54 files changed

Lines changed: 1326 additions & 618 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "docs/sql-server/sql-server-ver15-release-notes.md",
5+
"redirect_url": "/sql/sql-server/sql-server-version-15-release-notes.md",
6+
"redirect_document_id": false
7+
},
38
{
49
"source_path": "docs/big-data-cluster/reference-bdc-pool-status.md",
510
"redirect_url": "/sql/big-data-cluster/reference-azdata",

docs/2014/analysis-services/multidimensional-models-olap-logical-cube-objects/dimension-relationships.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,26 @@ manager: craigg
3232
## Reference Dimension Relationships
3333
A reference dimension relationship between a cube dimension and a measure group exists when the key column for the dimension is joined indirectly to the fact table through a key in another dimension table, as shown in the following illustration.
3434

35-
![Logical diagram, referenced dimension relationship](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/as-refdimension1.gif "Logical diagram, referenced dimension relationship")
35+
![Logical diagram, referenced dimension relationship](../../analysis-services/dev-guide/media/as-refdimension1.gif "Logical diagram, referenced dimension relationship")
3636

3737
A reference dimension relationship represents the relationship between dimension tables and a fact table in a snowflake schema design. When dimension tables are connected in a snowflake schema, you can define a single dimension using columns from multiple tables, or you can define separate dimensions based on the separate dimension tables and then define a link between them using the reference dimension relationship setting. The following figure shows one fact table named **InternetSales**, and two dimension tables called **Customer** and **Geography**, in a snowflake schema.
3838

39-
![Logical schema, referenced dimension relationship](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/as-refdim-schema1.gif "Logical schema, referenced dimension relationship")
39+
![Logical schema, referenced dimension relationship](../../analysis-services/dev-guide/media/as-refdim-schema1.gif "Logical schema, referenced dimension relationship")
4040

4141
You can create a dimension with the **Customer** table as the dimension main table and the **Geography** table included as a related table. A regular relationship is then defined between the dimension and the InternetSales measure group.
4242

4343
Alternatively, you can create two dimensions related to the InternetSales measure group: a dimension based on the **Customer** table, and a dimension based on the **Geography** table. You can then relate the Geography dimension to the InternetSales measure group using a reference dimension relationship using the Customer dimension. In this case, when the facts in the InternetSales measure group are dimensioned by the Geography dimension, the facts are dimensioned by customer and by geography. If the cube contained a second measure group named Reseller Sales, you would be unable to dimension the facts in the Reseller Sales measure group by Geography because no relationship would exist between Reseller Sales and Geography.
4444

4545
There is no limit to the number of reference dimensions that can be chained together, as shown in the following illustration.
4646

47-
![Logical diagram, referenced dimension relationship](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/as-refdimension2.gif "Logical diagram, referenced dimension relationship")
47+
![Logical diagram, referenced dimension relationship](../../analysis-services/dev-guide/media/as-refdimension2.gif "Logical diagram, referenced dimension relationship")
4848

4949
For more information about referenced relationships, see [Define a Referenced Relationship and Referenced Relationship Properties](../multidimensional-models/define-a-referenced-relationship-and-referenced-relationship-properties.md).
5050

5151
## Fact Dimension Relationships
5252
Fact dimensions, frequently referred to as degenerate dimensions, are standard dimensions that are constructed from attribute columns in fact tables instead of from attribute columns in dimension tables. Useful dimensional data is sometimes stored in a fact table to reduce duplication. For example, the following diagram displays the **FactResellerSales** fact table, from the [!INCLUDE[ssAWDWsp](../../includes/ssawdwsp-md.md)] sample database.
5353

54-
![Columns in fact table can support dimensions](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/as-factdim.gif "Columns in fact table can support dimensions")
54+
![Columns in fact table can support dimensions](../../analysis-services/dev-guide/media/as-factdim.gif "Columns in fact table can support dimensions")
5555

5656
The table contains attribute information not only for each line of an order issued by a reseller, but about the order itself. The attributes circled in the previous diagram identify the information in the **FactResellerSales** table that could be used as attributes in a dimension. In this case, two additional pieces of information, the carrier tracking number and the purchase order number issued by the reseller, are represented by the CarrierTrackingNumber and CustomerPONumber attribute columns. This information is interesting-for example, users would definitely be interested in seeing aggregated information, such as the total product cost, for all the orders being shipped under a single tracking number. But, without a dimension data for these two attributes cannot be organized or aggregated.
5757

@@ -68,7 +68,7 @@ manager: craigg
6868
## Many to Many Dimension Relationships
6969
In most dimensions, each fact joins to one and only one dimension member, and a single dimension member can be associated with multiple facts. In relational database terminology, this is referred to as a one-to-many relationship. However, it is frequently useful to join a single fact to multiple dimension members. For example, a bank customer might have multiple accounts (checking, saving, credit card, and investment accounts), and an account can also have joint or multiple owners. The Customer dimension constructed from such relationships would then have multiple members that relate to a single account transaction.
7070

71-
![Logical schema/many-to-many dimension relationship](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/as-many-dimension1.gif "Logical schema/many-to-many dimension relationship")
71+
![Logical schema/many-to-many dimension relationship](../../analysis-services/dev-guide/media/as-many-dimension1.gif "Logical schema/many-to-many dimension relationship")
7272

7373
[!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] [!INCLUDE[ssASnoversion](../../includes/ssasnoversion-md.md)] lets you define a many-to-many relationship between a dimension and a fact table.
7474

docs/2014/analysis-services/multidimensional-models/olap-logical/logical-architecture-overview-analysis-services-multidimensional-data.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ manager: craigg
2222
## Basic Architecture
2323
An instance of [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] can contain multiple databases, and a database can have OLAP objects and data mining objects at the same time. Applications connect to a specified instance of [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] and a specified database. A server computer can host multiple instances of [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)]. Instances of [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] are named as "\<ServerName>\\<InstanceName\>". The following illustration shows all mentioned relationships between [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] objects.
2424

25-
![AMO running objects relationships](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/amo-runningobjects.gif "AMO running objects relationships")
25+
![AMO running objects relationships](../../dev-guide/media/amo-runningobjects.gif "AMO running objects relationships")
2626

2727
Basic classes are the minimum set of objects that are required to build a cube. This minimum set of objects is a dimension, a measure group, and a partition. An aggregation is optional.
2828

@@ -55,7 +55,7 @@ manager: craigg
5555
## Example
5656
The Imports cube contains two measures, Packages and Last, and three related dimensions, Route, Source, and Time.
5757

58-
![Cube Example 1](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/cubeintro1.gif "Cube Example 1")
58+
![Cube Example 1](../../dev-guide/media/cubeintro1.gif "Cube Example 1")
5959

6060
The smaller alphanumeric values around the cube are the members of the dimensions. Example members are ground (member of the Route dimension), Africa (member of the Source dimension), and 1st quarter (member of the Time dimension).
6161

@@ -68,7 +68,7 @@ manager: craigg
6868
### Aggregates
6969
Business users of a cube can determine the value of any measure for each member of every dimension, regardless of the level of the member within the dimension, because [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] aggregates values at upper levels as needed. For example, the measure values in the preceding illustration can be aggregated according to a standard calendar hierarchy by using the Calendar Time hierarchy in the Time dimension as illustrated in the following diagram.
7070

71-
![Diagram of measures organized along time dimension](https://docs.microsoft.com/analysis-services/analysis-services/dev-guide/media/cubeintro2.gif "Diagram of measures organized along time dimension")
71+
![Diagram of measures organized along time dimension](../../dev-guide/media/cubeintro2.gif "Diagram of measures organized along time dimension")
7272

7373
In addition to aggregating measures by using a single dimension, you can aggregate measures by using combinations of members from different dimensions. This allows business users to evaluate measures in multiple dimensions simultaneously. For example, if a business user wants to analyze quarterly imports that arrived by air from the Eastern Hemisphere and Western Hemisphere, the business user can issue a query on the cube to retrieve the following dataset.
7474

docs/2014/analysis-services/power-pivot-sharepoint/configure-power-pivot-health-rules.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ manager: craigg
2424

2525
**Note:** Health rule settings are configured separately for the SQL Server Analysis Services instance and the PowerPivot service application. Use the instructions in this topic to configure health rules for each service. For a SharePoint 2013 deployment, [!INCLUDE[ssGeminiShort](../../includes/ssgeminishort-md.md)] only uses the service application. Therefore [!INCLUDE[ssGeminiShort](../../includes/ssgeminishort-md.md)] installs different sets of health rules for different versions of SharePoint. See the "version" column in the topic [Health Rules Reference &#40;PowerPivot for SharePoint&#41;](health-rules-reference-power-pivot-for-sharepoint.md), or you can run the following Windows PowerShell command to see the installed rules.
2626

27-
```
28-
Get-SPHealthAnalysisRule | select name, enabled, summary | where {$_.summary -like "*power*"} | format-table -property * -autosize | out-default
27+
```powershell
28+
Get-SPHealthAnalysisRule | Select name, enabled, summary | Where {$_.summary -like "*power*"} | Format-Table -Property * -AutoSize | Out-Default
2929
```
3030

3131
**In this topic:**
@@ -124,5 +124,3 @@ Get-SPHealthAnalysisRule | select name, enabled, summary | where {$_.summary -li
124124
## See Also
125125
[Configure Disk Space Usage &#40;PowerPivot for SharePoint&#41;](configure-disk-space-usage-power-pivot-for-sharepoint.md)
126126
[PowerPivot Management Dashboard and Usage Data](power-pivot-management-dashboard-and-usage-data.md)
127-
128-

docs/2014/database-engine/availability-groups/windows/configure-flexible-automatic-failover-policy.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ manager: craigg
5555

5656
For example, the following [!INCLUDE[tsql](../../../includes/tsql-md.md)] statement changes the failure-condition level of an existing availability group, `AG1`, to level one:
5757

58-
```
59-
58+
```sql
6059
ALTER AVAILABILITY GROUP AG1 SET (FAILURE_CONDITION_LEVEL = 1);
6160
```
6261

@@ -76,13 +75,13 @@ manager: craigg
7675

7776
For example, the following [!INCLUDE[tsql](../../../includes/tsql-md.md)] statement changes the health-check timeout threshold of an existing availability group, `AG1`, to 60,000 milliseconds (one minute).
7877

79-
```
80-
78+
```sql
8179
ALTER AVAILABILITY GROUP AG1 SET (HEALTH_CHECK_TIMEOUT = 60000);
8280
```
8381

8482
## <a name="PowerShellProcedure"></a> Using PowerShell
85-
**To configure the flexible failover policy**
83+
84+
### To configure the flexible failover policy**
8685

8786
1. Set default (`cd`) to the server instance that hosts the primary replica.
8887

@@ -102,20 +101,20 @@ manager: craigg
102101

103102
For example, the following command changes the failure-condition level of an existing availability group, `AG1`, to level one.
104103

105-
```
106-
Set-SqlAvailabilityGroup `
107-
-Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg `
108-
-FailureConditionLevel OnServerDown
104+
```powershell
105+
Set-SqlAvailabilityGroup `
106+
-Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg `
107+
-FailureConditionLevel OnServerDown
109108
```
110109

111110
- To set the health check timeout threshold, use the `HealthCheckTimeout`*n* parameter, where, *n* is an integer from 15000 milliseconds (15 seconds) to 4294967295 milliseconds. The default value is 30000 milliseconds (30 seconds).
112111

113112
For example, the following command changes the health-check timeout threshold of an existing availability group, `AG1`, to 120,000 milliseconds (two minutes).
114113

115-
```
116-
Set-SqlAvailabilityGroup `
117-
-Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAG `
118-
-HealthCheckTimeout 120000
114+
```powershell
115+
Set-SqlAvailabilityGroup `
116+
-Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAG `
117+
-HealthCheckTimeout 120000
119118
```
120119

121120
> [!NOTE]
@@ -134,5 +133,3 @@ manager: craigg
134133
[Windows Server Failover Clustering &#40;WSFC&#41; with SQL Server](../../../sql-server/failover-clusters/windows/windows-server-failover-clustering-wsfc-with-sql-server.md)
135134
[Failover Policy for Failover Cluster Instances](../../../sql-server/failover-clusters/windows/failover-policy-for-failover-cluster-instances.md)
136135
[sp_server_diagnostics &#40;Transact-SQL&#41;](/sql/relational-databases/system-stored-procedures/sp-server-diagnostics-transact-sql)
137-
138-

docs/2014/database-engine/availability-groups/windows/configure-read-only-access-on-an-availability-replica-sql-server.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ manager: craigg
113113
### <a name="TsqlExample"></a> Example (Transact-SQL)
114114
The following example adds a secondary replica to an availability group named *AG2*. A stand-alone server instance, *COMPUTER03\HADR_INSTANCE*, is specified to host the new availability replica. This replica configured to allow only read-write connections for the primary role and to allow only read-intent connections for secondary role.
115115

116-
```
116+
```sql
117117
ALTER AVAILABILITY GROUP AG2
118118
ADD REPLICA ON
119119
'COMPUTER03\HADR_INSTANCE' WITH
@@ -127,10 +127,11 @@ GO
127127

128128

129129
## <a name="PowerShellProcedure"></a> Using PowerShell
130-
**To configure access on an availability replica**
130+
131+
### To configure access on an availability replica
131132

132133
> [!NOTE]
133-
> For a code example, see [Example (PowerShell)](#PSExample), later in this section.
134+
> For a code example, see the PowerShell examples later in this section.
134135
135136
1. Change directory (`cd`) to the server instance that hosts the primary replica.
136137

@@ -158,24 +159,20 @@ GO
158159
> [!NOTE]
159160
> To view the syntax of a cmdlet, use the `Get-Help` cmdlet in the [!INCLUDE[ssCurrent](../../../includes/sscurrent-md.md)] PowerShell environment. For more information, see [Get Help SQL Server PowerShell](../../../powershell/sql-server-powershell.md).
160161
161-
**To set up and use the SQL Server PowerShell provider**
162-
163-
- [SQL Server PowerShell Provider](../../../powershell/sql-server-powershell-provider.md)
162+
To set up and use the SQL Server PowerShell provider, see [SQL Server PowerShell Provider](../../../powershell/sql-server-powershell-provider.md).
164163

165-
### <a name="PSExample"></a> Example (PowerShell)
166-
The following example, sets the both the `ConnectionModeInSecondaryRole` and `ConnectionModeInPrimaryRole` parameters to `AllowAllConnections`.
164+
The following example, sets the both the `ConnectionModeInSecondaryRole` and `ConnectionModeInPrimaryRole` parameters to `AllowAllConnections`.
167165

168-
```
166+
```powershell
169167
Set-Location SQLSERVER:\SQL\PrimaryServer\default\AvailabilityGroups\MyAg
170168
$primaryReplica = Get-Item "AvailabilityReplicas\PrimaryServer"
171-
Set-SqlAvailabilityReplica -ConnectionModeInSecondaryRole "AllowAllConnections" `
172-
-InputObject $primaryReplica
173-
Set-SqlAvailabilityReplica -ConnectionModeInPrimaryRole "AllowAllConnections" `
174-
-InputObject $primaryReplica
175-
169+
170+
Set-SqlAvailabilityReplica -ConnectionModeInSecondaryRole "AllowAllConnections" `
171+
-InputObject $primaryReplica
172+
Set-SqlAvailabilityReplica -ConnectionModeInPrimaryRole "AllowAllConnections" `
173+
-InputObject $primaryReplica
176174
```
177-
178-
175+
179176
## <a name="FollowUp"></a> Follow Up: After Configuring Read-Only Access for an Availability Replica
180177
**Read-only access to a readable secondary replica**
181178

@@ -233,5 +230,3 @@ DATABASEPROPERTYEX([db name],'Updatability') = N'READ_ONLY'
233230
[Overview of AlwaysOn Availability Groups &#40;SQL Server&#41;](overview-of-always-on-availability-groups-sql-server.md)
234231
[Active Secondaries: Readable Secondary Replicas &#40;AlwaysOn Availability Groups&#41;](active-secondaries-readable-secondary-replicas-always-on-availability-groups.md)
235232
[About Client Connection Access to Availability Replicas &#40;SQL Server&#41;](about-client-connection-access-to-availability-replicas-sql-server.md)
236-
237-

0 commit comments

Comments
 (0)