Previous Topic: RandomizationNext Topic: Guidelines for Determining How an Entity Should Be Stored


Clustering

Clustering enables you to group entity occurrences that are likely to be accessed together. When you request clustering, the database stores each entity occurrence as close as possible to another occurrence to which it is logically related.

Minimizing read operations

By storing related entity occurrences on or near the same page, clustering minimizes the number of read operations required to access the database. Clustering could, for example, be used to retrieve a DEPARTMENT entity occurrence and its related EMPLOYEE entity occurrences with a single read operation.

Clustering enhances processing performance by grouping entity occurrences that are likely to be accessed together. For example, clustering could be used to store employees CRANE, GARDNER, and FONRAD on the same database page as the OPERATIONS department, the department to which these employees belong. All four entity occurrences could be retrieved with a single read operation.

Minimizing read operations.

Clustering methods

CA IDMS/DB supports the following methods of clustering entity occurrences:

A discussion of when to choose these methods follows.