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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.10.2006, 16:40   #1  
Blog bot is offline
Blog bot
Участник
 
25,497 / 847 (79) +++++++
Регистрация: 28.10.2006
Fred Shen: Tips on optimizing primary index in Axapta
Источник: http://fredshen.spaces.live.com/Blog...E4E3!166.entry
==============
Primary index plays an important role in gaining optimum performance in Axapta. The Primary Index of a table is the main index that is used to uniquely identify records in it. No duplicated values are allowed in this index. When caching records, primary index is used as the caching key if it exists.
When you designing a table's primary index, follow these rules:

  1. Keep the "width" of your indexes as narrow as possible. This reduces the size of the index and reduces the number of disk I/O reads required to read the index, boosting performance.

  2. If possible, try to create indexes on columns of Integer data type instead of string.  Integer values have less overhead than string values.

  3. Don't use Real data types for primary keys, as they add unnecessary overhead and can hurt performance.

  4. Indexes on narrow columns are preferable to indexes on wide columns. The narrower the index, the more entries SQL Server can fit on a data page, which in turn reduces the amount of I/O required when accessing the data.

  5. Reduce the size of the index, thus decreasing read I/O during the join process, and increasing overall performance.


==============
Источник: http://fredshen.spaces.live.com/Blog...E4E3!166.entry
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Fred Shen: Limited sessions in Axapta Blog bot DAX Blogs 0 28.10.2006 16:40
Fred Shen: Convert Axapta date type value to datetime type value in SQL Server Blog bot DAX Blogs 0 28.10.2006 16:40
Fred Shen: Read and alter registry settings in Axapta Blog bot DAX Blogs 0 28.10.2006 16:40
Fred Shen: Axapta build number Blog bot DAX Blogs 0 28.10.2006 16:40
Fred Shen: Use resource files in Axapta Blog bot DAX Blogs 0 28.10.2006 16:40

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

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

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