# PluginStore 的适当用途有哪些？

**URL:** <https://meta.discourse.org/t/what-are-appropriate-uses-of-pluginstore/154346>\
**Category:** Development\
**Created:** [2020 年6 月 9 日 21:18 UTC](https://meta.discourse.org/t/what-are-appropriate-uses-of-pluginstore/154346 "2020-06-09T21:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
发布日期： [2020 年6 月 9 日 21:32 UTC](https://meta.discourse.org/t/what-are-appropriate-uses-of-pluginstore/154346/2 "2020-06-09T21:32:18Z")

</div>

> [@mcdanlj](#):
>
> 考虑到所有因素，我每个主题最多只存储一个值，因此这似乎属于相对较低的基数。这对 PluginStore 来说合理吗？

如果您每个主题最多存储一个值，那么使用主题自定义字段可能更适合此用例。

PluginStore 是一个简单的键值（KV）存储，适用于数据基数过高、不适合现有自定义字段表的插件场景。近年来，我们正将插件迁移到其专属表中，以在必要时提高数据可靠性，就像我们对投票插件所做的那样。如果您的用例适用，您仍然可以使用它。

---

_[View the full topic](https://meta.discourse.org/t/what-are-appropriate-uses-of-pluginstore/154346)._
