Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

Application really SLOW - SQL Server and Mendix

$
0
0
I have an interesting and quite urgent question regarding SQL Server and Mendix communication. We have a situation where the application(connecting to a SQL Server db) has become VERY slow all of a sudden – we think it has something to do with the db because it is only slow on the data side of things, it retrieves the rest of the app fine. But when data is needed, it hangs quite badly. After investigation we found that the database commissioned for the application contains a number of indexes. Now after double checking I can guarantee that we have not enabled any indexes on any domain models for this project. So my questions: Does Mendix automatically generate indexes at will? We noticed that these indexes have not been recreated in the last 6months. This is – we think – why it is so slow. This is one theory. Question 2 : If we enable indexes on the domain models in the project, do they override the ones already in the database. If so, how often will they be recreated? Aside from the interesting questions, does anyone have any other theories as to why the application is so slow all of a sudden? Your help will be greatly appreciated! [EDIT] : Okay so we rebuilt the indices that Mendix created on the database and the application is working as it should(nice and fast). BUT this is probably not a permanent fix and means that there is a Mendix issue with the indices making it slow. Between 4.1.0 and 4.3.2, was there a database management improvement? Or more specifically an indexing improvement? We need to well motivate the need to upgrade to the latest version(numerous implications).

Viewing all articles
Browse latest Browse all 83469

Trending Articles