{"title":"MaintainSiftIndex Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-maintainsiftindex-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-maintainsiftindex-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-maintainsiftindex-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets the value to determine whether SIFT structures (indexed views) should be created in SQL Server to support the corresponding SumIndexFields part of the Dynamics 365 Business Central key.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":251,"chars":25},{"level":2,"title":"Property Value","slug":"property-value","at":276,"chars":123},{"level":2,"title":"Syntax","slug":"syntax","at":399,"chars":180},{"level":2,"title":"Remarks","slug":"remarks","at":579,"chars":653},{"level":2,"title":"Related information","slug":"related-information","at":1232,"chars":71}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets the value to determine whether SIFT structures (indexed views) should be created in SQL Server to support the corresponding SumIndexFields part of the Dynamics 365 Business Central key.\n## Applies to\n Table key\n## Property Value\nTrue to create the SIFT structures (indexed views) in SQL Server; otherwise, false. The default is true.\n## Syntax\n```al\nkey(<key name>;<comma-separated list of lookup fields>) {\n    MaintainSiftIndex=[true|false];\n    SumIndexFields=<comma-separated list of aggregation fields>\n}\n```\n## Remarks\nSumIndexFields are created in Dynamics 365 Business Central to support FlowField calculations and other fast summing operations. SQL Server can sum numeric data by scanning the table. If the SIFT structures exist for the SumIndexFields, summing the fields is faster, especially for large sets of records, but modifications to the table are slower because the SIFT structures must also be maintained.\nIn situations where SumIndexFields must be created on a key to enable FlowField calculations, but the calculations are performed infrequently or on small sets of data, you can disable this property to prevent slow modifications to the table.\n## Related information\ndevenv-sumindexfields-property\ndevenv-properties"}