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 6b77537
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/2014/analysis-services/data-mining/cross-validation-analysis-services-data-mining.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ manager: craigg
99
99
100
100
The stored procedures are grouped by mining model type. One set of stored procedures works with clustering models only. The other set of stored procedures works with other mining models.
101
101
102
-
For each type of mining model, clustered or non-clustered, the stored procedures perform cross-validation in two separate phases.
102
+
For each type of mining model, clustered or nonclustered, the stored procedures perform cross-validation in two separate phases.
103
103
104
104
**Partition data and generate metrics for partitions**
Copy file name to clipboardExpand all lines: docs/2014/analysis-services/multidimensional-models/understanding-incremental-generation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ manager: craigg
56
56
Adding a new object, such as a dimension, cube, or attribute.
57
57
The Schema Generation Wizard adds underlying objects to which the new object is mapped.
58
58
59
-
If the Schema Generation Wizard cannot make the required change because of the presence of a user object in the subject area database (because the Database Engine returns an error), the Schema Generation Wizard fails and displays the error returned by the Database Engine. For example, if you create a primary key constraint or a non-clustered index on a table after the wizard generated the table, the Schema Generation Wizard does not drop that table because it did not create the constraint or the index.
59
+
If the Schema Generation Wizard cannot make the required change because of the presence of a user object in the subject area database (because the Database Engine returns an error), the Schema Generation Wizard fails and displays the error returned by the Database Engine. For example, if you create a primary key constraint or a nonclustered index on a table after the wizard generated the table, the Schema Generation Wizard does not drop that table because it did not create the constraint or the index.
60
60
61
61
## Supporting Schema Changes
62
62
When you change the properties of the tables or columns in the subject area database or in the associated data source view, the Schema Generation Wizard treats the changes as described in the following table.
Copy file name to clipboardExpand all lines: docs/2014/analysis-services/multidimensional-models/understanding-the-database-schemas.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ manager: craigg
65
65
Relationships
66
66
The wizard generates one relationship for each regular dimension relationship from the fact table to the dimension table's granularity attribute. If the granularity is based on the key attribute of the dimension table, the relationship is created in the database and in the data source view. If the granularity is based on another attribute, the relationship is created only in the data source view.
67
67
68
-
If you chose to generate indexes in the wizard, a non-clustered index is generated for each of these relationship columns.
68
+
If you chose to generate indexes in the wizard, a nonclustered index is generated for each of these relationship columns.
Copy file name to clipboardExpand all lines: docs/2014/relational-databases/event-classes/progress-report-online-index-operation-event-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ manager: craigg
32
32
|EndTime|`datetime`|Time at which the online index operation completed.|15|Yes|
33
33
|EventClass|`int`|Type of event = 190.|27|No|
34
34
|EventSequence|`int`|Sequence of a given event within the request.|51|No|
35
-
|EventSubClass|`int`|Type of event subclass.<br /><br /> 1=Start<br /><br /> 2=Stage 1 execution begin<br /><br /> 3=Stage 1 execution end<br /><br /> 4=Stage 2 execution begin<br /><br /> 5=Stage 2 execution end<br /><br /> 6=Inserted row count<br /><br /> 7=Done<br /><br /> Stage 1 refers to the base object (clustered index or heap), or if the index operation involves one non-clustered index only. Stage 2 is used when an index build operation involves both the original rebuild plus additional non-clustered indexes. For example, if an object has a clustered index and several non-clustered indexes, 'rebuild all' would rebuild all indexes. The base object (the clustered index) is rebuilt in stage 1, and then all the non-clustered indexes are rebuilt in stage 2.|21|Yes|
35
+
|EventSubClass|`int`|Type of event subclass.<br /><br /> 1=Start<br /><br /> 2=Stage 1 execution begin<br /><br /> 3=Stage 1 execution end<br /><br /> 4=Stage 2 execution begin<br /><br /> 5=Stage 2 execution end<br /><br /> 6=Inserted row count<br /><br /> 7=Done<br /><br /> Stage 1 refers to the base object (clustered index or heap), or if the index operation involves one nonclustered index only. Stage 2 is used when an index build operation involves both the original rebuild plus additional nonclustered indexes. For example, if an object has a clustered index and several nonclustered indexes, 'rebuild all' would rebuild all indexes. The base object (the clustered index) is rebuilt in stage 1, and then all the nonclustered indexes are rebuilt in stage 2.|21|Yes|
36
36
|GroupID|`int`|ID of the workload group where the SQL Trace event fires.|66|Yes|
37
37
|HostName|`nvarchar`|Name of the computer on which the client is running. This data column is populated if the client provides the host name. To determine the host name, use the HOST_NAME function.|8|Yes|
38
38
|IndexID|`int`|ID for the index on the object affected by the event.|24|Yes|
Copy file name to clipboardExpand all lines: docs/2014/relational-databases/in-memory-oltp/a-guide-to-query-processing-for-memory-optimized-tables.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
@@ -71,7 +71,7 @@ Query plan for join of disk-based tables.
71
71
72
72
- The rows from the Customer table are retrieved from the clustered index, which is the primary data structure and has the full table data.
73
73
74
-
- Data from the Order table is retrieved using the non-clustered index on the CustomerID column. This index contains both the CustomerID column, which is used for the join, and the primary key column OrderID, which is returned to the user. Returning additional columns from the Order table would require lookups in the clustered index for the Order table.
74
+
- Data from the Order table is retrieved using the nonclustered index on the CustomerID column. This index contains both the CustomerID column, which is used for the join, and the primary key column OrderID, which is returned to the user. Returning additional columns from the Order table would require lookups in the clustered index for the Order table.
75
75
76
76
- The logical operator `Inner Join` is implemented by the physical operator `Merge Join`. The other physical join types are `Nested Loops` and `Hash Join`. The `Merge Join` operator takes advantage of the fact that both indexes are sorted on the join column CustomerID.
77
77
@@ -108,7 +108,7 @@ SQL Server query processing pipeline.
108
108
109
109
6. Access Methods retrieves the rows from the index and data pages in the buffer pool and loads pages from disk into the buffer pool as needed.
110
110
111
-
For the first example query, the execution engine requests rows in the clustered index on Customer and the non-clustered index on Order from Access Methods. Access Methods traverses the B-tree index structures to retrieve the requested rows. In this case all rows are retrieved as the plan calls for full index scans.
111
+
For the first example query, the execution engine requests rows in the clustered index on Customer and the nonclustered index on Order from Access Methods. Access Methods traverses the B-tree index structures to retrieve the requested rows. In this case all rows are retrieved as the plan calls for full index scans.
112
112
113
113
## Interpreted [!INCLUDE[tsql](../../../includes/tsql-md.md)] Access to Memory-Optimized Tables
114
114
[!INCLUDE[tsql](../../../includes/tsql-md.md)] ad hoc batches and stored procedures are also referred to as interpreted [!INCLUDE[tsql](../../../includes/tsql-md.md)]. Interpreted refers to the fact that the query plan is interpreted by the query execution engine for each operator in the query plan. The execution engine reads the operator and its parameters and performs the operation.
Since we have three hash indexes, the memory needed for the hash indexes is 3 * 64MB = 192MB.
123
123
124
-
**Memory for non-clustered indexes**
124
+
**Memory for nonclustered indexes**
125
125
126
126
Nonclustered indexes are implemented as BTrees with the inner nodes containing the index value and pointers to subsequent nodes. Leaf nodes contain the index value and a pointer to the table row in memory.
127
127
128
-
Unlike hash indexes, non-clustered indexes do not have a fixed bucket size. The index grows and shrinks dynamically with the data.
128
+
Unlike hash indexes, nonclustered indexes do not have a fixed bucket size. The index grows and shrinks dynamically with the data.
129
129
130
-
Memory needed by non-clustered indexes can be computed as follows:
130
+
Memory needed by nonclustered indexes can be computed as follows:
131
131
132
132
-**Memory allocated to non-leaf nodes**
133
133
For a typical configuration, the memory allocated to non-leaf nodes is a small percentage of the overall memory taken by the index. This is so small it can safely be ignored.
134
134
135
135
-**Memory for leaf nodes**
136
-
The leaf nodes have one row for each unique key in the table that points to the data rows with that unique key. If you have multiple rows with the same key (i.e., you have a non-unique non-clustered index), there is only one row in the index leaf node that points to one of the rows with the other rows linked to each other. Thus, the total memory required can be approximated by:
136
+
The leaf nodes have one row for each unique key in the table that points to the data rows with that unique key. If you have multiple rows with the same key (i.e., you have a non-unique nonclustered index), there is only one row in the index leaf node that points to one of the rows with the other rows linked to each other. Thus, the total memory required can be approximated by:
A *nonclustered columnstore index* is a read-only index created on an existing clustered index or heap table. It contains a copy of a subset of columns, up to and including all of the columns in the table.. The table is read-only while it contains a non-clustered columnstore index.
125
+
A *nonclustered columnstore index* is a read-only index created on an existing clustered index or heap table. It contains a copy of a subset of columns, up to and including all of the columns in the table.. The table is read-only while it contains a nonclustered columnstore index.
126
126
127
127
A nonclustered columnstore index provides a way to have a columnstore index for running analysis queries while at the same time performing read-only operations on the original table.
Copy file name to clipboardExpand all lines: docs/2014/relational-databases/indexes/reorganize-and-rebuild-indexes.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,23 +81,23 @@ manager: craigg
81
81
<sup>1</sup> Rebuilding an index can be executed online or offline. Reorganizing an index is always executed online. To achieve availability similar to the reorganize option, you should rebuild indexes online.
82
82
83
83
> [!TIP]
84
-
> These values provide a rough guideline for determining the point at which you should switch between `ALTER INDEX REORGANIZE` and `ALTER INDEX REBUILD`. However, the actual values may vary from case to case. It is important that you experiment to determine the best threshold for your environment. For example, if a given index is used mainly for scan operations, removing fragmentation can improve performance of these operations. The performance benefit is less noticeable for indexes that are used primarily for seek operations. Similarly, removing fragmentation in a heap (a table with no clustered index) is especially useful for non-clustered index scan operations, but has little effect in lookup operations.
84
+
> These values provide a rough guideline for determining the point at which you should switch between `ALTER INDEX REORGANIZE` and `ALTER INDEX REBUILD`. However, the actual values may vary from case to case. It is important that you experiment to determine the best threshold for your environment. For example, if a given index is used mainly for scan operations, removing fragmentation can improve performance of these operations. The performance benefit is less noticeable for indexes that are used primarily for seek operations. Similarly, removing fragmentation in a heap (a table with no clustered index) is especially useful for nonclustered index scan operations, but has little effect in lookup operations.
85
85
86
86
Very low levels of fragmentation (less than 5 percent) should typically not be addressed by either of these commands, because the benefit from removing such a small amount of fragmentation is almost always vastly outweighed by the cost of reorganizing or rebuilding the index.
87
87
88
88
> [!NOTE]
89
89
> Rebuilding or reorganizing small indexes often does not reduce fragmentation. The pages of small indexes are sometimes stored on mixed extents. Mixed extents are shared by up to eight objects, so the fragmentation in a small index might not be reduced after reorganizing or rebuilding it.
90
90
91
91
### Index defragmentation considerations
92
-
Under certain conditions, rebuilding a clustered index will automatically rebuild any non-clustered index that reference the clustering key, if the physical or logical identifiers contained in the non-clustered index records needs to change.
92
+
Under certain conditions, rebuilding a clustered index will automatically rebuild any nonclustered index that reference the clustering key, if the physical or logical identifiers contained in the nonclustered index records needs to change.
93
93
94
-
Scenarios that force all non-clustered indexes to be automatically rebuilt on a table:
94
+
Scenarios that force all nonclustered indexes to be automatically rebuilt on a table:
95
95
96
96
- Creating a clustered index on a table
97
97
- Removing a clustered index, causing the table to be stored as a heap
98
98
- Changing the clustering key to include or exclude columns
99
99
100
-
Scenarios that do not require all non-clustered indexes to be automatically rebuilt on a table:
100
+
Scenarios that do not require all nonclustered indexes to be automatically rebuilt on a table:
Copy file name to clipboardExpand all lines: docs/2014/relational-databases/performance/view-and-work-with-the-output-from-the-database-engine-tuning-advisor.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,7 +276,7 @@ manager: craigg
276
276
The index or view affected by the recommendation. The icon in this column reflects the recommendation to drop or add the **Target of Recommendation**.
277
277
278
278
**Details**
279
-
A description of the **Target of Recommendation**. Possible values include clustered, indexed view, or blank indicating a non-clustered index. Also indicates whether the index is unique.
279
+
A description of the **Target of Recommendation**. Possible values include clustered, indexed view, or blank indicating a nonclustered index. Also indicates whether the index is unique.
280
280
281
281
**Partition Scheme**
282
282
The partition scheme is provided in this column if partitioning is recommended.
0 commit comments