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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 05.03.2008, 05:47   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
axStart: Why performance issues hits you’re AX implementation 3 months after going live.
Источник: http://axstart.spaces.live.com/Blog/...C0A0!263.entry
==============


We al know when the customer is going live, a lot of additional work has to be done. Most of those issues are related to performance. But it is possible to see these troubles long before you are going live. The magic tool is called Long Running Queries.
 
The trick is this:
  • <li style="margin:0cm 0cm 0pt;tab-stops:list 36.0pt">From the day the first user is playing with AX start already monitoring his behavior with long running queries. Even when no customizations have been made. You can see the behavior of sorting on non indexed fields and not logical used filters on Form and reports. With this knowledge you can teach the user to use AX the right way. <li style="margin:0cm 0cm 0pt;tab-stops:list 36.0pt">When the first customizations are implemented you start monitoring the users of those customizations. You are able to see the bad queries in your code. Even when the user is not complaining about performance you can see performance issues. Be aware when a query takes 1 second in the demo environment, it can go like hell 3 moths after live.
Example: I make a select for update on the sales line and use in the where class the SalesId and ItemId.  
While select forupdate salesline where selesLine.salesId == ‘829’ && salesLine.itemId == ‘myItem’)
{
salesline…….
selesLine.update();
}

 
AX will use the index with the fields SalesID and linenum. The result is that all SalesLine of that Salesorder are found by the index but the system will lock all lines (pagelock). It will even lock saleslines with a different item. The solution can be add a new index with SalesId and ItemId or redesign the where clause so it will use the existing index 100%. This small example is does not hurt in the beginning but when the customer has 50 lines on a salesorder and 80.000 SalesOrder. Trust me you have trouble.
 
It is also handy to look for deadlocks and warning. (Especially Warnings with code 119, should have you’re attention.  They tell you that there can be table scanning.)
 
NOTE: AOS configuration: turn allow client tracing on Application Object server instance on.
 
I think that also the system administrator of the customer is responsible for checking the results of the log. Analyzing the results is still the responsibility of the partner. Also clear the log when you have solved some performance issues so you are for sure there are gone.
 


 

Источник: http://axstart.spaces.live.com/Blog/...C0A0!263.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axStart: Covergence 2008 Blog bot DAX Blogs 0 14.11.2008 18:05
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
axStart: don't extend AX foundation classes, you lose performance Blog bot DAX Blogs 6 09.01.2008 13:21
dynamicsmatters: Performance issues resolution in Ax Part I Blog bot DAX Blogs 0 19.07.2007 23:12
Dynamics AX: ERP Live? "Software plus Services"? Blog bot DAX Blogs 0 22.04.2007 20:51
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 00:31.