Skip to main content

Managed Qdrant Vector Database

Okustera Managed Qdrant delivers ultra-fast, high-dimensional vector similarity search and document indexing for Retrieval-Augmented Generation (RAG), semantic search, and AI recommendation engines.

Deployed on dedicated tenant-isolated compute instances backed by replicated NVMe block storage, Okustera Qdrant combines Rust performance with zero-trust private networking and automated API key escrow via Okustera Key Management Service (KMS).


Architectural Highlights​

Key Capabilities​

  • On-Disk NVMe Vectors & Payloads: Payloads and vector indices are persisted directly to high-IOPS NVMe block volumes, optimizing memory efficiency while maintaining low-latency search performance.
  • Scalar Quantization: Compresses 32-bit floating-point embeddings (FP32) into 8-bit integers (INT8), reducing RAM consumption by up to 90% with minimal precision loss.
  • Native Hybrid Search (Dense + Sparse BM25): Supports dense neural embeddings combined with sparse BM25 keyword vectors in a single retrieval query for superior ranking accuracy.
  • Payload Metadata Pre-Filtering: Filters vectors directly during HNSW graph traversal based on metadata tags (tenant_id, document_type, timestamps) rather than filtering after retrieval.
  • Zero-Trust Private Access: Vector clusters are provisioned strictly on private tenant networks (:6333 HTTP, :6334 gRPC) with no public internet exposure, ensuring proprietary embeddings never traverse public ingress routes.
  • KMS Key Escrow: High-entropy API keys are automatically generated, vaulted in Okustera KMS, and securely provisioned to your cluster.

Provisioning via Okustera Portal, REST API & Terraform​

Portal Cloud Console​

  1. Navigate to Database Services (DBaaS) in the Okustera Portal.
  2. Click Create Database Cluster and select Qdrant Vector DB.
  3. Specify your cluster name, tenant namespace, CPU/memory limits, and NVMe storage allocation (default: 10 GiB).
  4. Click Create Cluster. Your private cluster endpoint (http://<qdrant-endpoint>:6333) and API key will be displayed with one-click copy.

REST API Example​

curl -X POST "https://portal.okustera.com/api/v1/dbaas/qdrant" \
-H "Authorization: Bearer ${OKUSTERA_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"name": "enterprise-rag-kb",
"namespace": "default",
"storage_size": "20Gi",
"cpu_limit": "2",
"memory_limit": "4Gi"
}'

Terraform Example​

resource "okustera_database_qdrant" "rag_kb" {
name = "enterprise-rag-kb"
namespace = "production"
replicas = 3
storage_size = "20Gi"
}

output "qdrant_http_endpoint" {
value = okustera_database_qdrant.rag_kb.http_endpoint
}

Refer to the Terraform Resource Reference for complete schema documentation.


Connecting from Python (qdrant-client)​

To query your private Qdrant cluster from an application running within your tenant private network or over VPN:

import os
from qdrant_client import QdrantClient
from qdrant_client.models import Distance, VectorParams, PointStruct

# Connect via private tenant endpoint
client = QdrantClient(
url=os.environ.get("QDRANT_URL", "http://<qdrant-endpoint>:6333"),
api_key=os.environ.get("QDRANT_API_KEY"),
)

collection_name = "knowledge_base"

# Create a collection with cosine distance metric
if not client.collection_exists(collection_name):
client.create_collection(
collection_name=collection_name,
vectors_config=VectorParams(size=1536, distance=Distance.COSINE),
)

# Upsert sample embedding points
client.upsert(
collection_name=collection_name,
points=[
PointStruct(
id=1,
vector=[0.05] * 1536,
payload={"source": "sovereign_cloud_spec.pdf", "tenant_id": "acme-corp"},
)
],
)

# Perform similarity search with metadata pre-filtering
results = client.search(
collection_name=collection_name,
query_vector=[0.05] * 1536,
limit=5,
)

for hit in results:
print(f"Point ID: {hit.id}, Score: {hit.score}, Payload: {hit.payload}")

Connecting via cURL / REST API​

Within the tenant private network:

# Verify cluster health
curl -s -H "api-key: ${QDRANT_API_KEY}" \
http://<qdrant-endpoint>:6333/readyz

# List all collections
curl -s -H "api-key: ${QDRANT_API_KEY}" \
http://<qdrant-endpoint>:6333/collections

Technical Specifications​

ParameterSpecification
EngineQdrant Vector Database
LanguageRust
PersistenceReplicated NVMe Block Storage
Network ExposurePrivate tenant network (TCP 6333 HTTP, TCP 6334 gRPC)
Public RoutingNone (Zero-Trust isolated)
AuthenticationAPI key automatically vaulted in Okustera KMS
Distance MetricsCosine, Dot Product, Euclidean, Manhattan
Index TypesHNSW (Hierarchical Navigable Small World) with on-disk payload