Question: Storing last value only and storing static data.
- Langage dominant
- Java
- Étoiles
- 6.4k
- Forks
- 1.2k
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 115
Description
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?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier source, test ou point d’entrée n’est indiqué. Commencez par examiner la prise en charge existante par IoTDB des mesures statiques, de la conservation de la dernière valeur, du comportement de TTL et des opérations de mise à jour ou de suppression/insertion. Le travail sera considéré comme terminé lorsqu’une approche documentée et arrêtée couvrira les deux cas de stockage demandés ainsi que les préoccupations liées à la perte de données.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- databases
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100