topic hubPlatform, DevOps & Performanceofficial - Microsoftunreviewed - model text not yet checked

Performance

Performance best practices for Business Central development: how to troubleshoot a performance problem by measuring and locating bottlenecks, and how AL developers can tune pages, web services, AL code, and data access. It answers questions about diagnostic tools and tuning techniques.

Path: Development > Rules, guidelines, and best practices > Best practices > Performance · tier official · system platform · narrative unreviewed (model text not yet checked)

Overview

This section covers performance work for Business Central in two pages. One is a troubleshooting guide. The other is a tuning guide for AL developers.

“How to work with a performance problem” describes a process of measuring, locating bottlenecks, and eliminating them. It lists the tools to use at each step: the scheduled performance profiler, the in-client Performance Profiler, the AL Profiler, telemetry with Azure Application Insights, and database analysis through Missing Indexes and Wait Statistics.

“Performance Articles for AL Developers” is for building efficient solutions. It covers page and web service design, AL patterns, data access optimization, and testing strategies. Start with the troubleshooting page when you have a slow scenario to diagnose. Use the AL developer page when you design or review code and want to avoid performance problems.

Key points

  • Troubleshooting follows three steps: measure, locate the bottleneck, and eliminate it.
  • Diagnostic tools include the scheduled performance profiler, the in-client Performance Profiler, and the AL Profiler.
  • Telemetry with Azure Application Insights helps find performance problems.
  • Database analysis uses Missing Indexes and Wait Statistics.
  • AL developer guidance covers page background tasks, partial records, and set-based methods.
  • Data access topics include columnstore indexes, SIFT indexes, and Read Scale-Out.
  • The AL developer articles reference 2019 release wave 1, 2021 release wave 2, 2023 release wave 1, and 2023 release wave 2.
  • Guidance also covers efficient page and web service design and testing strategies.

Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 2 Learn pages