Doku
TriviumDB: vom Modell zu dauerhaften Writes.
TriviumDB ist eine KI-native eingebettete Datenbank, die Vektoren, Graphbeziehungen und JSON-Payloads über eine dauerhafte Node-ID adressiert. Diese Notizen sind der konzeptionelle Einstieg in die Engine.
Wählen Sie das Binding, das zur Laufzeit Ihres Agenten passt.
- Python
pip install triviumdb - Node.js
npm install triviumdb - Rust
cargo add triviumdb
Erste Schritte
- Schnellstart Aus Python, Node oder Rust installieren und dauerhafte Gedächtnisknoten für Agenten anlegen.
- Kernkonzepte Wie eine Node-ID Vektorposition, JSON-Payload und Graphkanten verbindet.
- Zuverlässigkeit Transaktionsprüfung, CRC-geschützte WAL-Wiederherstellung, Replay des sicheren Präfixes und atomare Checkpoints.
Anleitungen
- Best Practices Datenmodellierung, Performance-Tuning, Transaktionen, TQL-Muster und Stolperfallen. 中文
- Document retrieval Find documents and return ranked evidence with source spans and revisions. 中文
- Document ingestion Parse sources, map extracted text back to the original and publish large documents in batches. 中文
- Named graphs Share nodes across graphs while keeping memberships, revisions and edges distinct. 中文
- Database migration Upgrade a historical database into a new directory with the external migration tool. 中文
- Ressourcen-Laufzeit Gemeinsame Kontingente, Wartungsreserven, Worker-Pools und Instanzdiagnose. 中文
- Herunterfahren, Snapshots und Wiederherstellung Close-Anfragen, begrenzte Wartezeiten, konsistente Snapshots, Prüfung und Wiederherstellung. 中文
- Eingebettete Console Stellen Sie die Console-RPC auf einer bereits geöffneten Datenbank bereit, mit derselben Instanz und Dateisperre. 中文
- Hook-Entwicklung Sechs Hook-Punkte in der Pipeline, C/C++-FFI-Plugins, Rust-Hooks und Pipeline-Diagnose. 中文
- tdb CLI Befehle, REPL- und TUI-Modus, Import und Export, Reparatur und Kompaktierung. 中文
Referenz
- API-Referenz Die gesamte API für Python, Node.js und Rust mit Parametern und Rückgabetypen. 中文
- TQL-Referenz Syntax von FIND, MATCH und SEARCH, WITH-Pipelines, Prepared TQL und die Grammatik. 中文
- Funktionen im Detail Architektur, Storage-Engine, Indexstrategie, Graphsuche und Absturzwiederherstellung. 中文
- QuIVer-Index Automatische Schwellen, SM-L2-Navigation, Speichermodell und Tuning. 中文
- Pelorus hyperbolic index Search fixed-curvature Poincaré ball embeddings by geodesic distance. 中文
- SDK compatibility Supported Rust, Python and Node.js interfaces and their compatibility boundaries. 中文
- Error contracts Stable error codes, request context and write outcomes across language bindings. 中文
Interna
Versionshinweise
0.9.4 Änderungen, Migrationshinweise und Kompatibilität dieser Version.Für v0.9.4