Skip to main content
AI Memory Architecture

RCTDB vs Vector Databases

Pinecone and Weaviate are excellent at semantic search. RCTDB is designed for something different โ€” AI memory with constitutional governance. The 8-dimensional schema stores not just what was retrieved, but who requested it, which models processed it, and whether the data subject has since claimed their right to erasure.

PDPA ComplianceAI Provenance74% Compression

Pinecone / Weaviate (Vector DB)

  • โ€ขStores embedding vectors for semantic search
  • โ€ขOptimized for retrieval speed and scale
  • โ€ขNo native concept of data subject identity
  • โ€ขNo built-in audit trail per retrieval
  • โ€ขPDPA compliance must be built externally
  • โ€ขCannot store FDIA scores or model chains
  • โ€ขIndustry-standard RAG knowledge base tool

Best for: RAG retrieval, recommendation, semantic search

RCTDB (AI Memory Schema)

  • โ€ข8-dimensional schema: query, FDIA, UUID, model chain...
  • โ€ขsubject_uuid: native PDPA data subject tracking
  • โ€ขUUID tombstone: PDPA-compliant right to erasure
  • โ€ขAutomatic provenance trail (Section 33 evidence)
  • โ€ขStores consensus_result from SignedAI verification
  • โ€ขDelta Engine: 74% lossless compression
  • โ€ขWarm recall: cached responses served in <50ms

Best for: enterprise AI with PDPA/GDPR compliance

When to Use Both

  • โ€ขUse Pinecone/Weaviate for external knowledge retrieval
  • โ€ขUse RCTDB for AI decision memory and compliance
  • โ€ขRAG retrieval from vector DB โ†’ decision stored in RCTDB
  • โ€ขRCTDB Delta Engine caches retrieval patterns over time
  • โ€ขResult: compliant RAG system with full audit coverage

Best for: production enterprise RAG at scale

The PDPA Compliance Gap

Under Thailand's PDPA (and GDPR), when a data subject requests erasure of their data, you must be able to erase it from every system that holds it โ€” including your AI memory. Vector databases store embedding vectors with no concept of data subject identity. When you need to erase a person's data, you cannot identify which vectors belong to them. RCTDB's subject_uuid โ†’ tombstone pattern solves this architecturally, not procedurally.

Feature Comparison Matrix

FeaturePineconeWeaviateRCTDB
Semantic similarity search
PDPA subject UUID field (native)
Right-to-erasure (UUID tombstone)
Audit trail per query (automatic)
FDIA score storage (D/I/A/F)
Model chain provenance
SignedAI consensus tracking
Delta compression (74% lossless)
PDPA Section 33 evidence (auto)
Multi-tenant data isolation
Graph/relationship traversal
Yes Partial No

When to Use Which

ScenarioPineconeWeaviateRCTDB
Product recommendation engineโœ…โœ…โš ๏ธ
Enterprise AI with PDPA compliance (Thailand)โŒโŒโœ…
Multi-LLM agentic workflow memoryโŒโŒโœ…
Knowledge base for RAG systemโœ…โœ…โœ…
AI decision audit (regulatory requirement)โŒโŒโœ…

Explore the RCTDB Architecture

Read how RCTDB's 8 dimensions provide both AI memory and PDPA compliance simultaneously