qdrant-migration-tool
Guides use of the Qdrant Migration Tool CLI to move vectors, metadata, and sparse embeddings from another vector database into Qdrant. Use when someone asks 'how do I migrate from Pinecone/Weaviate/Milvus/Elasticsearch/OpenSearch/pgvector/s3/Azure/DynamoDB/Turbopuffer/Chroma/Redis/MongoDB/FAISS/Solr
- 01GitHub stars
- 267
- 02Installs
- New
- 03Files scanned
- 1
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 c617af2bf5c8225d… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Qdrant Migration Tool
The tool is a Docker container (registry.cloud.qdrant.io/library/qdrant-migration), not a library you import. It streams data in batches through the machine it runs on rather than connecting source and target directly, and it resumes by default rather than restarting from scratch. Migrate to Qdrant
Picking the Right Subcommand
Use when: starting a new migration and choosing the source-specific CLI subcommand.
- Each source has its own subcommand, listed in the Supported Sources table; most are named after the source, the non-obvious ones are
pg(pgvector),s3(S3 Vectors), andazure(Azure AI Search). - Weaviate, Redis, MongoDB, and Apache Solr do not auto-create the target collection; create it in Qdrant first with matching vector size and distance metric before running the migration. All other sources auto-create it.
- Read the source's guide (linked from the same table) before running the migration: credentials and concept mapping (namespaces, indexes, metadata fields) are source-specific.
- Source not listed? Point to the GitHub issue tracker rather than improvising a custom pipeline. Open an issue
Running Against Local Instances
Use when: either the source or target database runs on the same machine as the migration container.
- Add
--net=hostto thedocker runcommand; without it, the container cannot resolvelocalhoston the host machine. Migrate to Qdrant - Run the container on a machine with low latency to both databases. Direct source-target connectivity is not required since the tool streams through wherever it runs, but round trips from the migration host to each database still add up.
Migration Was Interrupted
Use when: a migration stopped partway through and needs to continue, or needs to be re-run from zero.
- Re-run the exact same command. Progress is tracked in the
_migration_offsetscollection in Qdrant, so it resumes automatically rather than re-copying already-migrated points. - Pass
--migration.restartto discard saved progress and start over, e.g. after fixing a bad source-side filter or changing collection schema mid-migration. - Custom offsets-collection name only matters if you're running multiple concurrent migrations into the same Qdrant instance; otherwise leave
--migration.offsets-collectionat its default to avoid tracking state you'll forget to look for later.
Migration Is Too Slow
Use when: throughput is too low for the size of the source dataset.
- Raise
--migration.batch-sizefrom the default of 50 to 256 or 512 for large migrations; small batches under-use each upsert round trip. --migration.num-workersonly exists for thepgandqdrantsubcommands; other sources have no parallel-worker flag, so throughput there is bounded by batch size and network proximity alone.--migration.batch-delaydefaults to 0; only raise it deliberately to throttle load on a source database that can't absorb full-speed reads, not as a default tuning knob.
After Migration
Use when: the migration command finished and data needs to be trusted before cutting over traffic.
- Run through the verification framework rather than spot-checking a few points: it covers pre-migration baselines, data integrity checks, and search-quality validation, not just point counts. Migration Verification Guide
- If Postgres/pgvector stays live alongside Qdrant post-migration, set up an ongoing sync strategy (event-driven, batch, or dual-write) instead of treating the migration as a one-time cutover. Keeping Postgres in Sync
What NOT to Do
- Assume Weaviate, Redis, MongoDB, or Solr auto-create the target collection; these sources don't expose vector dimensions or distance metric to the tool, so the collection must be created manually first with settings that exactly match the source. Migrate to Qdrant
- Point the
faisssubcommand at a quantized FAISS index; onlyIndexFlatL2,IndexFlatIP,IndexHNSWFlat, andIndexIVFFlatare supported, since quantized indexes don't retain the original vectors. FAISS - Assume every Pinecone index can be migrated; only serverless indexes support the list operation the tool needs to enumerate vectors.Pinecone
- Run a
qdrant-to-qdrantmigration into an existing target collection without checking its vector size first; source and target dimensions must match exactly, only replication and shard settings are allowed to differ. - Connect over TLS to a source or target signed by a private or self-signed CA without mounting it via
SSL_CERT_FILE; the migration fails on certificate verification instead of degrading gracefully, and--skip-tls-verificationshould be a deliberate override, not a default fix. - Pass
--migration.restartout of caution on a healthy resume; it discards saved progress and re-streams data that already migrated. - Treat a completed migration run as verified without running data integrity and search quality checks.
Files
1- SKILL.md
c7d6ed6ebb6.1 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from qdrant/skills8
Qdrant provides client SDKs for various programming languages, allowing easy integration with Qdrant deployments.
Guides Qdrant deployment selection. Use when someone asks 'how to deploy Qdrant', 'Docker vs Cloud', 'local mode', 'embedded Qdrant', 'Qdrant EDGE', 'which deployment option', 'self-hosted vs cloud', or 'need lowest latency deployment'. Also use when choosing between deployment types for a new proje
Guides building on Qdrant Edge, the embedded in-process shard. Use when someone asks 'how to sync Edge with the server', 'keep a local shard in sync with Qdrant Cloud', 'BM25 or keyword search on Edge', 'hybrid search on Edge', 'embeddings on device', 'Edge snapshots', 'apply a partial snapshot', 'w
Diagnoses and guides Qdrant horizontal scaling decisions. Use when someone asks 'vertical or horizontal?', 'how many nodes?', 'how many shards?', 'how to add nodes', 'resharding', 'data doesn't fit', 'need more capacity', 'change replication factor', 'reduce replicas', or 'remove extra replicas'. Al
Setting up and running Qdrant Hybrid Cloud on your own Kubernetes cluster (managed, on-prem, or edge): prerequisites, storage/CSI and backups, installing the Qdrant Cloud agent and operator, creating/exposing/securing clusters, registry mirroring, and secret rotation. Use when someone wants to set u
Explains hybrid search in Qdrant. Use when someone asks 'how do I setup hybrid search?', 'how to combine keyword and semantic search?', 'sparse plus dense vectors?', 'missing keyword matches', 'how to combine results from multiple searches?' and 'combining multiple representations'. Also use for how
Fusing scores from multiple searches into a single ranked result (RRF, DBSF, custom fusion). Use when someone asks 'RRF or DBSF?', 'how to combine sparse and dense', 'how to combine scores from multiple searches?', 'custom fusion', 'fusion is not producing good results', 'how do I tune RRF', 'what k
Constructing prefetch queries for hybrid retrieval, including BM25/dense and multi-field setups, and choosing a lexical retrieval method. Use when someone asks 'dense and sparse in one search?', 'how to combine multiple fields for retrieval?', 'payloads or sparse vectors for lexical?', 'BM25 on a fu
Related database skillsscan passed
Pick Jetson-compatible containers, vLLM runtime images, and Jetson AI Lab PyPI indexes; maps Orin SM 8.7 vs Thor SM 11.0 and JetPack-specific package choices.
Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client (eg, when calling `connect()`), configuring connection pools, troubleshooting con
Execute and manage Athena SQL queries across default and federated catalogs (Glue, S3 Tables, Redshift). Triggers on phrases like: query data, run SQL, athena query, analyze table, SQL query, workgroup status, profile table, query Redshift catalog, query S3 Tables. Do NOT use for finding specific da
Assists in provisioning instances and databases, designing performant schemas, and querying data in Cloud Spanner on Google Cloud. Use when designing primary keys, writing SQL queries or client library code, or diagnosing performance issues.
Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.
Migrate Android TV apps from legacy Leanback UI Toolkit, Android Views,