Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Large number of dimension values

Posted on by

We have a customer (BC14) with 8 dimensions being 3 of them with more than 500k values each (one has more than a 1.000.000). We are concerned that, at some point, we find performance or capacity issues (or any kind of issues). Is there any recommendation for dealing with such a large number of dimension values? Are there any foreseen issues?

  • Luis Lopes Profile Picture
    Luis Lopes on at
    RE: Large number of dimension values

    Thanks Inge. Yes, it is much more efficient than it was, I believe that's why we still didn't get any issues on this. Still the dimension set entry table is getting big (20.5 Million records), and growing...

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Large number of dimension values

    The current design of the dimension handling in BC is very efficient now that we got the datasets.

    So from a performance view i would not be worried as long as you keep the implementation in a general good shape when it comes to middeltire servers and SQL server.

    But it can anyway be a good thing to check if dimensions is the right thing to use in this case.  But I don't think the data you have there now will cause you any performance issues.

  • Guy McKenzie Profile Picture
    Guy McKenzie 1,330 on at
    RE: Large number of dimension values

    The dimensions processing is actually very data efficient. It was changed from how it used to work which did impact performance.

    Each time a unique combination of dimensions is seen on a transaction, a new dimension set is created. It is the dimension set code that is added to the transaction line.

    Any individual transaction line only has the one dimension set id which is a just a link to another table. Whilst you have a huge theoretical potential for combinations of dimensions, these are only sitting in a table when created and pareto analysis suggests you will only ever see a small percentage of those potential combinations ever used.

    Whether or not they should be dimensions is a valid question. I am always keen to see people use dimensions more than they typically do as it improves granularity of reporting. However, if those values aren't used in reporting, they possibly shouldn't be dimensions.

  • Luis Lopes Profile Picture
    Luis Lopes on at
    RE: Large number of dimension values

    I believe that when the design was first made, some 10 years ago, they would not expect that there would be such a large numbers of dimensions. The thing is that it is working, and to change it it would have a enormous impact. But we want to take some preventive steps if an issue is foreseen.

  • Luis Lopes Profile Picture
    Luis Lopes on at
    RE: Large number of dimension values

    Hi, sorry for the late reply.

    Some of them are generated automatically, others. They are triggered by an action on a custom entity, and they have a life span; that is, they will be used while the status of the entity is active (imagine a loan and the posts regarding payments from that loan, the dimension used in the posts refers to the loan).

  • Kine_ Profile Picture
    Kine_ 2,053 on at
    RE: Large number of dimension values

    The question is, if these "Dimensions" are really "dimensions" or some additional attributes. For me, dimensions are "slowly changing values", not values changing with every document or so... (like Business Case No., Project No., Order No. etc.). I will rather add these "fast changing" values as new attributes to needed tables. I cannot imagine how the system will filter for the dimension, because it will need to create list of all matching Dimension Sets. This will kill the system.

  • Matthew Perren Profile Picture
    Matthew Perren 33 on at
    RE: Large number of dimension values

    That is a great question.

    Can I ask some in response?

    How are they generated? I’m assuming there’s some code that’s generating them automatically.

    What’s the event that triggers their creation.

    Are they all used? How many dimension sets are there?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans