Ascii-Core logoAscii-Core
Database

Pinecone / pgvector

Vector databases for semantic search and RAG systems.

Vector databases store and query high-dimensional embeddings for semantic similarity search. We use pgvector (PostgreSQL extension) for projects that already run PostgreSQL, providing vector search without an additional infrastructure dependency. For large-scale standalone vector search (50M+ vectors), we use Pinecone — a managed vector database with sub-10ms query latency at scale.

Why we chose it

Why Ascii-Core uses Pinecone / pgvector

  1. 1

    Semantic search finds conceptually related content even when exact keywords differ — essential for RAG

  2. 2

    pgvector integrates with existing PostgreSQL infrastructure — no additional service to manage for most projects

  3. 3

    Pinecone scales to billions of vectors with consistent query performance — appropriate for large knowledge bases

  4. 4

    Both support metadata filtering — combine vector similarity with structured attribute filters

Ideal use cases

When to use Pinecone / pgvector

  • RAG systems requiring semantic document retrieval
  • AI chatbots that search a knowledge base to answer questions accurately
  • Recommendation engines based on content similarity
  • Semantic duplicate detection in document processing pipelines
  • Multimodal search combining text and image embeddings
Trade-offs

Honest limitations

We believe in accurate trade-offs. These are the cases where a different tool may be the better choice.

  • pgvector performance degrades at very high vector counts (10M+) without index tuning — Pinecone handles this better
  • Vector search requires embedding models to convert text to vectors — adds an API call and cost to every search
  • Approximate nearest neighbour search may miss relevant results at very high recall requirements
Comparisons

Pinecone / pgvector comparisons

How this technology stacks up against common alternatives.

Related

Related technologies

Other tools commonly used alongside this technology in Ascii-Core projects.

FAQ

Pinecone / pgvector questions

Ready to build with Pinecone / pgvector?

We use Pinecone / pgvector in production across client projects in Morocco, Europe and the GCC. Book a discovery call to scope your project.