{"title":"Optimizing SQL Server Performance with Business Central","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/optimize-sql-server-performance/","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/administration/optimize-sql-server-performance, 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/administration/optimize-sql-server-performance","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":"Describes how to optimize performance when accessing data from the SQL Server database.","date":"2024-04-16","meta":{"topic":"concept-article"},"outline":[{"level":1,"title":"Optimizing SQL Server Performance with Business Central","slug":"optimizing-sql-server-performance-with-business-central","at":0,"chars":2690},{"level":2,"title":"Database Monitoring and performance tuning with Azure SQL Database","slug":"database-monitoring-and-performance-tuning-with-azure-sql-database","at":1124,"chars":427},{"level":2,"title":"Integrating directly on SQL Server objects","slug":"integrating-directly-on-sql-server-objects","at":1551,"chars":899},{"level":2,"title":"Related information","slug":"related-information","at":2450,"chars":240}],"text":"# Optimizing SQL Server Performance with Business Central\nThe following articles describe how to optimize performance in Dynamics 365 Business Central when accessing data from the SQL Server database.\nSetting SQL Compatibility Level to Optimize Database Performance<optimize-sql-set-compatibility-level>\noptimize-sql-data-access\noptimize-sql-table-keys-and-performance\noptimize-sql-bulk-inserts\noptimize-sql-al-database-methods-and-performance-on-server\noptimize-sql-query-objects-and-performance\nConfiguring Query Hints for Optimizing SQL Server Performance with Business Central<sql-server-query-hints>\nUsing Read Scale-Out for Better Performance<database-read-scale-out-overview>\nTroubleshooting: Analyzing Long Running SQL Queries Involving FlowFields by Disabling SmartSQL<troubleshooting-queries-involving-flowfields-by-disabling-smartsql>\nTroubleshooting: Using Query Store to Monitor Query Performance in Business Central<troubleshoot-query-performance-using-query-store>\nTroubleshooting: Using the Event Log to Monitor Long Running SQL Queries in Business Central<troubleshoot-long-running-queries-using-event-log>\n## Database Monitoring and performance tuning with Azure SQL Database\nAzure SQL Database and Azure SQL Managed Instance provide tools for collecting metrics and diagnostic information to monitor your database and improve its performance. For more information, see\nAzure SQL Database and Azure SQL Managed Instance monitoring and performance tuning<https://learn.microsoft.com/azure/azure-sql/database/monitoring-tuning-index>.\n## Integrating directly on SQL Server objects\n> WARNING\n> During operations such as upgrade and app/extension synchronization, the Business Central Server synchronizes the metadata model defined in AL to physical tables on the SQL Server database.\n> While it's possible to integrate directly with SQL Server objects on the database (bypassing the Business Central Server), it's not recommended or even supported.\n> Altering SQL objects created by the Business Central Server directly on the database can break operations such as upgrade and app/extension synchronization.\n> Adding additional SQL objects such as triggers or stored procedures directly on the database can break operations like upgrade and app/extension synchronization, but will also break system integrations that depend on such additional objects if the table schema created by the Business Central Server synchronization changes.\n## Related information\n../deployment/installation-considerations-for-microsoft-sql-server\nMicrosoft SQL Server documentation<https://learn.microsoft.com/sql/sql-server/>\nSumIndexField Technology \\(SIFT\\)<../developer/devenv-sift-technology>"}