Giri, per my tests today, having a calculation view doing the transpose is more costly than doing the transpose in SQL Script in the stored procedure. my solution for this would be to run smaller subqueries running in parallel and then doing a union of the subqueries to yield a result. q1 = select ... from view ; q2 = select ... from view ; . . qN = select ... from view; out = select * from :q1 union select * from :q2 union select * from :qN; this would give you a better response time.. .per my tests, it is now running in 500-800 ms hope this helps
↧