cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching 4 Million records

former_member192584
Participant
0 Kudos
2,028

Hi Gurus,

Please enlighten me on below situation.

I need to fetch approx 4 million records combining 5 tables (total 38 fields) using OData and display in SAP UI5 application using sap.ui.table. Will this hamper the performance of the UI application or crash the application ?

I do not want to use pagination and bind to OData directly as i need to filter on all 38 fields (5 tables) which is tedious if each time the service is hitting gateway the filter has to occur on gateway. If we bind JSON model to sap.ui.table all the filter happens on the UI layer itself which in turn reduces the round trip and also code complexity.

Please advice on the approach.

Accepted Solutions (0)

Answers (1)

Answers (1)

Jsousa
Participant

There are too many records..

You can use the growing property where you have a lot of entries in some elements like sap.m.List:

The List control provides a container for all types of list items. For mobile devices, the recommended limit of list items is 100 to assure proper performance. To improve initial rendering of large lists, use the "growing" feature. Please refer to the SAPUI5 Developer Guide for more information..
See section "Lists" in the documentation for an introduction to sap.m.List control.

Maybe your better solution will be create "Before & Next" buttons and load entries with restrictions..

former_member192584
Participant
0 Kudos

Hi Jorge,

We are using sap.ui.table control as it supports filtering on the column (38 columns needs to be filtered). The growing mechanism (threshold) is available only for direct OData binding and not for JSON model binding in sap.ui.table or am i missing something ?

If we directly bind the table to OData the filtering should be done in gateway not on UI.