Hi,
I have a custom FetchXml-Query with link-entities which seems to be much slower than all other queries.
I want to add some indices to my CRM Online system by adding the fields of required searchfields and link-entities in view definitions.
Now I'm wondering if there any differences regarding how indices will be created between adding the EntityReference field or choose the related entity and then add the Name field. Any hint about right behaviour?
E.g.
- Entity A with Field1, Field2, FieldRef to B
- Entity B with Name
View:
- Entity A with Field1, FieldRef
OR
- Entity A with Field1, FieldRef.Name
Thanks!
*This post is locked for comments
Hi,
I am not sure what are those 5 indexes exactly, but it should be find columns, not view columns(since you can only perform a search on those columns which are added to the "find columns")
Thanks for pointing out and providing the TechNet-link.
The following sentence states that columns are used to build index, but not in Detail if this applies to 'find columns' or 'view columns'
"At least five new indexes are created whenever you create a new entity or reference a new column in a quick find"
Do you have some experiences/ advice here?
Hi,
I believe the indexes are created when you reference a column in the quick find, not when you add it to any other view (so, to answer your question.. it probably wouldn't matter)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156