I have a customer with 200+ workflows?
Many of these Workflows use DB Query and Search Repository.
We are getting occasional significant performance slow downs we have identified CPU Spiking on the SQL Server.
Could indexing fields help to off load the Search overhead from the SQL Server to LFTS?
I understand Index Fields use LFTS instead of SQL however is that still true when using Searches in a Workflow?
Most Fields are small and concise but we do have approx 200GB of data so over 1 million Field Values for sure although most of our fields do not meet the other criteria recommended for indexing Fields.
"There are two ways to perform field searches: as non-indexed searches (in which case the database management system's SQL search is used) or as indexed searches (in which case the Laserfiche Full-Text Indexing and Search Engine is used). By default, all fields are non-indexed, but in some cases you may choose to index text and list fields.
When to Index Fields
In general, fields should be indexed in the following circumstances:
- Fields that will contain long, nonstandardized content, such as notes or commentary, should be indexed to take advantage of search stemming, fuzzy search, and context hits.
- If a field has an width greater than 100 characters, as the full-text search engine can handle these fields more efficiently than non-indexed search.
- If your repository contains more than one million total field values (fields applied to entries and containing a value), indexing commonly-searched text fields can improve search performance.
Fields should not be indexed in the following situations:
- If the field will generally contain relatively short, consistent values, such as names, department names, or document types, it is more efficient to leave the field unindexed.
- If you want to take advantage of case and accent sensitivity options for a field, you should not index the fields, as these options do not apply to indexed searches."