SIFT and Performance
This topic looks at the factors you must take into consideration when you deal with SIFT and performance.
Performance Factors to Consider
The factors that you must take into consideration when you deal with any performance problems that arise include:
Designing your SIFT indexes optimally.
Supporting too many SIFT indexes will affect performance.
Having unnecessary date fields in the SIFT indexes of the base table will affect performance because they create three times as many entries as an ordinary field.
Supporting too many fields in the SIFT indexes will also affect performance.
The fields in the SIFT index that are used most regularly in queries must be positioned to the left in the SIFT index. Usually, the field that contains the greatest number of unique values must be placed on the left, with the field that contains the second greatest number of unique values on the right and so on. Integer fields generally contain the greatest number of unique values and Option fields contain a relatively small number of values.
Consider the costs and the benefits of maintaining SIFT indexes.
Cost | Benefit |
---|---|
Updates to the SIFT indexes | Fast calculation of sums |
Potential locking conflicts |
You can prevent the SIFT indexes from being updated by setting the MaintainSIFTIndex Property of the index in the base table to False. This means that you no longer benefit from SIFT's ability to calculate sums quickly. However, the SIFT functionality is still available. If the base table does not grow or only grows slowly, there is no need to set the MaintainSIFTIndex Property to True for any indexes that contain SumIndexFields. If the base table does grow, you should set the MaintainSIFTIndex Property to True for any indexes that contain SumIndexFields.
In Business Central , changes have been made to improve performance when accessing the database. One of these changes is that Business Central automatically maintains a count for all SIFT indexes. For more information about how this affects the Count and Average methods on FlowFields, see CalcFields Method. For more information about other data access changes, see Data Access.
Important
It is important that you remember to perform tests every time you make any changes to the SIFT structures. You must ensure that the changes that you have made do not cause problems in any other areas of the application. You must also ensure that your changes do not have a negative effect on performance.
See Also
SumIndexField Technology (SIFT)
SIFT and SQL Server
SIFT Tuning and Tracing
Migrating from SIFT to NCCI
FlowFields
Atsiliepimai
https://aka.ms/ContentUserFeedback.
Jau greitai: 2024 m. palaipsniui atsisakysime „GitHub“ problemų, kaip turiniui taikomo atsiliepimų mechanizmo, ir pakeisime jį nauja atsiliepimų sistema. Daugiau informacijos žr.Pateikti ir peržiūrėti atsiliepimą, skirtą