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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Performance tuning on Tier 2 SQL

(0) ShareShare
ReportReport
Posted on by 4,131

Hi,

Is there any tips to tuning performance on Tier 2 SQL? I can RDP to the AOS server and open Management Studio from there, but it is very different from the SQL Server. Can I install DynamicsPerf on Azure SQL?

Thanks,

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Performance tuning on Tier 2 SQL

    Hi Yuji,

    There is also watchdog in PROD which is creating missing indexes automatically.

    Of course, you need to design solutions accordingly and plan which indexes should be created.

    Tier2 environment is not the best place for performance tuning. But if you still want to use it don't forget to take a fresh backup from PROD before you start doing it.

    About defragmentation: there is a built-in defragmentation job in D365 and also watchdog in PROD which is running defragmentation and statistics update from time to time.

    I would suggest you start from queries from LCS in PROD to understand what queries are causing performance issues and from the report, you can get query plan id and download it (via LCS again) for further analysis.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Performance tuning on Tier 2 SQL

    By "tuning" do you mean "get information" or "make changes"?

    Please check LCS Environment monitoring for diagnostics information about the system and SQL queries. Anyway in prod you don't have any access to the database so it's good to adjust your processes to work with the cloud world.

    You can also rebuild indexes via LCS, and even create new indexes if there is some critical prod performance issue that can be solved with a new index.

  • Blue Wang Profile Picture
    on at
    RE: Performance tuning on Tier 2 SQL

    Hi Yuji,

    As mentioned, you can read this Microsoft Doc:

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/lifecycle-services/querycookbook

    But, it looks like you know it and mentioned it in your previous thread:

    https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/369937/how-to-access-sql-server-on-tier-2-or-tier-4-environment

  • Yuji Profile Picture
    4,131 on at
    RE: Performance tuning on Tier 2 SQL

    I would like to do some basic index tuning, for example, index defrag, or query plan tuning.

  • nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Performance tuning on Tier 2 SQL

    You can't install anything on top of the MS managed databases. You will find diagnostics information in LCS as Sergey mentioned.

    Tier 2 is not a very performant system - just to set the expectations.

    Do you have some specific issue that you are troubleshooting?

  • Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Performance tuning on Tier 2 SQL

    Hi Yuji,

    Have you checked the tools provided by LCS under monitoring environment?

    Also, what kind of information you want to get?

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 777 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 630 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 602 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans