Skip to Content

Requesting offline data with Android SMP SDK data is very slow

We are implementing a native Android app using the SAP Mobile Platform SDK 3.0 SP14. The app has serveral offline stores to hold master data locally on the device. The data will only be requested, there is no fetch, because the data will not be changed on the device. Every store has the same, simple Entity type with 4 fields. The last one is a String field, which can have a lenght up to 150 chracters.

To access the offline data in a store, the app selects all data at once. But this request is very slow (~ 1,000 items per second). Our largest store has 500,000 items, so requesting this store would have a duration of 500 seconds.

Is there a way to speed up the request for the large offline store?

        if (offlineStore != null) {
            try {
                //Define the resource path
                String resourcePath = format("%1$s",

                ODataRequestParamSingle request = new ODataRequestParamSingleDefaultImpl();
                //Send a request to read the travel agencies from the local database
                ODataResponseSingle response;

// executeReadEntitySet: poor performance
                response = offlineStore.executeReadEntitySet(resourcePath, null);
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers