Web Designer queries slow - v8

Hi Experts

I'm doing some performance analysis on the front end. 

We load a collection using the web database query (essentially a join between a few tables), and when I look in the log this query takes a long time to run (nearly 7 s)

However, when I run the same query directly in SSMS or Object browser, the query takes a few milliseconds

My question is: Does the portal set some SQL connection variables which might be slowing down the execution? 

Thanks

Kin 

Parents Reply
  • Yes, it shows something like this:

    2020-03-05 15:24:30.5680 DEBUG (    SqlLog dkytoo4jmkaisgrf41orc4r2) : (1026 ms) - select dbo.[QBM_FCVStringToGUID]('CCC','MyText') 

    Actually the above example is not even being used to load a collection, just to calculate a UID but as you see it is taking over 1 sec - we have lots of these and it all adds up :)

Children