Должен ли я индексировать все столбцы в списке?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/52319

  •  09-12-2019
  •  | 
  •  

Вопрос

У меня есть экран, где пользователь будет запрошен, используя все столбцы в списке.Должен ли я индексировать каждый столбец.

Каковы правила вокруг этого?

Было бы какие бы проблемы с производительностью?

Это было полезно?

Решение

NO, Index the columns that you search and filter on, try and stay at a maximum of 2.

This works exactly like a database, the more indexes the slower updates and additions become.

Columns that you might want to index are:

Any column that appears in JOINS or WHERE statements.

Другие советы

As you probably are aware use of Indexing is meant to increase performance, particularly in querying, filtering and sorting in large lists, avoiding database scanning, etc. But also over-doing could fall in other extreme (beyond the actual limit of 20), e.g. remember that each update in the structure would require adding a row in NameValuePair table in Content database, which grows extremely fast. Have a look at this http://blog.dynatrace.com/2009/01/28/sharepoint-list-performance-how-list-column-indices-really-work-under-the-hood/

You should understand the fact the there are Simple or Compound, as a rule: - Create single indexes for a single field to filter e.g. with the CQWP and create compound indexes for queries that are going to filter two columns.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top