feat: Zeitreihen der Messwerte in SQLite (Schema 3), einmal pro Minute, 7 Tage Aufbewahrung (#1042)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 09:34:48 +01:00
parent 65bf576e90
commit 722467f528
10 changed files with 171 additions and 6 deletions

View File

@ -0,0 +1,10 @@
-- Zeitreihen der Messwerte (0.1.4): GPU-Speicher und -Auslastung, VRAM und
-- RAM je geladenem Modell. Kurz aufbewahrt (Standard 7 Tage), für Diagramme.
CREATE TABLE metrik_probe (
id INTEGER PRIMARY KEY,
zeit TEXT NOT NULL,
reihe TEXT NOT NULL,
ziel TEXT NOT NULL,
wert REAL NOT NULL
) STRICT;
CREATE INDEX metrik_probe_reihe_zeit ON metrik_probe (reihe, zeit);