Why changing shard count on self-hosted Qdrant means building a new collection
Self-hosted Qdrant has no in-place path to change the shard count of a live collection. If shard_number was set too low for the data you expect to hold, or too high for the nodes you run, the fix is a new collection with the target shard count, a data copy into it, and an alias switch that points your application at the new collection. This is the method this page covers. Resharding in place is a Qdrant Cloud capability, so self-hosted teams should plan the migration as a project with its own storage budget, cutover window and rollback path rather than as a configuration change.
Teams usually need this when the first shard setting no longer fits the cluster. A collection created with too few shards cannot spread load across added nodes, and one created with many shards on a small cluster carries overhead without benefit. Growth in data volume or a move from one node to three can also make the original count the wrong one. Confirm the current shard_number and replication settings of each collection before you start, because the new collection must be created with the values you actually want, not copied from the old one. Qdrant's open-source engine is licensed under Apache-2.0 and is free to self-host, but the engine does not decide the new layout for you. The Helm chart's lack of automatic shard rebalancing is context here: the sizing decision and the copy are yours to plan and run.
Before committing to a plan, confirm three things with your own environment and the Qdrant collections documentation. First, that the alias switch is atomic in your Qdrant version, so the cutover does not interrupt requests. Second, that your application reads and writes through the alias rather than the physical collection name. Third, how writes arriving during the copy will be captured and replayed. Each of these decisions determines the effort and risk of the work, and they are the questions to put to a partner or to your own team before any data moves.
Which copy method fits your collection
When the old and new collections live in the same self-hosted cluster, a collection snapshot is usually the simplest copy path to reason about. You create a snapshot of the source collection, then restore it under the new collection name with the new shard layout. Because both collections sit on the same nodes, you avoid moving data over the network to a separate target and you avoid running a second cluster. The migration tool can also copy between collections, but the question you need to answer first is whether the restore path your team has tested will produce the shard count you want.
- Snapshot scope: A collection snapshot is a tar archive of one collection on one node, so confirm how your cluster stores shard data before you rely on it for a multi-node copy.
- Disk headroom: The snapshot file and the new collection both need space on the nodes while the copy runs, so plan headroom before you start.
- Full-storage snapshots: These work only on single-node deployments, so do not use them as your copy path on a multi-node cluster.
- Alias switch: Once the new collection is complete, the alias switch is the cutover step, and it does not depend on which copy method you used.
- Verification: Compare point counts and sample payloads between the two collections before you switch traffic.
Before choosing this path, confirm with your Qdrant version and topology notes that the snapshot restore behaves as your test environment shows.
When the target is a different cluster, perhaps a new cluster built with a different node count or a cluster on newer hardware, snapshots need to cross a version boundary and a topology boundary. Qdrant snapshots from one cluster can be restored only to clusters running the same minor version or the next minor version, so the version of your target matters as much as the snapshot itself. Snapshots can be stored in S3-compatible storage since v1.10.0, which gives you a transfer point that both clusters can reach. The Qdrant Migration Tool is designed to stream data from a source into a target in batches, which suits the case where the source system is not a Qdrant snapshot at all or where you want to decouple the copy from snapshot compatibility rules.
- Version rule: A snapshot restores only to the same minor version or the next minor version, so check both clusters before starting.
- S3-compatible transfer: Snapshots stored in S3-compatible storage since v1.10.0 give both clusters a shared location to read from.
- Migration tool source: The tool reads from a supported source, and a Qdrant-to-Qdrant copy is a different case that you should test with your version.
- Network path: Confirm the target cluster can reach the snapshot location or the source endpoint on the ports your security policy allows.
- Upgrade order: If the target runs a newer minor version, plan the upgrade path so the restore is supported.
Check the version of both clusters and the supported restore path in the snapshot documentation before you commit to a cutover date.
A long copy can fail midway because of a network drop, a node restart or a resource limit. The Qdrant Migration Tool streams data in batches and resumes interrupted runs, so a failure does not necessarily mean starting from the first point. That behavior matters most for large collections where a full restart would consume significant time and disk I/O. Snapshot restores work differently: a snapshot is an archive, so a failed restore is generally retried as a whole. Your choice should reflect how much data is at stake and how much time your change window allows for a retry.
- Batch streaming: The migration tool moves data in batches, which limits how much work is lost when a run stops.
- Resume behavior: Interrupted migration runs resume rather than restarting from the beginning, so keep the run identifiers or logs your tool version provides.
- Snapshot retry: A failed snapshot restore usually means repeating the restore from the archive, so keep the archive intact until the new collection passes checks.
- Source stability: Keep writes on the source consistent during the copy, because changes made after the copy starts may need a delta pass.
- Monitoring during the run: Watch node memory, disk and error logs so you can stop and resume before a full failure.
Confirm in your test environment how the tool behaves after an interruption on your exact version before you schedule the production copy.
Snapshots are also backup artifacts, which affects how you store and retain them. A snapshot used for a shard-count change should be kept until the new collection is verified and the alias switch is complete, and many teams keep it longer as a rollback point. S3-compatible storage, supported since v1.10.0, lets you keep those archives outside the cluster nodes so they do not consume the disk that the copy needs. The migration tool does not produce a retained archive in the same way, so you need a separate plan if you want a rollback point that does not depend on the source collection still existing.
- Archive location: Store snapshots in S3-compatible storage to keep them off the cluster disks during the copy.
- Retention period: Decide how long the old collection and its snapshot remain available after the alias switch, and write that period into your change record.
- Access control: Snapshot archives contain your vector data and payloads, so apply the same access rules you use for the source collection.
- Encryption: Confirm how the storage bucket encrypts data at rest and in transit under your policy.
- Restore test: Restore a copy of the archive to a test cluster on the same version path before you rely on it as a rollback.
Before you choose a method, ask your storage and security teams which retention and encryption rules apply to vector data and payloads in your environment.
Configuration choices that shape the new collection
This table compares the five settings you fix before copying data into the replacement collection, with when each choice fits and what it costs in time, disk, or risk. Read it before creating the new collection, because most of these values cannot be changed on a self-hosted cluster once the collection exists.
| Decision | When it fits | Cost in time, disk, or risk |
|---|---|---|
| Target shard_number | Choose a count that is a multiple of your node count so shards spread evenly, and size for expected growth | A higher count adds per-shard overhead on small clusters; a lower count than you need forces another resharding later |
| Replication factor at creation | Set it to the value you will run in production, such as 2 for a three-node cluster, because it is fixed when the collection is created | Each extra copy multiplies stored data, so the new collection needs disk for every replica before the old one is removed |
| Keep payload indexes | Keep them when filtered search must stay fast from the first request after cutover | Index definitions must be recreated and built on the new collection, adding build time and memory use during the copy |
| Keep quantization settings | Keep them when the same memory and speed profile is expected after the move | Changing quantization during the copy alters stored vectors and makes before and after results harder to compare |
| Write during copy | Use this when the source must stay live and you can reconcile changes made after the snapshot or copy point | Writes made during the copy may be missing from the new collection unless you replay them, which is a correctness risk |
| Freeze writes during copy | Use this when data must match exactly at cutover and some downtime for writes is acceptable | Writers wait or fail for the copy duration, so you must confirm acceptable downtime with the application owners |
How to change shard count without interrupting search
This sequence builds a second collection with the target shard count, fills it while the original keeps serving traffic, and moves clients to it with one alias switch. The old collection stays in place until the rollback window closes, and each step ends with a check you can record.
Confirm target layout and disk headroom
Set the new shard_number first, following the distributed deployment guidance to use a shard count that is a multiple of the node count. Then confirm that every node has room for both collections at once, since the old and new copies coexist during the migration and each extra replica adds storage. Record the source point count, payload size, vector configuration and replication factor, and confirm the storage is block-level with a POSIX-compatible file system, because Qdrant cannot run on NFS or S3. Ask your platform team to confirm free space from your own monitoring rather than estimating it. Done when the change plan lists the target shard count, the replication factor and the checked free space on each node.
Create the new collection with target shards
Create a second collection with the same vector size, distance metric, payload indexes and quantization settings as the source, and set shard_number to the value from the plan. Confirm in the vendor's collection documentation whether the replication factor can be changed on an existing collection, and set it now if it cannot. Build the collection with the same client settings your applications use so that later checks reflect production behavior. Check the collection info output: the shard count matches the plan, the status reports green, and no shards are stuck in a transfer or pending state. Do not point any application at this collection yet.
Copy existing points into the new collection
Choose the copy path before starting. The Qdrant Migration Tool streams data in batches and resumes interrupted runs, but its documented sources do not list Qdrant itself, so confirm in its current docs whether it supports your source. Collection snapshots are the documented alternative: they are tar archives of a collection on one node, and a snapshot can only be restored to a cluster on the same or the next minor version. Confirm whether the restore lets you set the new shard layout. If a restore keeps the original layout, use a scroll-and-upsert copy through your client instead. Done when the job finishes without errors and the logs show every batch was written, including any batches resumed after an interruption.
Verify counts and sample query results
Compare total point counts between the old and new collections, then sample point IDs and check that payload fields match. Run a fixed set of representative queries against both collections, using the same vectors and filters, and compare the top results. Approximate search can order near-equal results differently, so agree on an acceptable overlap with the application owner before the test starts. Done when counts match exactly, payloads match on the sample, and query overlap meets the threshold in the change plan. If any check fails, fix the copy and repeat this step before moving on.
Catch up writes made during the copy
Writes that reached the old collection during the copy must also reach the new one before the switch. Decide with the application team whether the application will dual-write to both collections or whether you will replay changes made after the copy started, and confirm which option your application supports. Insert, update and delete operations all need to be covered, because a deleted point that survives in the new collection will return in search results. Done when a tagged test point written to the old collection appears in the new one, and a test deletion removes the point from both.
Switch the alias in one request
Point the production alias from the old collection to the new one in a single update request. Qdrant collection aliases can be switched atomically in one request, so the new collection can be built in the background and swapped in without interrupting requests. Immediately after the switch, run a few production-style queries through the alias and confirm they return results from the new collection. Watch error rates and latency on your dashboards for the first period agreed in your change plan. Done when queries through the alias succeed, the error and latency signals match the baseline, and the old collection has stopped receiving traffic.
Retire the old collection after rollback
Keep the old collection intact through the rollback window agreed in the change plan. Within that window, a rollback is one alias update back to the old collection, but writes accepted by the new collection during that time must be copied back or accepted as loss, so decide which before the switch. When the window closes without a rollback, delete the old collection and any snapshots created only for this change. Done when the collection list shows only the new collection, disk usage on each node has dropped, and the change record is closed with the final point counts.
How the old and new collections and the alias fit during cutover
The application keeps querying one alias throughout. The alias points at the old collection while the new collection is built in the background, either by the Qdrant Migration Tool or by restoring a snapshot into it. Once the new collection holds the full dataset, a single alias switch moves traffic over atomically, and the old collection is kept briefly for rollback before it is retired. Check that the new collection's point count and sample query results match the old one before switching.
Application traffic moves from the old collection to the new one through a single alias switch.
How much disk headroom the copy needs
The copy needs more disk than the collection uses at rest, because the old and new collections exist side by side until the alias switch and the old collection is removed. During the copy, storage peaks at roughly the size of the old collection plus the size of the new one, before the old copy is deleted. Replication multiplies the cost of both: the replication factor sets how many copies of each shard the cluster stores, and a factor of 2 doubles storage. Check the replication factor on the new collection as well as the old one, because a target built with a different factor changes the footprint of the whole cluster. Ask whether your sizing covers that peak on every node, not only on average across the cluster.
Snapshots add a temporary cost of their own if you use them as the copy path. A collection snapshot is a tar archive of the collection on one node, so you need free space for the archive on the source side, and space again where it is restored unless you stream the data with the migration tool instead. Keep the archive on storage that is not the live data volume where possible, and delete it once the restore is verified. Remember that Qdrant needs block-level storage with a POSIX-compatible file system, so it cannot use NFS or S3 as its primary storage. Snapshots can be written to S3-compatible storage, but that does not give the running nodes more disk for their own data.
You cannot take these figures from this page. Measure the on-disk size of the current collection on each node, multiply by the replication factor, then add the size of the new collection and a margin for the snapshot or migration staging. Confirm the figures in your own environment with a test copy of a representative subset before you schedule the cutover. Ask your team to record the free space on each node during the copy so the peak is observed, not assumed.
Security and access during the copy
A shard count change copies every vector and payload into a second collection, and for a while both collections hold the same data. The cards below cover the access, storage and network controls that apply during that copy, when the self-hosted instance may be less guarded than production.
API keys and JWT permissions
Qdrant's admin and read-only API keys, and JWT-based access with per-collection read or write permissions, decide who can create the new collection, read the old one and switch the alias. Create a migration key scoped to the collections involved and remove it when the cutover is verified. Confirm that the migration tool's credentials can only write to the target collection, and that application keys cannot change aliases unless they must.
Qdrant security docsDefault unsecured state
Self-deployed Qdrant ships with no authentication and listens on all network interfaces. A fresh instance created for the new collection can therefore be reached by anyone who can route to it. Before the copy starts, enable API keys and TLS on the new cluster, bind it to the private network, and confirm that no unauthenticated port is reachable from outside the migration host network.
Snapshot files as sensitive data
Collection snapshots are tar archives containing the full vectors and payloads, so they carry the same sensitivity as the source data. Store them on encrypted volumes with restricted permissions, and delete intermediate snapshots once the new collection is verified. Record where each snapshot was written, who can read that location, and how long it persists, since copies often outlive the migration itself.
Qdrant snapshots docsS3-compatible storage credentials
If snapshots are sent to S3-compatible storage, the job needs credentials that can write to one bucket path and nothing else. Use short-lived or scoped credentials, block public access on the bucket, and enable server-side encryption. Keep these credentials out of shell history and container images, and confirm that the Qdrant node reading the snapshot has the same restricted access rather than a broader cloud role.
Audit logging of operations
JSON audit logging of authenticated API operations records who created, copied and deleted collections during the change. Turn it on before the migration, forward the logs to storage the migration team cannot edit, and keep them for the period your policy requires. Review the log after cutover to confirm that the old collection was not written to after the alias switch, and that no unexpected deletions occurred.
Network exposure of the migration job
The migration tool and any snapshot transfer open connections between the source cluster, the target cluster and storage. Run the job from a host inside the same private network, restrict its egress to those endpoints, and avoid exposing the cluster's internal ports to it beyond what the copy needs. Remove the job's access and firewall rules once the cutover is complete so temporary paths do not become permanent.
Migration tool docsQuestions teams ask before changing shard count
How much effort does changing shard count on self-hosted Qdrant take?
Effort depends on how much data the collection holds, how the new collection is built, and how many steps your team must own. The work has four parts: creating a new collection with the target shard count, copying points with the Qdrant Migration Tool or snapshots, validating the copy, and switching a collection alias. Each part is manageable on its own, but the copy and validation steps take the most attention because they must confirm that counts, payloads, and search results match before any traffic moves. Ask any partner to break the effort into these parts in a written scope so you can see where your team's time goes.
What drives the cost of a shard count change up or down?
Four factors move the cost most: data volume, downtime tolerance, the source system, and write rate. Larger collections take longer to copy and need more disk. A team that cannot pause writes needs a dual-write or catch-up step, which adds engineering work. A source other than Qdrant, such as Pinecone or pgvector, adds mapping work because the Qdrant Migration Tool supports a list of sources, each with its own field handling. A high write rate means more points arrive during the copy and must be reconciled. Ask for a quote that states each of these assumptions so you can change one and see the effect.
Can our own team change the shard count without a partner?
Yes, if your team has Linux operations skills, access to the cluster, and time to test before production. The build uses standard Qdrant features: a new collection, the Qdrant Migration Tool or collection snapshots, and an alias switch. The Migration Tool runs as a container or binary and resumes interrupted runs, which helps a first-time team. The risk lies in skipped validation and in unclear rollback steps. If no one on your team has restored a snapshot or run a staged cutover before, a short review of your runbook by an experienced partner is a common middle path.
What does the work need from our team before it starts?
Plan for four inputs: administrative access to the Qdrant cluster and its API keys, enough free disk on the nodes to hold a second copy of the collection, a test cluster that matches production topology, and a named owner who can approve the alias switch. Disk headroom matters most. A snapshot or a new collection roughly doubles the storage used by the data while both exist, and the replication factor multiplies the footprint of each copy. Confirm your free space per node, your replication factor, and whether snapshots will be written to local disk or S3-compatible storage before you schedule the work.
How long does a shard count change take for different data sizes?
Duration scales mainly with data volume, network throughput between your source and the cluster, and how many points must be validated. Smaller collections can be copied and checked in a short window, while large collections need a longer copy plus a catch-up period for writes that arrive during the copy. Qdrant does not publish a fixed transfer rate in the sources used here, so the reliable way to estimate is a timed test on a copy of a representative slice of your data. Ask for that test as a line item in the scope, and treat any duration without one as an assumption.
Does moving to Qdrant Cloud avoid the work of changing shard count?
Moving to Qdrant Cloud can avoid the self-managed copy steps for resharding, because the sources describe resharding as a Qdrant Cloud capability. Confirm that the Cloud plan and tier you need include it, since Qdrant Cloud pricing is usage-based, and the Premium tier requires a minimum spend. A move to Cloud is also a data residency, security, and vendor decision, so it should be compared with the work of staying self-hosted, not treated as a free shortcut. Ask Qdrant directly how the resharding feature is billed and which plans include it.
What should we check during validation before switching the alias?
Check that point counts match between old and new collections, that a sample of payloads and vectors is identical, and that search results for a fixed query set agree within the expected tolerance. Also confirm that indexes exist in the new collection, that filters return the same results, and that your application can reach both collections during the switch. Collection aliases can be switched atomically in one request, which means a failed check can be rolled back by pointing the alias back at the old collection. Record the old collection name and keep it until your post-switch checks pass.
How DeployOpen scopes a shard change
DeployOpen plans and runs a shard count change in your own infrastructure as a fixed-scope engagement, with the scope, deliverables and timeline agreed in writing before any work starts. For a collection change like this, the written scope should name the source collection and its current shard_number and replication_factor, the target shard count, the copy method (the Qdrant Migration Tool or collection snapshots), the alias that will be switched, the clusters and namespaces involved, and who approves the cutover. The quote follows from that document, so the more precisely the scope describes your collections, node count and data volume, the more closely the quote tracks the actual work.
The deliverables usually include four parts. A test run rebuilds the collection with the target shard count in a non-production cluster from a recent copy of the data, so the team can measure copy time, confirm point counts and payload indexes match, and check search results against the source. A cutover runbook lists each step in order, including the alias switch, which Qdrant performs atomically in one request, and the freeze or dual-write window for writes that arrive during the copy. A rollback plan keeps the original collection and its alias target until post-cutover checks pass, and states who makes the call to revert. Post-cutover checks confirm collection status, shard distribution across nodes, replica health and application search quality. Ask whether each deliverable is a document, a tested artifact or both.
Ask the provider to confirm which items in the quote are one-time (the test run, runbook, and cutover) and which recur (retesting after a Qdrant minor version upgrade, or a later reshard). Disk headroom for the second copy of the collection is a cost your team pays in infrastructure, not in the engagement, so the scope should state the figure your environment requires. Confirm the timeline with your change calendar, since the cutover date depends on your approval process as much as on the copy duration. Qdrant's own collections documentation describes the alias operations that the runbook will depend on.
How DeployOpen delivers Qdrant shard changes
DeployOpen approaches a self-hosted shard count change as a planned migration rather than a configuration tweak. We scope the target layout, build the new collection beside the live one, verify the copy, and switch the alias only after the results check out, all inside infrastructure you control.
How we scope
- Written scope fixes the current and target shard counts, collection sizes and the reason for the change.
- The scope records the copy method, snapshot or migration tool, and the disk headroom we will check before work starts.
- Ongoing support and continuous testing are available as a retainer after the fixed-scope change is complete.
How we build
- We create the new collection with the target shard count and replication settings in your cluster.
- We copy data in batches with the Qdrant Migration Tool or snapshots, checking point counts and sample queries on both collections.
- We switch the collection alias in one request once the new collection matches the source, keeping the old collection until sign-off.
How we hand over
- You receive a runbook with the exact steps, commands, rollback path and the disk headroom we verified during the build.
- Verification records show point counts, query comparisons and cluster health taken before and after the alias switch.
- We document the retirement step for the old collection and the snapshot retained as a recovery point.
How we support
- Post-change support covers monitoring of the new layout, storage growth and replica health during the first operating period.
- Retainers can cover future Qdrant minor version upgrades and repeat shard layout reviews as your data grows.
- Ask us to confirm which support scope and response terms apply before a retainer starts, as they are set in writing.

