简体   繁体   English

是否使用 CRM 应用程序自动运行数据库的重新索引?

[英]Do re-indexing of database runs automatically with CRM app?

It's my first time using CRM as an app.这是我第一次使用 CRM 作为应用程序。 I have been using SQL Server for quite a while now.我使用 SQL 服务器已经有一段时间了。 Our company is experiencing issues with emails, thus having warnings in event viewer我们公司遇到电子邮件问题,因此在事件查看器中出现警告

Query execution time of 17.3 seconds exceeded the threshold of 10 seconds.' 17.3 秒的查询执行时间超过了 10 秒的阈值。

for almost all select statements.对于几乎所有 select 语句。

My main concern here is I am in doubt that the CRM job tool for reindexing is not running properly.我主要担心的是我怀疑用于重新索引的 CRM 作业工具运行不正常。 Also, I have checked the reindex maintenance plan in the SQL Server, no configurations were made for reindex.另外,我查看了SQL服务器中的reindex维护计划,reindex没有做任何配置。

I hope someone can help me.我希望有一个人可以帮助我。 Thanks!谢谢!

In Dynamics 2016 On Premises you are free to create and maintain your own indexes.在 Dynamics 2016 On Premises 中,您可以自由创建和维护自己的索引。 What is needed really depends on how your company is using the system.需要什么实际上取决于您的公司如何使用该系统。 Sometimes recalculating statistics does the trick (as far as I remember this is part of the built-in maintenance jobs), sometimes you may even want to partition the database.有时重新计算统计数据可以解决问题(据我所知,这是内置维护工作的一部分),有时您甚至可能想要对数据库进行分区。

E-mail storage in MS Dynamics can quickly grow out of hand, because attachments (eg these colorful company footers) use to take up a lot of valuable database space. MS Dynamics 中的电子邮件存储可能会迅速增长失控,因为附件(例如这些五颜六色的公司页脚)会占用大量宝贵的数据库空间。 Decide what e-mail really needs to be tracked, if attachments and images can be stripped from them or if they can be stored in a separate file group.确定真正需要跟踪的电子邮件,是否可以从其中删除附件和图像,或者是否可以将它们存储在单独的文件组中。 (To mention a few options.) (提几个选项。)

Poor SQL Server management is actually often the ground reason for performance issues on MS Dynamics.糟糕的 SQL 服务器管理实际上通常是 MS Dynamics 性能问题的根本原因。 Your skills will be of much value!你的技能将很有价值!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM