Home

Is entire SQL result set loaded into memory before display?

edited June 2013
I'm attempting to use LINQPad as an SSMS replacement, but my queries will time out (or I give up waiting) unless I limit the result set to a certain number of rows with Take(). Does the app load the entire result set into memory before displaying it in either rich text or grid output? SSMS will display results in chunks, adding records to the output grid as they become available from the server. Is LINQPad capable of doing something similar? I see an option in preferences for limiting rich text results to a certain number of rows, but even when I have it set to the default of 1000 my simple query (from o in tbCompanyObservation select o) hasn't produced results when I give up waiting after 5 minutes, while adding Take(1000) to the same query will return the results in less than a second.

Comments

Sign In or Register to comment.