Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescriptionDefault Value
<analytics-lucene-analyzer>

The implementation of the Analytics Lucene Analyzer is defined as a subelement of this parameter.

e.g.,  <implementation>org.apache.lucene.analysis.standard.StandardAnalyzer</implementation>

 
<indexingThreadCount>

The maximum number of threads used for indexing per node. When -1 is specified, the optimum value (equal to the number of cores in the system) is automatically detected and the number of threads is generated accordingly.

-1
<shardCount>

The number of

batch

index

records processed by the node per thread

shards the server should maintain per cluster. This fine tunes the scaling nature of the indexing cluster.

Note

This parameter can only be set once for the lifetime of the cluster, and cannot be changed later on.


6
<shardIndexRecordBatchSize>

The number of batch index records the indexing node should process per each indexing thread . A batch index record
encapsulates a batch of records retrieved from the receiver to be indexedat a given time.

An index record contains data of a record batch inserted in a single put operation. This batch can be as high as the event receiver queue data size, which is 10MB by default. Therefore, the highest amount of in-memory record data that an indexing processing thread can have is 10MB * 100. This parameter should be configured to change the maximum amount of memory available to the indexing node based on your requirement.

The above implementations can be done by general users and can be plugged in at-will to the server. And allows implementors to provide new, as well as special wrapper implementations on top of existing implementations to provide additional enhanced features such as data encryption, custom auditing etc..

The above two interfaces can be found in DAS_HOME/repository/components/plugins/org.wso2.carbon.analytics.datasource.core-*.jar.

100

Implementation with different database types

...