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

Announcements

No record found.

News and Announcements icon
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)
  • Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Yuji,

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

    Also, what kind of information you want to get?

  • nmaenpaa Profile Picture
    101,172 Moderator on at

    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?

  • Yuji Profile Picture
    4,131 on at

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

  • Blue Wang Profile Picture
    Microsoft Employee on at
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    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.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,097 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 797

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 610 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans