Setting the number of partitions

Set the partitions for the object grid by editing the server objectGridDeployment.xml file.

About this task

A data grid is divided into partitions. A partition holds an exclusive subset of the data. You can change the number of partitions for the data grid. However, it is unlikely that you need to change the default in a development server.

Procedure

  1. Stop the server.
  2. Open the <WLP_USER_DIR>/servers/server_name/grids/objectGridDeployment.xml file in a suitable editor.
  3. Specify the number of partitions for the mapSets. Set the numberofPartitions attribute in the mapSet elements for iaMaps and iaPreloadMaps.
  4. Restart the server.