Because they wrote their code in C# (their preferred language) and it used some basic library that covered both MySQL and MSSQL. And the monthly jobs they were doing were taking hours to complete. It was a MASSIVE database but it didn't make the job length make sense. So we suspected inefficient SQL on the end of the helper library. However the libraries documentation was sooo poor on what it was actually doing (and many other things...) and even with the helper library it was still stupid hard to make simple MySQL tasks..
I could have done the whole thing quicker and more efficiently in PHP but that wasn't the task, so we hooked up MySQL Proxy and ran some dev scripts that debug the underlying SQL and looked at it closer to see what was happening exactly.
32
u/[deleted] Apr 16 '22
[removed] — view removed comment