Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Performance shared (virtual) tables

Posted on by 35

I have a form with a grid on it. At first I used a cross company AOT query to retrieve data from 5 different datasources, joined to a root table.
This was not performing at al because of authorization matters and the quantity of the data.
My idea was to make the "root" table virtual and place this table in a form as datasource along with the non-virtual datasources I need.

In the executeQuery method of the shared (virtual) table i want to join the other datasources.

Is there a best practice approach for this, or is my thought wrong?

*This post is locked for comments

  • Rudie Profile Picture
    Rudie 35 on at
    RE: Performance shared (virtual) tables

    Hi Domimic,

    Thanks for your quick repsonse. I have tried different scenario's and I think you are correct.

    At a certain point you have to switch companies to retrieve the data needed.

    I'll try to tune the SQL query.

    Kind regards,

    Rudie Heijnen

  • Verified answer
    dolee Profile Picture
    dolee 11,279 on at
    RE: Performance shared (virtual) tables

    Hi Rudie,

    I believe you still need to use cross company query regardless whether the "root" table is shared or not. Unfortunately I don't have access to an AX2009 to verify at the spot.

    For the performance issue, you should check the generated SQL query and see if there's room for tuning. (e.g. suggested missing index by SQL engine)

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans