AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.02.2015, 12:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,491 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Troubleshooting that elusive “slowdown” in AX using Performance Analyzer 1.20 for Microsoft Dynamics
Источник: http://blogs.msdn.com/b/axsupport/ar...-dynamics.aspx
==============

It’s 9.30am on Monday morning and you’ve just received reports of a “general slowdown” on Microsoft Dynamics AX. After probing further you find it was all over by 9:15am lasting around 15 minutes, but also happened once before and the users want action taken to prevent it happening again.

There are never any guarantees when doing a root cause analysis of historical issues and that should be explained to your users, but below are some things you can do using the Performance Analyser (aka DynamicsPerf, after the database name) both proactively and reactively to address that type of problem.

Proactive: it uses the DynamicsPerf database to store a history of SQL Server DMV data and other performance related data which can be transient. It also includes perfmon templates (which can be used to monitor for hardware bottlenecks), SQL profiler traces (which can help spot things like blocking and auto growth events), etc.

Reactive: If the issue occurred recently enough, at the point they run, the SQL Server Agent jobs that come with this tool can capture (among other things):
  • Event logs from the past 2 weeks, which will include performance related events such as event ID 186 warnings (indicating orphaned SPIDs) and client disconnections (either forced closure of a session or a crash), e.g. event ID 110.
  • SQL Server DMVs (including query stats and query plans) since the last SQL Server restart.
  • Long query traces (copied from SysTraceTableSQL table into DynamicsPerf), which may allow you to correlate call stacks in the code with SQL queries (if you already had long query tracing turned on) in AX 2012 and previous versions.
Install and run it by following the instructions in the following two blogs in that order:

http://blogs.msdn.com/b/axinthefield...ent-guide.aspx

http://blogs.msdn.com/b/axinthefield...tallation.aspx

What to check:

You can use the script below to pinpoint possible root causes of an issue at a point in time, having just installed the Performance Analyser. Some of it is generic so can apply to any application running on SQL Server (on a different server to your AX database of course!)

Finally, once the Performance Analyser is up and running, in case further issues occur and partly as a preventative measure, there is a series of checklists you can use to check general settings, profiler traces, etc., which starts here:

http://blogs.msdn.com/b/axsupport/ar...iguration.aspx




Источник: http://blogs.msdn.com/b/axsupport/ar...-dynamics.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 15 Blog bot Dynamics CRM: Blogs 1 10.02.2016 10:26
emeadaxsupport: AX Performance Troubleshooting Checklist Part 1A [Introduction and SQL Configuration] Blog bot DAX Blogs 0 05.09.2014 21:11
emeadaxsupport: Overview of AX build numbers Blog bot DAX Blogs 3 24.05.2012 19:44
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
при построении перекрёстных ссылок выдаётся сообщение об ошибках mmmax DAX: Программирование 10 21.01.2005 12:42

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 06:10.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.