How to: |
As the size of an index library increases, the search speed decreases and can eventually cause the indexing or search process to stop working. The dynamic partitioning feature enables the scalability of local index files by splitting index folders into partitions and thereby increasing the performance of the indexing and search processes significantly. For example, once a feed process starts for a data source called retail, new index folders named retail1, retail2,retail3 and so on are created dynamically.
To enable dynamic partitioning, you must complete the following steps:
The data source value can be set depending on which indexing method you are using:
index_name:folder_size
where:
Is the name of the index to be partitioned.
Is the maximum size of the index before it is dynamically partitioned. The default value is 10 GBs.
ENGINE MAGNIFY SET DATASOURCE = index_name:folder_size
where:
Is the name of the index to be partitioned.
Is the maximum size of the index before it is dynamically partitioned. The default value is 10 GBs.
Note: The Dynamic Partitioning feature requires a database. For more information about configuring the database connection settings, see How to Set Search Engine Parameters in the WebFOCUS Console. After configuring the database parameters, you must execute the \ibi\WebFOCUSxx\utilities\WFReposUtil\MagnifyCreateDDL scripts. The default parameter must be edited before executing the scripts. See procedure below to edit the default parameter.
<collections>
<group name="all" id="all">
<component id="retail" member="retail.*" />
<collections>
Note: The default time for the Cleanup Cycle Interval is 15 minutes.
WebFOCUS |