Hi,
As stated in http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/data/ResultSet.html, paging on large dataset is usually coupled with disabling server-side sorting to avoid traversing the whole dataset.
It's indeed easy to see the impact of adding an order clause to the fetch request in such case: fetch time is much longer.
So my question is: with a list grid displaying data of a potentially huge table, is there a way to add a default fetch order (like on primary key, descending) without killing performances?
Rgds
As stated in http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/data/ResultSet.html, paging on large dataset is usually coupled with disabling server-side sorting to avoid traversing the whole dataset.
It's indeed easy to see the impact of adding an order clause to the fetch request in such case: fetch time is much longer.
So my question is: with a list grid displaying data of a potentially huge table, is there a way to add a default fetch order (like on primary key, descending) without killing performances?
Rgds
Comment