Skip to content

Commit 5942b90

Browse files
authored
Merge pull request #3571 from MicrosoftDocs/edit_2041551
edit for task 2041551
2 parents 8517469 + 48b41a5 commit 5942b90

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

powerapps-docs/developer/common-data-service/fetchxml-performance.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,42 @@ search.app:
1919

2020
[!INCLUDE[cc-data-platform-banner](../../includes/cc-data-platform-banner.md)]
2121

22-
An option available in FetchXML requests called *LateMaterialize* allows you to break up such
23-
requests into smaller more usable segments which can improve the performance of long running FetchXML requests.
22+
You can use the `LateMaterialize` option in FetchXML requests to break up such
23+
requests into smaller, more usable segments, which can improve the performance of long-running FetchXML requests.
2424

2525
> [!NOTE]
2626
> Performance improvements depend on the data distribution for each
27-
> participating entity and linked entity. Late materialization may not always
28-
> provide a performance benefit. It is best used if you are experiencing
27+
> participating entity and linked entity. Late materialization might not always
28+
> provide a performance benefit. It's best used if you're experiencing
2929
> performance issues with your existing fetch request.
3030
3131
Executing a traditional fetch for a given number of the top entity records will pull all
32-
the columns in the select list that meet the filter criteria. Lets say you are
33-
pulling the top 500 records on an entity that has 100 columns and 100K rows
34-
that meet the filter criteria, this request can cause issues in two ways:
32+
the columns in the select list that meet the filter criteria. Let's say you're
33+
pulling the top 500 records on an entity that has 100 columns and 100,000 rows
34+
that meet the filter criteria. This request can cause issues in two ways:
3535

36-
- The 99.5K rows will pull all columns, even though you only need to populate
36+
- The 99,500 rows will pull all columns, even though you only need to populate
3737
the select list for 500 rows when returning to the client.
3838

39-
- Query Optimizer can generate an arbitrary order when retrieving the child
40-
columns, resulting in an undesired data order.
39+
- The query optimizer can generate an arbitrary order when retrieving the child
40+
columns, resulting in a data order you don't want.
4141

42-
Using `LateMaterialize` allows you to create a fetch that will:
42+
When you use `LateMaterialize`, you create a fetch that will:
4343

4444
- First pull only the primary ID of the top number of records specified.
4545

4646
- Select only the columns of data needed based on the primary IDs that were
47-
retrieved. For example, where only 5 columns are needed for display in the form.
47+
retrieved—for example, where only five columns are needed for display in the form.
4848

4949
By pulling only the needed data after the primary IDs are collected, the
50-
retrieval is much faster as data that is not needed for the current operation is
50+
retrieval is much faster because data that's not needed for the current operation is
5151
excluded.
5252

5353
This is most beneficial when:
5454

55-
- The entity you are querying has one or more links to other entities for column data.
55+
- The entity you're querying has one or more links to other entities for column data.
5656

57-
- There are many columns in the entity.
57+
- The entity contains many columns.
5858

5959
- The entity contains logical attributes.
6060

@@ -114,6 +114,6 @@ This is most beneficial when:
114114
</fetch>
115115
```
116116

117-
### See Also
117+
### See also
118118

119119
[Use FetchXML to construct a query](use-fetchxml-construct-query.md)

0 commit comments

Comments
 (0)