日期:2014-05-17  浏览次数:20866 次

Apache DS学习二
    <systemPartition>
      <!-- use the following partitionConfiguration to override defaults for -->
      <!-- the system partition                                              -->
      <jdbmPartition id="system" cacheSize="100" suffix="ou=system" optimizerEnabled="true" syncOnWrite="true">
        <indexedAttributes>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.1" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.2" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.3" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.4" cacheSize="100"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.5" cacheSize="10"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.6" cacheSize="10"/>
          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.7" cacheSize="10"/>
          <jdbmIndex attributeId="ou" cacheSize="100"/>
          <jdbmIndex attributeId="uid" cacheSize="100"/>
          <jdbmIndex attributeId="objectClass" cacheSize="100"/>
        </indexedAttributes>
      </jdbmPartition>
    </systemPartition>


这个是Apache DS/conf/server.xml中一段
systemPartition:A very special ContextPartition used to store system information such as users, the system catalog and other administrative information. This partition is fixed at the ou=system context.
JdbmPartition:Creates a store based on JDBM B+Trees.
JdbmIndex:A Jdbm based index implementation.
attributeId:Sets the attribute identifier set at configuration time for this index which may not be the OID but an alias name for the attributeType associated with this Index
CacheSize:Sets the size of the index cache in terms of the number of index entries to be cached.


-=-=-=-=- 这个是分割线   -=-=-=-=-=-
不是很懂,反正自己的Partition,数字的copy,其他的attributeId,有什么,加什么。。。