我们使用CRM 2011作为我们的持久性层,我们注意到了可怕的性能。

我们看起来并看到有索引,但索引是实体中所有列的复合(几乎)。这使得它几乎没用于所有意图和目的。

所以我如何加速这一点?我可以进入数据库并手动添加索引,但如果可能,我想经过适当的频道,并且未来的可维护性缘故。我已经通过bing和google和stackoverflow转移,但我找不到这个基本功能的任何信息。

请帮助。

有帮助吗?

解决方案

You can't solve this problem with Dynamics CRM. There is no way to configure indexing in Dynamics CRM, as it doesn't give you access to the underlying database - even not in a meta way.

If you have the need for indexes, you have to define them yourself in the database. This is supported by Microsoft (it is excluded from the unsupported modifications)

Modifications to the physical schema of the database, other than adding or updating indexes.

Keep in mind that due to the fact, that the application itself has no knowledge about the indexes, they are not part of the customizations and you have to deploy them yourself.

其他提示

For the guidance on adding CRM 2011 indexes, following this link: Optimizing and Maintaining a Microsoft Dynamics CRM 2011 Server Infrastructure

See the section labeled: Optimizing and Maintaining the Microsoft Dynamics CRM Database

While this question is about CRM 2011 it is worth noting that CRM 2013 (both online and on-premises) includes support for adding indexes:

In CRM 2013, the Index Management job automatically adds indexes for Quick Find columns, up to 20 in total.

Simply add quick find columns for the relevant fields and wait for the Index Management job to run.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top