-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Can it be changed to a configurable item #980
Comments
hi 这里故意限制的,如果不限制存入H2数据库指标数据量,很容易因为数据库性能问题奔溃。所以我们文档都是建议大家使用配置时序数据库来存储指标数据,时序数据库无限制。 |
hi This is intentionally limited. If you do not limit the amount of index data stored in the H2 database, it is easy to crash due to database performance problems. Therefore, our documents recommend that you use the configuration time series database to store indicator data, and there is no limit to the time series database. |
有猜到限制的用意。 |
There is an intention to guess the limit. |
嗯嗯 可以提供一个配置项啥的让用户自己配置,有兴趣实现这个贡献一波PR吗 |
Hmm, you can provide a configuration item for users to configure by themselves, are you interested in realizing this and contributing a wave of PR? |
Question
由于 HistoryJpaDatabaseDataStorage.MAX_HISTORY_TABLE_RECORD (
private static final int MAX_HISTORY_TABLE_RECORD = 20_000;
)的限制,使用jpa或者mysql存储数据时,最大历史条数只能有20000条。导致历史记录只能记录很短的一个时间范围,能否把这个改成可配置项,由用户决定最大条数。
The text was updated successfully, but these errors were encountered: