Vector Database Providers
Vectra supports multiple vector database providers. Choose the one that best fits your needs.
Supported Providers
| Provider | Type | Best For |
|---|---|---|
| Pinecone | Managed Cloud | Production, Zero ops |
| Qdrant | Open Source | Self-hosted, Performance |
| Weaviate | Open Source | Semantic search, GraphQL |
| pgvector | PostgreSQL | SQL integration, ACID |
Quick Comparison
Pinecone
- Fully managed service
- Easy setup
- Highly scalable
- Cloud only
- Paid service
Qdrant
- Open source
- Self-hosted option
- High performance
- Cloud option available
- More configuration
Weaviate
- Open source
- Semantic search
- GraphQL API
- Multi-model support
- More complex setup
pgvector
- SQL database
- ACID transactions
- Use existing Postgres
- Very affordable
- Not vector-specialized
Switching Providers
One of Vectra’s key features is easy provider switching:
# Just change the provider - your code stays the same!
client = Vectra::Client.new(provider: :qdrant, host: 'localhost:6333')
# All operations work identically
client.upsert(vectors: [...])
results = client.query(vector: [...], top_k: 5)