web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Bad performance when accessing Customer Functions in MS Dynamics BC (DBC) on premises CH Business Central 18.2 (Plattform 18.0.26213.26464

(0) ShareShare
ReportReport
Posted on by 5

Hi

we have a custom developed solution for hospitals running on premises and since a few weeks face severe performance issues when using pages accessing the customer table in Dyxnamics BC.

Apparently there might be a solution to this when using partial tables which is working on DBC Version 21 upwards. Till we go to thos version there is some development upgrading work needed. so we would need a intermediate soltion which makes this faster.

When we run a trace with SQL Profiler we see that for the same function, in this case accessing customer data with a custom developed page, for some users the underlying sql query takes rougly 50 secons and for the same page with another user the query takes 3 secs. When analyzing the trace we see that the long running query selects all cusomers and the short running query makes a select with select top(50) which is the reason why its fast.

But the problem is that from within the AL code you cannot determine what SQL statement is to be used. This is handled by DBC internally.

So my question is has anyone seen this behaviour that the performance is so different for different  users when using custom developed pages accessing the DBC customer table?

What was yourr workaround or solutrion to that?

Looking forward to your feedback and ideas.

Thanks.

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    Hi

    the quick tip I can give you is to check how many flowfields you have in your customised pages

    sometimes flowfields make the opening of pages very slow, so my advice to you is to limit their use in your customised pages.

    check my answer if it helped you, thanks

    DAniele

  • 846lzsh Profile Picture
    5 on at

    Thanks fro your prompt feedback. We have no flow fields on tthis specific customized page.

    Cheers

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans