Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Minimizing database round trips with WinGrid in virtual mode
posted

Hi,

I'm trying to switch our grids to virtual mode with datasets that can go to over a million rows.  i have a basic implementation done and working, but I'm concerned about the number of database round trips.  However, it seems that every time a row is shown for the first time, I'm making a database call.  So, when the first page of data is shown, it's about 30 rows and therefore 30 db calls.  I page done, another 30 calls.  What is the best strategy that you would recommend to minimize database calls?  Any way you could recommend to make a single db call with 30 IDs, instead?

Another scenario is exporting rows from the grid to Excel.  I imagine with data source in virtual mode, this could cause up to a million separate queries.  Any way that you would recommend for avoiding this?

Thanks!

BG