Performance? DAI View vs. server-based
Posted: Tue Jul 20, 2010 7:11 pm
Hi,
Given a very large and complex SQL view that will be used as a data source for reporting on a frequent basis is there any performance advantage to defining that view in the SQL database over defining it in Dynamic?
I get the impression that MS SQL Server somehow 'pre-compiles' the view and so 'knows' about it, and maybe caches information about it, so it can deliver the data more quickly from that "table" than parsing the same SQL script fresh each and every time a Dynamic AI report is run.
I guess another way of asking the question: Does SQL server have to work harder to execute the view's script fresh from Dynamic, than if Dynamic used the same view defined in the SQL database?
Thanks,
Bob
Given a very large and complex SQL view that will be used as a data source for reporting on a frequent basis is there any performance advantage to defining that view in the SQL database over defining it in Dynamic?
I get the impression that MS SQL Server somehow 'pre-compiles' the view and so 'knows' about it, and maybe caches information about it, so it can deliver the data more quickly from that "table" than parsing the same SQL script fresh each and every time a Dynamic AI report is run.
I guess another way of asking the question: Does SQL server have to work harder to execute the view's script fresh from Dynamic, than if Dynamic used the same view defined in the SQL database?
Thanks,
Bob