Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Performance shared (virtual) tables

(0) ShareShare
ReportReport
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans