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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 03.10.2011, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Multiple database data files, table partitioning using multiple file groups… and Microsoft Dynamics AX 2009
Источник: http://blogs.msdn.com/b/emeadaxsuppo...s-ax-2009.aspx
==============

 

We often get questions if Microsoft Dynamics AX 2009 supports multiple database data files; or multiple file groups. Also we are asked if table partitioning using multiple file groups is supported with Microsoft Dynamics AX 2009 and what is the performance gain? Let’s try to clarify it.

 

Multiple Microsoft Dynamics AX database data files within same file group

I want to clarify something regarding Microsoft Dynamics AX 2009 and the use of multiple Microsoft Dynamics AX database data files within the same file. First question; is it supported or not? yes it is supported as there is no difference for Microsoft Dynamics AX.

Second question; do we recommend it? No; we do not recommend it as a best practice. However if the database size increases it can be an option to create additional Microsoft Dynamics AX database data files (.ndf files) so you will not end up with one extremely big data file (.mdf file). Make sure that all data files always have the same Autogrowth parameter setup. Creation of additional data files (.ndf files) should only be done for very large databases.

 

Table partitioning (using multiple file groups)

With Microsoft SQL Server 2005 and 2008 (R2), you can partition tables across multiple file groups. Microsoft Dynamics AX 2009 recognizes the backend partitioning and throws a warning during synchronize. This was not the case in Microsoft Dynamics AX 4.0 where you risk losing the backend partition setup during the synchronize operation. In Microsoft Dynamics AX 2009, you have to setup partitioning using SQL Server tools. We just make sure the setup is disturbed during synchronization within Microsoft Dynamics AX 2009 with user knowing.

But is it recommended? The message is that the business partner or customer should definitely test this before undertaking the effort to deploy Microsoft SQL Server table partitioning.  There are many query patterns that will not benefit from table partitioning, and some can be negatively affected.  This feature is generally positioned as an improvement for data management (e.g., “sliding window”) more than as an improvement for performance. 

In the absence of empirical evidence to substantiate a measurable performance improvement, you are risking imposing unnecessary costs on the customer and making a SQL product feature appear ineffective.  For this reason always recommend to implement first  the advice of Microsoft Dynamics AX 2009 White Paper: Planning Database Configuration (http://www.microsoft.com/download/en....aspx?id=13647) and other query and index tuning techniques before even start considering table partitioning.

 

Additional resources

Files and Filegroups Architecture
http://msdn.microsoft.com/en-us/library/ms179316.aspx
Partitioned Table and Index Concepts
http://msdn.microsoft.com/en-us/library/ms190787.aspx
White paper: Partitioned Table and Index Strategies Using SQL Server 2008
http://download.microsoft.com/downlo...ndexStrat.docx

--author:

Davy Vliegen

--editor:

Davy Vliegen

--date:

03/Oct/2011




Источник: http://blogs.msdn.com/b/emeadaxsuppo...s-ax-2009.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 04.10.2011, 09:41   #2  
gl00mie is offline
gl00mie
Участник
MCBMSS
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,684 / 5788 (200) ++++++++++
Регистрация: 28.11.2005
Адрес: Москва
Записей в блоге: 3
А вот интересно, как на Ms SQL Server живут с журналом бд, когда логируется куча таблиц, и логи по справочникам надо хранить дольше, чем по строкам журналов и т.п., а еще его надо чистить постоянно, по возможности не останавливая работу. С партицированием по кодам таблиц это решается более-менее, а тут - 'даже не думайте о партицировании, пока не выжали максимум из других вприантов'.
Старый 04.10.2011, 11:28   #3  
Vadik is offline
Vadik
Модератор
Аватар для Vadik
Лучший по профессии 2017
Лучший по профессии 2015
 
3,631 / 1849 (69) ++++++++
Регистрация: 18.11.2002
Адрес: гражданин Москвы
Цитата:
Сообщение от gl00mie Посмотреть сообщение
А вот интересно, как на Ms SQL Server живут с журналом бд, когда логируется куча таблиц, и логи по справочникам надо хранить дольше, чем по строкам журналов и т.п., а еще его надо чистить постоянно, по возможности не останавливая работу. С партицированием по кодам таблиц это решается более-менее, а тут - 'даже не думайте о партицировании, пока не выжали максимум из других вприантов'.
А Вы просто игнорируйте то что Davy Vliegen пишет про SQL Server так как он тут немного не в теме (хотя может быть отличным специалистом в чем-то еще), и жизнь станет намного проще
Вообще вся статья в стиле "есть ли жизнь на Марсе, нет ли жизни на Марсе - науке это неизвестно". Не знаешь - не пиши, я так считаю
__________________
-ТСЯ или -ТЬСЯ ?
Старый 04.10.2011, 16:30   #4  
egorych is offline
egorych
Участник
Самостоятельные клиенты AX
Oracle
 
761 / 154 (7) ++++++
Регистрация: 09.11.2006
Адрес: Краснодарский край
Причем партиции почему-то связаны с файлами БД.
__________________
Axapta 3.0 sp - хз какой, kr2
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
CRM DE LA CREME! CRM 4.0 Disaster Recovery Blog bot Dynamics CRM: Blogs 2 26.02.2016 08:23
axinthefield: Managing Compliance with Microsoft Dynamics AX 2009 Blog bot DAX Blogs 0 10.06.2011 11:11
daxdilip: Whats New in Dynamics AX 2012 (A brief extract from the recently held Tech Conf.) Blog bot DAX Blogs 7 31.01.2011 12:35
emeadaxsupport: Special Permission Settings in Dynamics AX 2009 Blog bot DAX Blogs 0 02.09.2010 22:05
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05

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

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

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