Previous Topic: Limitations in Horizontal PartitioningNext Topic: Loading Horizontally Partitioned Data


More information:

set dsa prefix—Define the Prefix of a DSA

Specify Horizontal Partitioning

Specify horizontal partitioning to partition a namespace amongst DSAs.

Follow these steps:

  1. Select the attribute whose value you will use to partition the namespace.

    If there are multiple attributes, specify the asterisk (*) character instead of an attribute, as in the following example:

    <c AU><ou Users><* "[hash1(3)=0]">
    
  2. Select a horizontal portioning hash that has the most even distribution of data to prevent unbalanced partitions. The following hashing algorithms are supported:
  3. For each DSA in the partitioning, append the string that determines the partition hashing to the prefix.

    You specify the prefix in the knowledge, so use either DXmanager or the set dsa prefix command.

  4. Ensure each data DSA has disable-client-binds set to true.

    This ensures requests to go through the router.

Example: Configuration for Horizontal Partition

The configuration of the DSAs is set up as follows:

From a client point of view all entries appear in the namespace <c AU> <ou Users>.

When the router receives a request, the router applies the specified hash function (hash1) to the specified attribute value (guid) in the request. If the result is zero, it routes the request to DSA_A. If the result is one, it routes the request to DSA_B, and so on.