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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.01.2013, 15:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
axStart: Performance issues with table inheritance.
Источник: http://www.axstart.com/performance-i...le-inheritance
==============

After developing for more than 1 year on AX 2012. I have seen the blesses and the blames of table inheritance.

Let’s start on the blesses:
  • Use always a query on your form with the option OnlyFetchActive. The buffer of the form will only be filled with fields that are used on the form.  But be aware that the active record also does not have all the fields. But the recid is always there, so an addition find by recid can help you out.
  • Using the base table for the main data works fast.
  • Field groups defined on the derived Table can use fields of the parent Table.
And now the ugly part
  • Indexes are a pain in the #$%. You can’t have an index that have parent and child field on the same time.  This is strange because on the end in SQL it is one table.
  • Field groups do not inherent. So reuse of field groups with additional field of the derived table does not work out. So you get 2 field groups on your form.
From design point of view in AX 2012. In case my base table is company independent, why should my derived table also be company independent.  It looks stage but I have seen implementation where this was the case, now we had to do it with security rules.





Источник: http://www.axstart.com/performance-i...le-inheritance
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axStart: Performance Guide Blog bot DAX Blogs 0 29.08.2012 14:11
axdaily: Table inheritance Blog bot DAX Blogs 10 29.04.2011 01:09
Ronni Mattsson: Dynamics AX performance issues Blog bot DAX Blogs 0 20.04.2011 16:11
axStart: Check if the table field is mapped. Blog bot DAX Blogs 0 07.03.2009 00:05
axStart: Why performance issues hits you’re AX implementation 3 months after going live. Blog bot DAX Blogs 0 05.03.2008 05:47

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

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

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