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/Gathering logs

How to take SQL Server Execution Plan

Last updated on 16 December 2021

Admin
M-Files Admin

Overview

In some M-Files performance related issues, it might be useful to see the SQL Server Execution plan to find out the root cause of the issue. For example, if you know that some specific SQL query is causing the slowness in M-Files vault.

Solution

SQL Server Execution plan can be saved in the following way:

  1. Open Microsoft SQL Management Studio.
  2. Select the problematic database of the M-Files vault.
  3. Right-click the name of the database and select 'New Query'.
  4. Press 'CTRL+M' or select 'Include Actual Execution Plan' in toolbar. It will generate the execution plan after the query has been executed successfully. 
  5. Run the problematic SQL query and you should see the 'Execution Plan' tab.
  6. Right-click somewhere in the Execution plan tab and select 'Save Execution Plan as..'
    image.png
  7. Send the Execution plan to M-Files Support for further investigation by following these instructions: /article/How-to-Send-Files-via-CryptShare-Portal

Still need help?

On this page