Partitioning is used to improve the query performance of large data sets. You can use multiple partitions to distribute the document index across physical storage devices. I/O is then performed in parallel to gain the best query performance.
You can enable partitioning only on a freshly installed, empty Oracle SES instance.
See Also: "Partitioning for Parallel Query"
<search:partitionConfig> element describes partitioning:
<search:partitionConfig> <search:partitionRules> <search:partitionRule> <search:partitionValue> <search:valueType> <search:ruleType> <search:storageArea>
Describes the partition configuration rules. It contains the
Contains one or more
Describes a partition rule. It contains these elements:
<search:partitionValue> <search:valueType> <search:ruleType> <search:ruleSetting> <search:storageArea>
Contains the partition value, which must be
EQ_DEFAULT. This metadata value represents all indexed values. Required.
Contains the type of partition value, which must be
Contains the type of partition rule. Required.
HASH: Evenly distributes the index values for a large set of documents across the list of storage areas. Each partition is located in one storage area.
VALUE: Maps the specified partition value to one partition. Oracle SES assigns this rule initially when partitioning is enabled and only one storage area is defined out of the box. Do not use this value when you plan to use multiple storage areas for parallel query. Specify
A comma-separated list of
storageArea objects used by this partition rule.
This XML document partitions the document index across six storage areas named
<?xml version="1.0" encoding="UTF-8"?> <search:config productVersion="220.127.116.11.0" xmlns:search="http://xmlns.oracle.com/search"> <search:partitionConfig> <search:partitionRules> <search:partitionRule> <search:partitionValue>EQ_DEFAULT</search:partitionValue> <search:valueType>META</search:valueType> <search:ruleType>HASH</search:ruleType> <search:storageArea>p1, p2, p3, p4, p5, p6</search:storageArea> </search:partitionRule> </search:partitionRules> </search:partitionConfig> </search:config>