gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 23:34:00 29 4
gpt4 key购买 nike

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

最佳答案

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

来自 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/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com