qdrant-multitenancy
Guides tenant isolation architecture in Qdrant for multi-tenant or multi-user applications.
Skill by qdrantOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/qdrant-qdrant-multitenancy
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/qdrant-multitenancy
What's inside
- Skill name
qdrant-multitenancy- Description
- Guides tenant isolation architecture in Qdrant for multi-tenant or multi-user applications. Use when someone asks 'how to isolate customer data', 'how to build multi-tenant search/RAG', 'how many collections should I create', 'how to partition tenants by payload', 'a customer's data legally has to stay in a certain country or region'. Also use when they describe a symptom: one customer's data is way bigger than the rest and slowing everyone down, or one tenant is hogging resources.
- License
- Apache-2.0
- Instructions
- 59 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Qdrant Multitenancy [Multitenancy](https://skills.qdrant.tech/md/documentation/manage-data/multitenancy/) is how you isolate data across multiple users or tenants within a single Qdrant deployment. - The question to ask is: **how many tenants, and how unevenly sized are they?** That answer picks the isolation strategy. - Understand the three isolation levels before choosing: payload-based, shard-based and collection-based. - For almost everyone the right default is a single collection partitioned by payload, NOT a collection per tenant. ## Many Small Tenants (Default: Payload Partitioning) Use when: you have many tenants of roughly similar, modest size. This is the recommended default for most users. One collection holds every tenant. A payload field marks ownership, and a filter on that field at query time is what isolates each tenant's results. ### How It Works - Create a keyword payload index on the tenant field with `is_tenant=true` (the flag requires v1.11+). `is_tenant` tells Qdrant the field identifies tenants, so each tenant's vectors are stored together and served by sequential reads. Check [](https://api.qdrant.tech/api-reference/indexes/create-field-index). - At query time, isolate each tenant with a `must` filter on the tenant field. Without it, a query searches every tenant's data. Check [Payload-based multitenancy](https://skills.qdrant.tech/md/documentation/manage-data/multitenancy/?s=partition-by-payload). - Text relevance (BM25 or sparse vectors with the IDF modifier) is scored with statistics computed over the whole shard, so tenants with different vocabularies distort each other's scores. On Qdrant 1.19 or newer, pass the `idf` search parameter with the tenant filter and index the tenant field; on 1.20 or newer this covers BM25 `text` queries on a full-text index too [Per-tenant scoring statistics](https://skills.qdrant.tech/md/documentation/manage-data/multitenancy/?s=per-tenant-scoring-statistics). - With this strategy, the indexing speed might become a bottleneck at scale because every tenant indexes into the same collection. To avoid this, you can disable the global HNSW creation (for the entire collection) and only build per-tenant indexes: set `m=0` and `payload_m` to a non-zero value. Although this accelerates the indexing process, keep in mind that requests without a tenant filter will become slower as they must scan all groups. So only make this trade if you hit the bottleneck and cross-tenant search is rare. [Calibrate performance](https://skills.qdrant.tech/md/documentation/manage-data/multitenancy/?s=calibrate-performance). ## A Few Large Tenants Plus a Long Tail (Tiered Multitenancy) Use when: you have a realistic SaaS distribution: a few large customers and many small ones, possibly with small tenants that grow over time. Available in v1.16+. It avoids the noisy-neighbor problem, where one big tenant forces the whole cluster to scale, raising costs and degrading performance for everyone else. Tiered multitenancy keeps small tenants together in a shared fallback shard while isolating large tenants in their own dedicated shards, all in one collection. It layers two isolation levels: payload-based tenancy for logical isolation, and custom sharding for physical/ resource-based isolation of the large tenants. A tenant that outgrows the shared shard can be promoted to a dedicated shard later with no downtime. ### How It Works - Create the collection with custom (user-defined) sharding, and configure payload-based tenancy. A single shared fallback shard holds all the small tenants. If you have large tenants, create dedicated shards (one per tenant). Check [Tiered multitenancy](https://skills.qdrant.tech/md/documentation/manage-data/multitenancy/?s=tiered-multitenancy). - When to promote a tenant? If a tenant becomes large enough to warrant dedicated resources (a reasonable promotion trigger is when a tenant approaches the indexing threshold), promote it to a dedicated shard. Qdrant moves its data into a new shard transparently, serving reads and writes throughout. Check [how to promote tenant to dedicated shard](https://skills.qdrant.tech/md/documentation/manage-data/multitenancy/?s=promote-tenant-to-dedicated-shard). - Keep in mind that re-sharding can be an expensive and time-consuming process, so consider your tenant growth patterns carefully when deciding which tenants should receive dedicated shards. - It's not recommended to exceed ~1000 dedicated shards per cluster (resource overhead). - The fallback shard (small tenants) must fit on a single node. - Sharding method is fixed at collection creation: an auto-sharded collection (default) cannot be converted to custom sharding in place. If there is any realistic chance you will need to isolate a large tenant later, create the collection with custom sharding up front and put every tenant in the fallback shard. ## Few Non-Homogenous Tenants (Collection per Tenant) Use when: you have a limited number of tenants with different per-tenant embedding models or collection schemas. - You should only create multiple collections when you have a limited number of tenants that need strict isolation, or when tenants' vectors are created by different embedding models. ## Data Residency and Geographic Isolation (Custom Sharding) Use when: data must be physically pinned to a location, e.g. regional compliance for healthcare industry (one region's data in Canada, another's in Germany). This is not only a tenant concern, a single tenant may also need to separate its own data by region. - Like tiered multitenancy, this uses custom sharding; the difference is what you shard by. Here the shard key is a region. Each key's data lands on specific shards you can place in specific locations, while everything stays in one collection. Combine it with payload partitioning if you also need per-tenant isolation within a region. Check [User-defined sharding](https://skills.qdrant.tech/md/documentation/scaling/distributed_deployment/?s=user-defined-sharding) for setup. - Geographic residency follows only if your cluster's nodes are actually in the target regions. - Qdrant Cloud deploys a cluster in a single region and has no managed multi-region today. ## What NOT to Do - Treat a payload filter as your whole security model. In Qdrant, (unless you're using per-tenant collections), tenant isolation is payload-based. It is an application-layer responsibility, and the filter is only one small part of it.
From qdrant/skills, Apache-2.0.
More from qdrant/skills
- 0.795score
qdrant-version-upgrade
qdrantOfficial
Covers upgrading Qdrant server and SDKs without interrupting availability or losing data integrity.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-deployment-options
qdrantOfficial
Guides Qdrant deployment selection.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-edge
qdrantOfficial
Guides building on Qdrant Edge, the embedded in-process shard.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-managed-cloud-quickstart
qdrantOfficial
Getting a first Qdrant Managed Cloud cluster running and connected safely: Free, Standard, and Premium tiers, choices that can't be changed later, creating…
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-model-migration
qdrantOfficial
Guides embedding model migration in Qdrant without downtime.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-sizing
qdrantOfficial
Sizes a Qdrant deployment before it is provisioned.
SkillAFreshness: A★ 263Claude Code +9 - 0.790score
qdrant-performance-optimization
qdrantOfficial
Navigation hub linking sub-skills for proactive Qdrant tuning: search speed, indexing performance, and memory usage optimization.
SkillAFreshness: A★ 263Claude Code +9 - 0.790score
qdrant-scaling
qdrantOfficial
Guides Qdrant scaling decisions.
SkillAFreshness: A★ 263Claude Code +9 - 0.790score
qdrant-search-quality
qdrantOfficial
Diagnoses and improves Qdrant search relevance.
SkillAFreshness: A★ 263Claude Code +9 - 0.784score
qdrant-monitoring
qdrantOfficial
Guides Qdrant monitoring and observability setup.
SkillAFreshness: A★ 263Claude Code +9 - 0.749score
qdrant-migration-tool
qdrantOfficial
Guides use of the Qdrant Migration Tool CLI to move vectors, metadata, and sparse embeddings from another vector database into Qdrant.
SkillBFreshness: B★ 263Claude Code +9 - 0.749score
qdrant-hybrid-cloud-setup
qdrantOfficial
Setting up and running Qdrant Hybrid Cloud on your own Kubernetes cluster (managed, on-prem, or edge): prerequisites, storage/CSI and backups, installing the…
SkillBFreshness: B★ 263Claude Code +9
Signals
- Stars
- 263
- Forks
- 31
- Open issues
- 6
- Last commit (this folder)
- Oct 19, 2026 (9 days ago)
- Last release
- Mar 30, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/qdrant/skills
- Website
- skills.qdrant.tech
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from qdrant
- 0.795score
qdrant-deployment-options
qdrantOfficial
Guides Qdrant deployment selection.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-sizing
qdrantOfficial
Sizes a Qdrant deployment before it is provisioned.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-managed-cloud-quickstart
qdrantOfficial
Getting a first Qdrant Managed Cloud cluster running and connected safely: Free, Standard, and Premium tiers, choices that can't be changed later, creating…
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-model-migration
qdrantOfficial
Guides embedding model migration in Qdrant without downtime.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-edge
qdrantOfficial
Guides building on Qdrant Edge, the embedded in-process shard.
SkillAFreshness: A★ 263Claude Code +9 - 0.795score
qdrant-version-upgrade
qdrantOfficial
Covers upgrading Qdrant server and SDKs without interrupting availability or losing data integrity.
SkillAFreshness: A★ 263Claude Code +9
Cite this page
qdrant-multitenancy skill. Agent Mart. https://agentmart.dev/skills/qdrant-qdrant-multitenancy (last updated 2026-10-24)