Why neurondb
Vector Search & Indexing
Multiple vector types (float32, float16, int8, binary), 10+ distance metrics, HNSW and IVF indexing with automatic tuning, 2x-32x quantization.
ML & Embeddings
Text, image, and multimodal embedding generation with caching. ONNX runtime for model inference, batch processing, and fine-tuning support.
Hybrid Search
Combine vector and full-text search with weighted scoring. Multi-vector support, faceted search, and temporal decay for relevance.
Reranking
Cross-encoder reranking, LLM-powered scoring (GPT/Claude), ColBERT late interaction models, and ensemble strategies.
RAG Pipeline
Complete Retrieval Augmented Generation pipeline in-database. Document processing, retrieval, generation, and best practices.
Background Workers
neuranq (async job queue), neuranmon (auto-tuner), neurandefrag (index maintenance). Production-ready with tenant isolation.
Analytics
K-means and DBSCAN clustering, PCA/UMAP dimensionality reduction, outlier detection, and embedding quality metrics.
Performance & Security
SIMD-optimized operations, intelligent query planning, encryption, differential privacy, row-level security, and comprehensive monitoring.
PostgreSQL Native
Built with PostgreSQL C coding standards. Pure SQL interface, 100+ functions, PostgreSQL 16-18 compatible.
Feature Matrix
| Capability | Description | Performance | Production Ready |
|---|---|---|---|
| Vector Search | HNSW indexing, multiple distance metrics, quantization | Sub-millisecond on millions | ✓ |
| ML Inference | ONNX runtime, batch processing, embedding generation | High-throughput batch ops | ✓ |
| Hybrid Search | Vector + FTS, multi-vector, faceted, temporal | Optimized query planning | ✓ |
| Reranking | Cross-encoder, LLM, ColBERT, ensemble | GPU-accelerated support | ✓ |
| Background Workers | Queue executor, auto-tuner, index maintenance | Non-blocking async ops | ✓ |
| RAG Pipeline | Complete in-database RAG with document processing | End-to-end optimization | ✓ |
Feature Comparison
| Feature | NeurondB | pgvector | pgvectorscale | pgai |
|---|---|---|---|---|
| Vector Indexing | HNSW + IVF | HNSW + IVF | StreamingDiskANN | No (uses pgvector) |
| ML Inference | ONNX Runtime | None | None | OpenAI/Ollama API |
| Embedding Generation | In-database | External | External | External API |
| Hybrid Search | Native (Vector+FTS) | Manual | Manual | Manual |
| Reranking | Cross-encoder, LLM, ColBERT | None | None | None |
| Background Workers | Queue, Tuner, Defrag | None | None | None |
| RAG Pipeline | Complete In-DB | None | None | Partial (API calls) |
| Quantization | 2x-32x (FP16, INT8, Binary) | Binary only | Binary only | None |
| Analytics | Clustering, PCA, UMAP, Outliers | None | None | None |
| Multi-Tenancy | Tenant isolation + quotas | Manual | Manual | Manual |
| Auto-Tuning | Background worker | None | None | None |
| PostgreSQL Versions | 16, 17, 18 | 12-18 | 15-18 | 16-18 |
| License | Apache 2.0 | PostgreSQL | Timescale License | PostgreSQL |