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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.02.2010, 06:10   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
AX 2009 Technical Journal: Short note on AX and database mirroring in SQL Server 2008
Источник: http://ax2009tech.blogspot.com/2010/...mirroring.html
==============

The last days, I have been working with a customer running AX 2009 and SQL Server 2008 SP1 Standard (x64) on Windows Server 2008 SP2. The solution suffered from general performance issues that possibly could have a lot of sources. As usual my attention was around SQL Server and this time I started looking at Wait Stats which showed a waste amount of waits related to mirroring. After some Googling, I was a little bit confused about this beeing normal or not. The nature of database mirroring could in fact result in high Wait Stat values since the processes involved, is mostly sleeping (suspended). But I choosed to consider this as a possible source since the nature of database mirroring in my oppinion, does'nt fit the nature of AX as a classic OLTP application. And since disabling database mirroring is an isolated and low risk operation, we choosed to stop mirroring for all database (around 10). After this, the overall performance increased and the customer reported this almost immediately. It's a little bit early to conclude, but the initial responce seems pretty promising.

I will not go into the details around how mirroring was set up and the underlying infrastructure, but since AX is a OLTP application with a lot of inserts, deletes and updates within small, repeating and identical transactions during a normal business day, the processes responsible for doing the mirroring seems to have a big payload on the source server. Remember that database mirroring in fact is a repliction technology and that changes in the primary database, must be replicated to the secondary database (add requirements for low network latency and quality of service). It could of course be other applications that contributes more to the payload, but since time is important in situations like this, we only focused on the SQL Server instance and less on the individual databases.

Another lesson is to be very restrictive when deploying several databases under the same instance as your primary AX database. The payload of each database should be evaluated and categorized to avoid resource conflicts between databases (for instance queries in the wild, long running transactions and cursor intensive applications). Despite all the positive effects of consolidating databases, the complexity increases a lot when performance issues arise for AX since the source could be another application. My general advise is to prioritize a dedicated databaseserver for your AX production database since this makes it a lot easier to optimize AX. Yes, it will have an impact on the cost (hardware and licenses), but it will normally pay off in the long for customers relying on AX as a mission critical solution. This is an advice I generally bring to my customers.

If interesting, I can throw in some more details. And yes - I'm aware of database mirroring beeing one of the supported HA configurations for AX. Please add a comment to indicate further details.

So long.


Источник: http://ax2009tech.blogspot.com/2010/...mirroring.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Теги
ax2009, sql 2008, зеркалирование

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
AX 2009 Technical Journal: DAS or SAN for SQL Server? Blog bot DAX Blogs 0 18.11.2009 12:05
gatesasbait: Dynamics AX 2009 SSRS and SSAS Integration Tips Blog bot DAX Blogs 3 09.07.2009 13:07
Dynamics AX Sustained Engineering: SQL Server 2005 sp3 & SQL Server 2008 with Dynamics AX Blog bot DAX Blogs 0 12.02.2009 06:08
Dynamics AX: Why upgrade to SQL Server 2008 with DAX 2009? Blog bot DAX Blogs 0 16.10.2008 06:24
Dynamics AX: Dynamics AX 2009 & SQL Server 2008 Blog bot DAX Blogs 0 10.06.2008 21:08

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

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

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