From Dev.to
Your embeddings are 32x bigger than they need to be. Maybe.
Every OpenAI embedding you store in Postgres is 6 KB. A hundred million documents is 600 GB of vectors before you build a single index, and an HNSW index wants to live in RAM. That is how a RAG protot...
