I'm working on an application that uses Microsoft Dynamics CRM. The CRM runs in a VM. CRM has its SQL database running on the very same VM. Alongside that CRM SQL database is a separate database used for parts of the application that don't directly use CRM.
Operations that query the non-CRM SQL database are lightning-fast, but operations that query CRM are molasses slow in the application.
In spite of this, queries run from SSMS on both the CRM and non-CRM SQL databases seem to be equally fast.
This seems to suggest that there is some aspect of my Dynamics CRM Server that is not performing well and needs to be tuned, but it isn't the SQL component?
How can I find what is make Dynamics CRM so slow?