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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.11.2006, 00:29   #1  
gb is offline
gb
Участник
 
42 / 15 (1) ++
Регистрация: 31.03.2005
Thumbs up KR2 deployment
Hello,

we have just deployed KR2(KR1 was done on the background as a part of KR2 upgrade) and I noticed something that I haven't seen before in any Axapta upgrades.

The new field recVersion was added during compilation of the application. I expected that to be done during synching of the database as it usually happens in Axapta when we make any data model changes. It was something new and I haven't seen it mentioned in any readme documents.

Also, our database is huge, and we were afraid that it would take many hours. The whole upgrade tool less than 1 hour - basically just for compilation of the application.

It was very nice!
Regards,
gb
Старый 21.11.2006, 19:32   #2  
gl00mie is offline
gl00mie
Участник
MCBMSS
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,684 / 5788 (200) ++++++++++
Регистрация: 28.11.2005
Адрес: Москва
Записей в блоге: 3
Цитата:
Сообщение от gb Посмотреть сообщение
we have just deployed KR2(KR1 was done on the background as a part of KR2 upgrade) and I noticed something that I haven't seen before in any Axapta upgrades. The new field recVersion was added during compilation of the application. I expected that to be done during synching of the database as it usually happens in Axapta when we make any data model changes. It was something new and I haven't seen it mentioned in any readme documents.
So what's the question? RecVersion is a new system field related to Optimistic Concurrency Checking (OCC) for SQL Server 2000 and SQL Server 2005 introduced in KR1, see Readme.doc and SQL Server 2005 Books online for more details. Here is a quote from SQL Books online:
Цитата:
In a database scenario, there are two types of concurrency control mechanisms:
  • Pessimistic concurrency control locks resources as needed, for the duration of a transaction.
  • Optimistic concurrency control works on the assumption that resource conflicts between multiple users are unlikely, and it permits transactions to execute without locking any resources. The resources are checked only when transactions are trying to change data. This determines whether any conflict has occurred (for example, by checking a version number). If a conflict occurs, the application must read the data and try the change again. Optimistic concurrency control is not provided with the product, but you can build it into your application manually by tracking database access.
And that's what RecVersion is used for - to "track database access" on a record level. Axapta 3.0 KR uses OCC mostly on forms.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Solutions Monkey: Convergence session: Enterprise Portal Deployment Tips and tricks Blog bot DAX Blogs 0 26.03.2009 08:05
gatesasbait: Dynamics Ax 2009 SSRS report deployment under Server 2008 Blog bot DAX Blogs 0 11.02.2009 11:05
Solutions Monkey: Microsoft Dynamics AX 2009 Enterprise Portal / Role Centers - Deployment Tips-n-Tricks – 3 Blog bot DAX Blogs 0 27.10.2008 08:05
Solutions Monkey: Microsofty Dynamics AX 2009 Enterprise Portal / Role Centers - Deployment Tips-n-Tricks - 2 Blog bot DAX Blogs 0 30.09.2008 07:07
Solutions Monkey: Microsofty Dynamics AX 2009 Enterprise Portal / Role Centers - Deployment Tips-n-Tricks - 1 Blog bot DAX Blogs 0 26.06.2008 09:05
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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