When processing a large dataset with the Standard Batch Manager, you may wish to increase processing speed. Processing speed can be increased in several ways:
Creating custom queries (FetchXML). Large batch jobs should be segmented into multiple, smaller jobs for processing. For example, you could create batch jobs that process records from a single city, postal code, or country. To segment batch jobs, create custom queries that identify specific records to be processed in each job, as described in Creating a Custom Query.
Increasing resources on a cloud instance. Users running Trillium Quality for Dynamics online should contact Technical Support or their Customer Success Manager to discuss increasing system resources (CPU cores and memory) on their cloud instance before running a large standard batch job.
- Creating an index on key fields. Creating an index on the window keys optimizes matching performance. The following procedure outlines the process of creating index keys; consult with your database administrator about creating indexes.Note: Performing a CRM update can modify certain database structures. After CRM updates, delete and re-add the indexes if necessary.
To create an index on key fields
Log on to the system as a user with sufficient privileges to create indexes on the CRM database(s) and start SQL Server Management Studio.
Select the database for your organization and click OK. The name will be in the format OrgName_MSCRM.
Expand Tables and select the table named ContactBase.
Expand ContactBase and open the Indexes folder to see what other indexes are already on the table.
Right-click on Indexes and select New Index.
For Index Type, select Nonclustered.
Select the field tss_windowkey and click OK. The Index name auto populates, but it is recommended to change the name to something meaningful, for example, ndx_tss_windowkey.
Click OK to create the index.
If you modified the Trillium Quality for Dynamics configuration file to include additional fields in the match criteria, create an index on each additional window key field:
If you are using a custom Fetch XML query, create an index on fields that are used in the query. For example, if your query processes records based on city, create an index on the City field.