什么是Elasticsearch快照保留规则MAX_COUNT?

发布于 2025-02-12 01:13:17 字数 584 浏览 0 评论 0 原文

Elasticsearch文档指出:

快照存储库可以安全地扩展到数千个快照。但是,要管理其元数据,一个大存储库需要在主节点上更多的内存。保留规则确保存储库的元数据不会增长到可能破坏主节点稳定的大小。

什么是“安全”数量的快照不会破坏召集节点的稳定? 我正在使用8.2版,需要在我的存储库中节省1000-3000个快照,这是安全的吗?

The Elasticsearch documentation states:

A snapshot repository can safely scale to thousands of snapshots. However, to manage its metadata, a large repository requires more memory on the master node. Retention rules ensure a repository’s metadata doesn’t grow to a size that could destabilize the master node.
snapshot-retention-limits

What is a "safe" number of snapshots that will not destabilize the muster node?
I'm using version 8.2 and need to save between 1000-3000 snapshots in my repository, is this safe?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

祁梦 2025-02-19 01:13:17

tldr;

它们不是每句话的规则,这将取决于您的用例。
但是您可以查看默认情况下设置弹性托管服务

最小快照数必须至少为12,最大限制为100。

Tldr;

They are no rules per say, it will depends on you use case.
But you can look at the settings by default on elastic managed services.

The minimum number of snapshots must be at least 12, the maximum limit is 100.

But as you mentioned, if you have big master nodes you could have more.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文