Skip to main content
Qdrant can be configured through YAML configuration files, environment variables, or command-line arguments. This guide covers all available configuration options.

Configuration Methods

Create a config/config.yaml file:
Qdrant automatically loads config/config.yaml from the current directory.

Logging Configuration

Log Levels

  • TRACE - Most verbose, includes all operations
  • DEBUG - Detailed debugging information
  • INFO - General information (default)
  • WARN - Warning messages only
  • ERROR - Error messages only
Disk logging creates a file that may grow indefinitely. Monitor disk space when enabled.

Storage Configuration

Basic Storage

Payload Storage

Setting on_disk_payload: true significantly reduces memory usage for large datasets with substantial payload data.

Snapshots Configuration

Write-Ahead Log (WAL)

Performance Configuration

Thread Pools

Concurrency Limits

Advanced Performance

Optimizer Configuration

Basic Optimizers

Tuning Tips:
  • Lower max_segment_size_kb for faster indexing
  • Higher max_segment_size_kb for better search performance
  • Increase default_segment_number for better parallelization

Optimizer Overwrite

Force specific optimizer settings for all collections:

HNSW Index Configuration

HNSW Performance vs Accuracy

High Performance

Faster builds, lower memory, less accurate

High Accuracy

Slower builds, more memory, more accurate

Service Configuration

Network Settings

TLS/SSL

Collection Defaults

Strict Mode

Collection Limits

Node Types

Normal Node
  • Receives all updates
  • Answers all queries
  • Standard operation mode

Cluster Configuration

Do not modify tick_period_ms without understanding the implications. It affects cluster stability and performance.

Shard Transfer

TLS Configuration

Audit Logging

Enabling trust_forwarded_headers without a trusted proxy allows clients to spoof their IP addresses.

Telemetry

Metrics Configuration

Hardware Reporting

Hardware reporting is experimental and not yet officially supported.

Complete Configuration Example

Environment Variable Reference

Configuration keys map to environment variables using the pattern:

Examples

Next Steps

Security

Configure API keys and TLS

Distributed Mode

Set up a cluster

Docker

Deploy with Docker

Kubernetes

Deploy on Kubernetes