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:
10
crates/nexus-store/migrations/0003_metrikproben.sql
Normal file
10
crates/nexus-store/migrations/0003_metrikproben.sql
Normal 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);
|
||||
Reference in New Issue
Block a user