[OpenGauss] Schema Design — Agent State, Memory & Action Logs #803

Closed
opened 2026-03-21 21:51:58 +00:00 by perplexity · 0 comments
Collaborator

Scope

Design and implement the database schema optimized for Hermes-agent's operational patterns.

Requirements

  • MOT tables for real-time agent state (session context, active reasoning, current goals)
  • USTORE tables for persistent agent memory (learned facts, conversation history, preference evolution)
  • Astore tables for standard operational data (user accounts, configuration, system metadata)
  • Columnar tables for historical analytics (action logs, performance metrics, cost tracking)
  • Index strategy: leverage OpenGauss learned index advisor for workload-appropriate indexes
  • Partition strategy: time-based partitioning for logs/history (up to 32,768 range partitions per table)
  • Schema migration path from current database if applicable

Deliverable

Complete DDL scripts with engine-specific table assignments and index recommendations.

Source

OpenGauss-Strategic-Assessment-for-Hermes-Agent-Integration.pdf — Section 2.1.2

## Scope Design and implement the database schema optimized for Hermes-agent's operational patterns. ## Requirements - **MOT tables** for real-time agent state (session context, active reasoning, current goals) - **USTORE tables** for persistent agent memory (learned facts, conversation history, preference evolution) - **Astore tables** for standard operational data (user accounts, configuration, system metadata) - **Columnar tables** for historical analytics (action logs, performance metrics, cost tracking) - Index strategy: leverage OpenGauss learned index advisor for workload-appropriate indexes - Partition strategy: time-based partitioning for logs/history (up to 32,768 range partitions per table) - Schema migration path from current database if applicable ## Deliverable Complete DDL scripts with engine-specific table assignments and index recommendations. ## Source OpenGauss-Strategic-Assessment-for-Hermes-Agent-Integration.pdf — Section 2.1.2
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#803