It depends on what they do and what the requests are. Of course, if they use sprocs or UDF, you can replace them without changing the application. You may also consider adding some indexes that are “optimized” for their poor SQL (although this may affect legitimate database users). You can also check the queries that they execute and see if it is possible to replace the tables they click on with a more efficient view, but then you mess with your DDL to deal with a bad apple. It is best, most likely, to transfer legitimate applications from this particular server and leave the offender alone.
source share