Skip to content

Commit 3b61de0

Browse files
authored
Merge pull request #92256 from XiaoyuMSFT/fixarticles
Fixarticles
2 parents 353e968 + efdda9a commit 3b61de0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

articles/sql-data-warehouse/performance-tuning-ordered-cci.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,16 @@ Here is an example of an ordered CCI table distribution that has zero segment ov
114114
## Create ordered CCI on large tables
115115
Creating an ordered CCI is an offline operation. For tables with no partitions, the data won't be accessible to users until the ordered CCI creation process completes. For partitioned tables,since the engine creates the ordered CCI partition by partition, users can still access the data in partitions where ordered CCI creation isn't in process. You can use this option to minimize the downtime during ordered CCI creation on large tables:
116116

117-
1. Create partitions on the target large table (called Table A).
118-
2. Create an empty ordered CCI table (called Table B) with the same table and partition schema as Table A.
117+
1. Create partitions on the target large table (called Table_A).
118+
2. Create an empty ordered CCI table (called Table_B) with the same table and partition schema as Table A.
119119
3. Switch one partition from Table A to Table B.
120-
4. Run ALTER INDEX <Ordered_CCI_Index> REBUILD PARTITION = <Partition_ID> on Table B to rebuild the switched-in partition.
121-
5. Repeat step 3 and 4 for each partition in Table A.
122-
6. Once all partitions are switched from Table A to Table B and have been rebuilt, drop Table A, and rename Table B to Table A.
120+
4. Run ALTER INDEX <Ordered_CCI_Index> ON <Table_B> REBUILD PARTITION = <Partition_ID> on Table B to rebuild the switched-in partition.
121+
5. Repeat step 3 and 4 for each partition in Table_A.
122+
6. Once all partitions are switched from Table_A to Table_B and have been rebuilt, drop Table_A, and rename Table_B to Table_A.
123+
124+
>[!NOTE]
125+
>During the preview of ordered clustered columnstore index (CCI) in Azure SQL Data Warehouse, duplicate data may be generated if the ordered CCI is created or rebuilt via CREATE CLUSTERED COLUMNSTORE INDEX on a partitioned table. There is no data loss involved. A fix to this issue will be available soon. For a workaround, users can create ordered CCI on a partitioned table using CTAS command
126+
123127

124128
## Examples
125129

articles/sql-data-warehouse/performance-tuning-result-set-caching.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ When result set caching is enabled, Azure SQL Data Warehouse automatically cache
2929
Once result set caching is turned ON for a database, results are cached for all queries until the cache is full, except for these queries:
3030
- Queries using non-deterministic functions such as DateTime.Now()
3131
- Queries using user defined functions
32+
- Queries using tables with row level security or column level security enabled
3233
- Queries returning data with row size larger than 64KB
3334

3435
Queries with large result sets (for example, > 1 million rows) may experience slower performance during the first run when the result cache is being created.
3536

36-
Row level security is not supported by result set caching.
37-
3837
## When cached results are used
3938

4039
Cached result set is reused for a query if all of the following requirements are all met:

0 commit comments

Comments
 (0)