marklogic - MarkLogic 中是否有设置最大森林大小的参数?

标签 marklogic

是否有任何参数可以控制森林的最大尺寸? 或任何最佳实践,运行中的脚本?

最佳答案

森林大小没有硬性限制,但有一些一般准则。文档的大小和类型、索引、硬件规范和使用模式等因素都会影响性能。

来自 MarkLogic Scalability, Availability, and Failover Guide 第 3 章的指南:

Forest Sizes Per Data Node Host

As your content grows in size, you might need to add forests to your database. There is no limit to the number of forests in a database, but there are some guidelines for individual forest sizes where, if the guidelines are greatly exceeded, then you might see performance degradation.

The numbers in these guidelines are not exact, and they can vary considerably based on the content. Rather, they are approximate, rule-of-thumb sizes. These numbers are based on average sized fragments of 10k to 100k. If your fragments are much larger on average, or if you have a lot of large binary documents, then the forests can probably be larger before running into any performance degradation.

The rule-of-thumb maximum size for a forest is 512GB. Each forest should ideally have two vCPUs of processing power available on its host, with 8GB memory per vCPU. For example, a host with eight vCPUs and 64GB memory can manage four 512GB forests. For bare-metal systems, a hardware thread (hyperthread), is equivalent to a vCPU. It is a good idea to run performance tests with your own workload and content. If you have many configured indexes you may need more memory. Memory requirements may also increase over time as projects evolve and forests grow with more content and more indexes.

关于marklogic - MarkLogic 中是否有设置最大森林大小的参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51033414/

相关文章:

marklogic - Marklogic-9 中的调试消息未记录在 'Error Log' 中

sparql - 在单个 SPARQL 查询中可以插入的三元组数量是否有限制?

marklogic - MarkLogic 中同一文档的多个 URI?

java - MarkLogic TCP 连接

xml - 在 Marklogic 数据库中存储名称/值对的最有效方法是什么

javascript - 在路径范围查询中使用命名空间

json - 如何仅使用不同的值对 JSON 文档进行分组?

xml - 在Marklogic中,如何有效地深度比较两个xml文档?

xquery - 在XQuery Marklogic中如何动态排序?

node.js - Marklogic 9 + Roxy : can't connect to created database using Node. js