Building a RAG Knowledge Assistant, Part 2: The Foundation (Database, Storage, and Background Jobs)
Nov 24, 2026•Venkata Lokesh P
Part 2: why pgvector instead of a dedicated vector database, why files live in object storage instead of Postgres, why background jobs exist, and the real data model behind the RAG assistant.
RAGPostgreSQLpgvectorSystem DesignDatabase Design