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
  • When you are using ObjectBrowser or SQL or running a complete SQL statement (SELECT ... FROM ... WHERE ...) but the Web Portal query is loading a collection of objects via the Object Layer.

    You have to keep in mind, that a collection loaded via the Object Layer adds the permission statements to the where-clause and these statements can add to the complexity and performance of the statement.

Reply
  • When you are using ObjectBrowser or SQL or running a complete SQL statement (SELECT ... FROM ... WHERE ...) but the Web Portal query is loading a collection of objects via the Object Layer.

    You have to keep in mind, that a collection loaded via the Object Layer adds the permission statements to the where-clause and these statements can add to the complexity and performance of the statement.

Children