Automatic Partitioning

Automatic partitioning is a strategy where the file partition in which an object is stored is determined within the transaction that creates it, using object state.

A user-defined partitioning scheme, which is essentially an algorithm coded in a partition method, determines the partition for an object. (For more details, see "partitionMethod Option", in Chapter 1.)

To implement automatic partitioning for a class

  1. Enable partitioning on the map file of the class.

  2. Implement a partitioning algorithm.