Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

Slow dropdown searches after 24.10 - Search optimization options by object type

Last updated on 29 December 2024 · 2 min read

Admin
Search

Overview

In case users experience some slowness symptoms, such as:

  • Delays in metadata card lookups (dropdowns) when searching for objects or value list items, with search results taking over a minute to display. 
    • This delay is also noticeable in the advanced search dropdown.
  • High CPU usage observed in some SQL server versions when multiple users perform these searches simultaneously.
  • External objects refreshing a large number of items are slow, especially connections that bring many new objects to M-Files daily.

Details

There are some situations where the MSSQL server does not choose optimal query execution plans for the database queries that can result in such slowness. 

This is more likely to be the case if you have noticed that this behaviors began immediately after upgrading M-Files Server to version 24.10 or later from an earlier version. In this version, we remove some table hints from the queries to allow MSSQL to optimize the query better, and that yields better performance for the vast majority of situations.

The weekly optimization job usually makes performance better.  However, performance gets worse later in the week, particularly for those object types / value lists which get new objects created frequently.

If in your case it results in worse performance, you can enable this feature again.

We have some settings to optimize searches that use direct database queries in Advanced Vault Settings, under Configuration > Search > Optimization. 

Information about each setting is available in the info tab, click the icon to diplay the tab related to the setting.

For this specific matter, set the "Use Table Hints" to "Yes" for the object types that you observe as slow to load in the client-side dropdowns.

The search hint needs to be added only for those object types that are created frequently. If you are not sure, please consult with M-Files support who can confirm this solution.

Still need help?

On this page