Question: Storing last value only and storing static data.
- 主要言語
- Java
- スター
- 6.4k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 115
説明
I am collecting IT infrastructure metrics - cpu, ram, network I/O etc. which fits nicely in iotDB since I need to track this over time.
I am also collecting infrastructure detail such as up time, host operating system etc.
As the uptime (as a long integer) is always increasing I dont need to keep the data in a timeseries and I am only interested in the last value as such I am storing this in a relational database along with other static data such as host OS name which should never change. The data is collected ever 5 minutes but is unlikely to change so I just do an "update" statement in the RDBMS.
I would like to store this in iotDB if possible to avoid having to support 2 databases.
Is there a way to;
1. Store static information which does not change?
2. Store a long integer but only keep the last value?
Should I use TTL to limit the amount of data? I only see reference to TTL at the storage group level. Im guessing TTL isnt the answer since all data may disappear if the host stops sending data.
Should I delete and insert every time? Will this affect performance?
コントリビューションガイド
調査の方向性
ソースファイル、テスト、エントリポイントは指定されていません。まず、静的な測定値、最新値の保持、TTL の動作、更新または削除/挿入操作に対する IoTDB の既存のサポートを確認してください。完了条件は、要求された両方のストレージケースとデータ損失に関する懸念を網羅した、文書化され決定されたアプローチです。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100