Skip Headers
Oracle® Secure Enterprise Search Administration API Guide
11g Release 1 (11.1.2.0.0)

E14133-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

partitionConfig

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"

Object Type

Universal

State Properties

None

Supported Operations

export
update

Administration GUI Page

None

XML Description

The <search:partitionConfig> element describes partitioning:

<search:partitionConfig>
   <search:partitionRules>
      <search:partitionRule>
         <search:partitionValue>
         <search:valueType>
         <search:ruleType>
         <search:storageArea>

Element Descriptions 

<search:partitionConfig>

Describes the partition configuration rules. It contains the <search:partitionRules> element.

<search:partitionRules>

Contains one or more <search:partitionRule> elements.

<search:partitionRule>

Describes a partition rule. It contains these elements:

<search:partitionValue>
<search:valueType>
<search:ruleType>
<search:ruleSetting>
<search:storageArea>
<search:partitionValue>

Contains the partition value, which must be EQ_DEFAULT. This metadata value represents all indexed values. Required.

<search:valueType>

Contains the type of partition value, which must be META. Required.

<search:ruleType>

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 HASH instead.

<search:storageArea>

A comma-separated list of storageArea objects used by this partition rule.

Example

This XML document partitions the document index across six storage areas named p1 to p6:

<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion="11.1.2.0.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>