Docs
/
Architecture
/
Storage
Petey s5 spike
Previous
Introduction
Next
On this page
Overview
Database Context
OpenClawDbContext
Core Entities
ChatSession
ChatMessageEntity
SessionSummary
ToolCallRecord
Job Scheduling Entities
ScheduledJob
JobRun
Configuration & Settings Entities
ProviderSetting
ModelProviderDefinition
AgentProfileEntity
Entity Relationship Diagram (Conceptual)
Initialization & Migration
Startup Sequence
SchemaMigrator Pattern
Query Patterns
Load Session with History
Get Recent Messages
Find Summaries for a Session
Get Scheduled Jobs Due Now
Storage Considerations
SQLite Advantages
Limitations & Workarounds
Backup Strategy
Performance Notes
Indexes
Query Optimization
Integration Points
Gateway → Storage
Agent Runtime → Storage
Job Scheduler → Storage
References
Scroll to top
Ask AI about this page
Copy as Markdown
Was this page helpful?
Yes
No