Why is Microsoft Dynamics CRM so slow in my environment? [closed] - sql-server

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
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?

Related

Question about Azure VMs DB servers that host a default SQL Server instance [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
Improve this question
I'm stuck with this problem. I have an Azure subscription for my domain with two Azure VMs named DBServer1 and DBServer2. Each of them hosts a default SQL Server instance. DBServer1 is in the East US Azure region and contains a database named Database. DBServer2 is in the West US Azure region.
How do I configure the primary and secondary endpoints, and what availability mode I need to set?
Also Is there any reliable resource where I can find questions with answers based on Administering Microsoft Azure SQL Solutions?
You can configure the primary endpoint as TCP://DBServer1.contoso.com:5022 and the the secondary endpoint as TCP://DBServer2.contoso.com:5022.
As both DBservers are not in the same region, you need to use async commit. Otherwise delay will cause application issues.
I recommend you read through this article: https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/availability-group-overview?view=azuresql
The biggest difference with on-prem is:
Load balancer that is needed in Azure
All nodes inside your cluster need to be a member of an availability set
I also recommend using striped volumes for your SQL files to foresee better performance: https://learn.microsoft.com/en-us/gaming/azure/game-dev-virtual-machine/striped-disks-iops
Here is the resource for practicing the Azure SQL solutions: https://www.study4exam.com/microsoft-exams
Scenario-based questions will help you understand the concepts easily.

What should I use between MS SQL Server and MongoDb? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am currently working on a project in ASP.Net Core which will have a large number of user in the future. Also, the application is being made through Agile Process, so that I have to be prepared for many changes and up-gradations in the future.
First, I was planning to use a MS SQL Server Database but recently I have seen that how awesome features MongoDb is providing especially for a developer. But, I have a confusion that using I MongoDb database will slow down my application when it become widely used by the people.
So, I am here to get some suggestions on choosing the database for my application.
MongoDB is one of the most popular document stores available both as a fully managed cloud service and for deployment on the self-managed infrastructure but it is Document store DB and SQL Server is Relational DBMS.
Performance highly depends on your requirement and design.
System Properties Comparison Microsoft SQL Server vs. MongoDB
MongoDB vs SQL Server 2016 Performance

Update multiple Azure Sql Databases [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Currently, we have 12 Azure Sql Databases and typically 1 or more will need to be updated with a SQL query.
Today, I had a request to delete the same records from all 12.
Are there any tools or ways I can do this without having to connect to each one and running the query?
Aaron Bertrand's sp_foreachdb will let you do this by using the #database_list parameter.
Alternatively, there are third party plugins for SQL Server Management Studio that can do this, one which is Devart SQLComplete but only in the premium version (which does have a 30 day free trial)

SQL Data Sync still on preview [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We have the need to sync an Azure SQL Database (PaaS) with a SQL Server on-premises instance (on customer’s DataCenter), as both are being fed with data from different systems. Both databases share the same schema, and we need the sync process to be bidirectional, where every 5 minutes the data from the Azure SQL Database goes down and every hour the data from the SQL Server (Standard) instance goes up.
We thought of using SQL Data Sync (https://learn.microsoft.com/en-us/azure/sql-database/sql-database-get-started-sql-data-sync), as its the most straightforward solution to achieve what we want, were almost no configuration or custom code is needed. The main problem is that it’s still on Preview, and it has been like that for some years. So, my questions are:
1) Why is it still on preview?
2) What other alternatives would you consider for this requirement, without losing transparency and performance?
PS: There's a similar question form almost 3 years ago (Is SQL Azure Data Sync Production Ready?)
It will be GA this month.
SSIS could be another solution but it requires certain domain knowledge and effort to create an maintain the solution.

Windows 2012 Remote Desktop for more than 2 simultaneous users [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm trying to setup a Windows 2012 Server that allows for more than 2 users to access it through remote desktop at the same time.
I know I need User/Device RDP CALs for it and I already have 4 them installed/activated and they show up on the RD Licensing Manager, I also have the Remote Desktop Services role installed.
However whenever a third user tries to connect through Remote Desktop he is asked to disconnect another user.
I saw some similar questions being asked here but no answers unfortunately.
For 2012, you need the entire environment to get close to a UI, the tool we all knew and at least like is gone. The GUI is sort of available if you have the full environment with a connection broker.
You should have gotten a grace period after setup where you could use the terminal server, but after a period it has to talk to the license server, but there's no way to tell it where the license servers is like before. You can do it with group policy - Administrative Templates\Windows Components/Remote Desktop Services/Remote Desktop Session Host/Licensing.
From there you can set the licensing mode and the licensing server. The server should then see the licenses and go back to session host and not just administrative remote desktop.

Resources