SDE access slow

I created a webmap accessing data from file .gdb. It's an average size dataset and on viewing it on the device it works fine.

I moved them to a SqlServer SDE database and viewed them through another webmap. It's so slow that I can virtually see each layer being drawn. The DBA is happy with the database performance and it meets his benchmarks. The webmap display speed isn't acceptable for me.