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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 01.07.2014, 01:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: DDL script generator for Dynamics AX 2012 R2
Источник: http://blogs.msdn.com/b/axsupport/ar...x-2012-r2.aspx
==============

DDL script generator for Dynamics AX 2012 R2
Synchronization




Description:

The standard synchronization process is a single threaded process. This causes performance problems in larger upgrades
like AX 2012 RTM to R2, because we example add the partition column to all tables and indexes.

By using the DDL scripts we can push the sql server and disk system to the limit.

Please read the disclaimer when you hit the "Export Script".



How to implement the solution:
  • Import the attached xpo
    • This includes a new table(Synchlog), a new class(CountRecords) and a changed form (SysSqlSync)
  • Run System Administration – Periodic – Database - SQL administration - table actions - Check/synchronize
  • Run Export script
    • Accept the Disclaimer / warning
    • Choose the location for the
      files and add a filename





When it is finished there will be a general file with the tables that has 0-100000 records plus all views. All tables with
more than 100000 records will be in separate files.

Note:

There will be an INFO log at the end of the export with tables that are disabled by configuration keys.

Disregard this information as we in the code have continued the process without looking at these tables.





Next Steps:
  • Open SQL Management studio:
  • Run all the files which has a table prefix in parallel (tables over 100000 records)
  • Run the file without tableprefix after the large tables as we have the views in here. (tables less than
    100000 records)



Disclaimer:

“Microsoft provides programming examples for illustration only, without warranty either expressed
or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose.






Authors:

Kim Truelsen, Escalation Engineer

Big thanks to Jan Jensen, Columbus Danmark



Date: 30/6-2014




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
amer-ax: It was a great day! Blog bot DAX Blogs 3 29.12.2012 01:02
emeadaxsupport: Final Microsoft Dynamics AX 2012 R2 Content Available! Blog bot DAX Blogs 0 04.12.2012 06:12
DAX: Official Dynamics AX 2012 R2 Content (update) - Where is it, and how can you find out about updates? Blog bot DAX Blogs 0 03.12.2012 11:11
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11

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

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

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