Vector Database — a DB optimised for storing + searching vectors (embeddings) via ANN (Approximate Nearest Neighbor) algorithms. HNSW, IVF, DiskANN — common indexing. Supports hybrid search (vector + keyword), metadata filtering, upsert/delete. 2026 leaders: Qdrant (Rust open-source, fastest), Pinecone (managed, expensive), Weaviate (open hybrid search), Milvus (CNCF), pgvector (Postgres extension, simple).
Below: details, example, related terms, FAQ.
Free online tool — HTTP header checker: instant results, no signup.
# Qdrant: create collection + insert + search
curl -X PUT http://localhost:6333/collections/docs \
-H 'Content-Type: application/json' \
-d '{"vectors": {"size": 1536, "distance": "Cosine"}}'
# Insert
curl -X PUT http://localhost:6333/collections/docs/points \
-d '{"points": [{"id": 1, "vector": [0.1, 0.2, ...], "payload": {"text": "..."}}]}'
# Search top-5
curl -X POST http://localhost:6333/collections/docs/points/search \
-d '{"vector": [0.1, 0.2, ...], "limit": 5}'A vector database is a specialized database designed to store, index, and manage high-dimensional vectors, often used in machine learning and AI applications for similarity search and retrieval tasks. Unlike traditional databases that rely on structured queries, vector databases utilize vector embeddings to enable efficient searches through large datasets, making them essential for applications like recommendation systems, image retrieval, and natural language processing.
A vector database is a system optimized for handling high-dimensional vector data, which represents information in a format suitable for machine learning algorithms. Each vector is a point in a multi-dimensional space, and the distance between these points can signify similarity. Vector databases leverage this spatial representation to facilitate operations like nearest neighbor search, clustering, and classification.
Typically, vectors are generated via techniques such as:
For instance, a vector representing the word 'apple' in a word embedding model may be close to vectors of similar fruits like 'banana' and 'orange,' while being distant from unrelated terms like 'car' or 'house.'
Implementing a vector database can enhance the performance of applications that require rapid similarity searches. Below is a step-by-step guide to deploying a vector database using Milvus, an open-source vector database solution.
docker run -d --name milvus_db -p 19530:19530 milvusdb/milvus:v2.0.0-20211116-3d8f9ffrom pymilvus import connections, CollectionSchema, FieldSchema, DataType, Collection
connections.connect(host='localhost', port='19530')
fields = [
FieldSchema(name='embedding', dtype=DataType.FLOAT_VECTOR, dim=128),
FieldSchema(name='id', dtype=DataType.INT64, is_primary=True)
]
schema = CollectionSchema(fields=fields, description='Example collection')
collection = Collection(name='example_collection', schema=schema)import numpy as np
num_vectors = 1000
vectors = np.random.rand(num_vectors, 128).tolist()
ids = [i for i in range(num_vectors)]
collection.insert([ids, vectors])search_vector = np.random.rand(1, 128).tolist()
search_results = collection.search(search_vector, 'embedding', param={'nprobe': 10}, limit=5)This query will return the top 5 vectors most similar to the generated search vector. The nprobe parameter controls the number of partitions to search, balancing search speed and accuracy.
In summary, vector databases like Milvus provide essential tools for developers looking to implement AI-driven applications that require efficient handling of high-dimensional data.
pgvector: simplicity (you already run Postgres), up to ~1M vectors. Dedicated: better at >10M, hybrid search, HA. Start with pgvector, migrate if upgrade needed.
Qdrant: open source, self-host, fast Rust, $0 cost. Pinecone: managed, no ops, $70+/mo. Enterprise features: Qdrant Cloud or Pinecone.
<a href="/en/ping">Enterno Ping</a> for port 6333 (Qdrant). <a href="/en/monitors">Monitors</a> for /health endpoint.
Free plan — 10 monitors, checks every 5 min, no card required. Upgrade for 1-minute interval and multi-region monitoring.