Hi Sudhakar,

As per MarkLogic Documentation (I took below information from
the inside-marklogic-server-r7.pdf).

A single machine may manage several forests, or in a cluster (when acting
as an E-node, an evaluator) it might manage none. Forests can be queried in
parallel, so placing more forests on a multi-core server can help with
concurrency. Depending on the workload, you might have one forest
corresponding to every physical core on a box, or sometimes a forest for
every two cores, with each forest holding millions or tens of millions of
documents and perhaps a hundred gigabytes. In a clustered environment, you
can have a set of servers, each managing their own set of forests, all
unified into a single database

However as per my experience, number of documents should be less in the
forest for better performance. Data must be distribute evenly in all the
nodes in your clustered environment. ML7 has built-in feature. you have to
select appropriate settings only.

For long Database, make sure merging policy is also defined properly.

Please read the PDF for more information,

https://developer.marklogic.com/pubs/architecture/inside-marklogic-server-r7.pdf

Hope this helps!

Thank You!



On Wed, Apr 1, 2015 at 2:03 PM, Shashidhar Rao <[email protected]>
wrote:

> Hi,
>
> Can someone help me with configuring the optimum number of Forests for a
> database . Details below
>
> Size of data is 1 TB. Format all xml files.
>
> I would like to know which one will be better option
>
> 1. 1 database say testdb and default forest- I think this would be slow.
> 2.  1 database and say ( here how many forest should I create to extract
> maximum performance )
> What criteria should I decide to create the number of forest . I am
> thinking of 250GB per forest so around 4-5 forest. Is it correct?
>
> Please let me know.
>
> Thanks
> sd
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to