Show TOC

Optimizing the Performance of a Mobile ApplicationLocate this document in the navigation structure

Prerequisites

  • You have rolled out devices using setup packages or software packages.

  • To create indices or update statistics, you have identified the model, the data objects, and the corresponding nodes.

Context

You use this procedure to optimize the performance of a mobile application. You optimize the performance of a mobile application by creating indices or updating database parameters and statistics for a mobile device.

Procedure

  1. Create an XML file to create indices, update statistics, or parameters.
  2. Upload the XML file to the DOE.

    More information: Deploying Mobile Components Using Archive Upload Tool

    System creates a mobile component descriptor (MCD) for the XML file that you have uploaded.

    Note

    You must specify the type of MCD:

    • DB Index - to create MCD for indices.

    • DB Scripts and DB Parameters - to create MCD for database parameters.

    • DB Scripts and DB Statistics - to create MCD to update database statistics.

  3. Assign the MCD to a device profile.

    More information: Assigning Mobile Components to a Device Profile of Type Applicat

    The mobile client generates script files and stores them on the mobile device.

  4. Synchronize the mobile device with the DOE.

    System updates indices, parameters, and statistics from the database on the mobile device.

  5. To update the database statistics periodically, perform the following steps:
    1. In the CONFIG agent, specify the following details:

      Parameter Id : com.sap.tc.mobile.cfs.launch.script

      Value : MCDNAME|VERSION|true

    2. Execute the configuration agent.

    More information: Adding Agents to an Agent Configuration