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
Copy file name to clipboardExpand all lines: docs/2014/analysis-services/multidimensional-models-olap-logical-cube-objects/dimension-relationships.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,26 +32,26 @@ manager: craigg
32
32
## Reference Dimension Relationships
33
33
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.
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.
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.
42
42
43
43
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.
44
44
45
45
There is no limit to the number of reference dimensions that can be chained together, as shown in the following illustration.
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).
50
50
51
51
## Fact Dimension Relationships
52
52
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.
53
53
54
-

54
+

55
55
56
56
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.
57
57
@@ -68,7 +68,7 @@ manager: craigg
68
68
## Many to Many Dimension Relationships
69
69
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.
[!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.
Copy file name to clipboardExpand all lines: docs/2014/analysis-services/multidimensional-models/olap-logical/logical-architecture-overview-analysis-services-multidimensional-data.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ manager: craigg
22
22
## Basic Architecture
23
23
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.
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.
28
28
@@ -55,7 +55,7 @@ manager: craigg
55
55
## Example
56
56
The Imports cube contains two measures, Packages and Last, and three related dimensions, Route, Source, and Time.
57
57
58
-

58
+

59
59
60
60
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).
61
61
@@ -68,7 +68,7 @@ manager: craigg
68
68
### Aggregates
69
69
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.
70
70
71
-

71
+

72
72
73
73
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.
Copy file name to clipboardExpand all lines: docs/2014/analysis-services/power-pivot-sharepoint/configure-power-pivot-health-rules.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,8 @@ manager: craigg
24
24
25
25
**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 (PowerPivot for SharePoint)](health-rules-reference-power-pivot-for-sharepoint.md), or you can run the following Windows PowerShell command to see the installed rules.
Copy file name to clipboardExpand all lines: docs/2014/database-engine/availability-groups/windows/configure-flexible-automatic-failover-policy.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,8 +55,7 @@ manager: craigg
55
55
56
56
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:
57
57
58
-
```
59
-
58
+
```sql
60
59
ALTER AVAILABILITY GROUP AG1 SET (FAILURE_CONDITION_LEVEL =1);
61
60
```
62
61
@@ -76,13 +75,13 @@ manager: craigg
76
75
77
76
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).
78
77
79
-
```
80
-
78
+
```sql
81
79
ALTER AVAILABILITY GROUP AG1 SET (HEALTH_CHECK_TIMEOUT = 60000);
82
80
```
83
81
84
82
## <a name="PowerShellProcedure"></a> Using PowerShell
85
-
**To configure the flexible failover policy**
83
+
84
+
### To configure the flexible failover policy**
86
85
87
86
1. Set default (`cd`) to the server instance that hosts the primary replica.
88
87
@@ -102,20 +101,20 @@ manager: craigg
102
101
103
102
For example, the following command changes the failure-condition level of an existing availability group, `AG1`, to level one.
- To set the health check timeout threshold, use the `HealthCheckTimeout`*n* parameter, where, *n* is an integerfrom15000 milliseconds (15 seconds) to 4294967295 milliseconds. The default value is 30000 milliseconds (30 seconds).
112
111
113
112
For example, the following command changes the health-check timeout threshold of an existing availability group, `AG1`, to 120,000 milliseconds (two minutes).
[Windows Server Failover Clustering (WSFC) with SQL Server](../../../sql-server/failover-clusters/windows/windows-server-failover-clustering-wsfc-with-sql-server.md)
135
134
[Failover Policy for Failover Cluster Instances](../../../sql-server/failover-clusters/windows/failover-policy-for-failover-cluster-instances.md)
Copy file name to clipboardExpand all lines: docs/2014/database-engine/availability-groups/windows/configure-read-only-access-on-an-availability-replica-sql-server.md
+13-18Lines changed: 13 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ manager: craigg
113
113
### <aname="TsqlExample"></a> Example (Transact-SQL)
114
114
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.
115
115
116
-
```
116
+
```sql
117
117
ALTER AVAILABILITY GROUP AG2
118
118
ADD REPLICA ON
119
119
'COMPUTER03\HADR_INSTANCE' WITH
@@ -127,10 +127,11 @@ GO
127
127
128
128
129
129
## <aname="PowerShellProcedure"></a> Using PowerShell
130
-
**To configure access on an availability replica**
130
+
131
+
### To configure access on an availability replica
131
132
132
133
> [!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.
134
135
135
136
1. Change directory (`cd`) to the server instance that hosts the primary replica.
136
137
@@ -158,24 +159,20 @@ GO
158
159
> [!NOTE]
159
160
> 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).
160
161
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).
164
163
165
-
### <aname="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`.
0 commit comments