Isomorphic,
We have scenarios where users pulls reports ( list grid) which have 2-3 lakhs of rows. Currently we have limited them to pulling 1000 rows into the listgrid and then we asked them to either filter out records or use scroll bar to get other records. We have done this by setting the pagesize on the listgrid.
However, we would like the customer to be able to pull the whole report(2-3 lakh rows) using the export feature. But what we observed was it was very slow.
Our observations:
Setting pageSize on a listgrid is actually defining the fetch size for the query pull. So if we put page size of 1 lakh on listgrid the same report which we tried exporting in the previous case comes out very fast i.e 1 lakh rows are recieved from database in one request. We checked on the properties available on dsRequest which would allow us to set something similar for export too, but didn't find it. So what is the right way to improve the export performance. We suspect the fetch size being on the lower side for the expor t is responsible for the performance.
My guess is some parameter in server.properties. If this is right, we wouldn't want the fetch size to be applicable for all queries that hit the database. So how do we achieve this.
Also, we don't want to use JNDI.
Thanks.
We have scenarios where users pulls reports ( list grid) which have 2-3 lakhs of rows. Currently we have limited them to pulling 1000 rows into the listgrid and then we asked them to either filter out records or use scroll bar to get other records. We have done this by setting the pagesize on the listgrid.
However, we would like the customer to be able to pull the whole report(2-3 lakh rows) using the export feature. But what we observed was it was very slow.
Our observations:
Setting pageSize on a listgrid is actually defining the fetch size for the query pull. So if we put page size of 1 lakh on listgrid the same report which we tried exporting in the previous case comes out very fast i.e 1 lakh rows are recieved from database in one request. We checked on the properties available on dsRequest which would allow us to set something similar for export too, but didn't find it. So what is the right way to improve the export performance. We suspect the fetch size being on the lower side for the expor t is responsible for the performance.
My guess is some parameter in server.properties. If this is right, we wouldn't want the fetch size to be applicable for all queries that hit the database. So how do we achieve this.
Also, we don't want to use JNDI.
Thanks.
Comment