Yes—multiple tenants or applications can share TiDB infrastructure, but “isolation” has three different meanings. Resource groups govern workload consumption; some TiDB Cloud architectures separate compute; and neither is, by itself, proof that one tenant cannot read another tenant’s data. Choose and verify each boundary separately for your TiDB version and deployment tier.
What “multitenant isolation” means in TiDB
A multitenant design has to address three distinct questions:
- Resource fairness: How do you manage contention when one application or tenant consumes more CPU, memory, I/O, or other cluster resources than others?
- Compute tenancy: Do tenants share SQL compute, or does the service architecture allocate separate compute resources?
- Data authorization: What prevents a user or application from accessing another tenant’s records?
These controls solve different problems. A resource group can help govern workload consumption, but it does not establish a tenant’s right to access particular rows. Likewise, separating compute does not automatically make application authorization correct.
Use resource groups to govern competing workloads
In the TiDB v8.1 resource-control documentation, resource groups let cluster administrators set resource-unit (RU) rates and scheduling priorities, then assign workload to groups. They are intended to manage resource contention and quality of service, not to provide a data-security boundary. See PingCAP’s TiDB v8.1 resource-control guide for implementation details and version-specific syntax.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Choose the assignment level that matches the workload
- Database user: Bind a user to a resource group so its new sessions inherit the assignment. A user can be bound to only one group at a time. Changing the binding does not change that user’s already-open sessions.
- Current session: Use
SET RESOURCE GROUPto select a group for the session. - Statement: Use the
RESOURCE_GROUP()optimizer hint to assign a specific statement to a group.
These levels allow a broad default for an application account and more specific session- or statement-level choices where appropriate. Details and examples are in the v8.1 guide.
Understand RU rates, burstability, and priority
A resource group can be configured with an RU-per-second rate using RU_PER_SEC; the v8.1 guide also documents the optional BURSTABLE setting and LOW, MEDIUM, or HIGH priority. A schematic configuration is:
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
CREATE RESOURCE GROUP app_batch
RU_PER_SEC = 1000
BURSTABLE
PRIORITY = LOW;
This illustrates the documented options; it is not a recommended quota. Estimate capacity before choosing values, and treat the configured rate as an operational control rather than a guarantee that the group will always receive that much capacity. The guide recommends using CALIBRATE RESOURCE as one input to capacity planning.
Creating groups does not validate that their combined configured demand fits the cluster’s available resources. When demand exceeds capacity, TiDB prioritizes higher-priority requests and allocates among groups at the same priority proportionally to their configured RU rates. Requests that cannot obtain resources may wait and can fail after a timeout. Oversubscription can therefore produce queueing and errors, not just slower queries.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Measure and tune rather than assuming fixed per-query cost
Use the v8.1 guide’s RU-consumption and resource-group monitoring paths to observe actual workload behavior. RU consumption can differ between repeated executions of the same SQL—for example, when cache state changes—so an observed figure is an estimation reference, not an immutable cost per query. Adjust group rates and priorities against measured workload, request waits, and cluster capacity.
Check version and cloud tier before relying on resource control
The TiDB v8.1 resource-control guide explicitly says resource control is unavailable on TiDB Cloud Starter and TiDB Cloud Essential. Do not apply its self-managed resource-group instructions to those tiers. Because service capabilities can change, verify the current tier documentation, region, and feature availability before designing around a control.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
For self-managed deployments, use documentation matching the exact TiDB version you run. The v8.1 guide also states that, starting with TiDB v7.0.0, TiDB flow-control and TiKV scheduling parameters are enabled by default; confirm version-specific behavior rather than carrying that statement over to an unverified release.
Compare the documented compute choices
TiDB Cloud architectures differ, so a statement about one service is not a statement about every tier. The following comparison is limited to what the cited product documentation describes:
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
| Deployment or architecture | Documented compute arrangement | What to verify for a design decision |
|---|---|---|
| Self-managed TiDB | Resource groups provide RU-oriented workload management and scheduling in the documented v8.1 guide. That guide does not establish a particular per-tenant compute-separation architecture. | TiDB version, available capacity, resource-group behavior, and how your application enforces tenant data access. TiDB v8.1 resource-control guide |
| TiDB Cloud Starter | The general TiDB Cloud architecture describes Starter as a fully managed, multitenant TiDB offering. The v8.1 resource-control guide says resource control is unavailable on Starter. | Current region, limits, feature set, and service terms; do not assume resource groups are available. TiDB Cloud architecture and v8.1 resource-control guide |
| TiDB Cloud Dedicated | The general TiDB Cloud architecture describes Dedicated as providing dedicated resources. | Current region, resource configuration, scaling behavior, limits, and service terms. TiDB Cloud architecture |
| TiDB Cloud X | The X architecture describes separate groups of SQL compute nodes that can isolate workloads or support multitenancy while sharing underlying data. It also describes common services and background operations separated from the compute layer. | Whether this specific architecture and its controls fit your workload and are available to you. Do not generalize the design to other TiDB Cloud tiers. TiDB X architecture |
| TiDB Cloud Lake | The Lake architecture describes a multitenant metadata service and says each tenant can have multiple compute warehouses with exclusive compute resources; compute clusters can scale with workload. | Current product availability, regions, limits, and the Lake-specific operating model. Do not treat this as a description of self-managed TiDB or other cloud tiers. TiDB Cloud Lake architecture |
These descriptions establish different compute arrangements, not a universal performance guarantee or a substitute for checking current product specifications. Compare shared capacity with dedicated or tenant-exclusive compute against workload contention, elasticity, operating ownership, and cost using the terms that apply to your deployment.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Design tenant data authorization separately
A resource quota answers how workload is governed; it does not answer which tenant’s records a principal may read or change. Treat authorization and isolation as separate design work. For TiDB Cloud, the security overview describes layered identity and permission management, MFA options, private endpoints, VPC peering, and IP access lists. Those controls concern cloud identity and network access; they do not prove that an application’s tenant checks are correct. Consult the current TiDB Cloud security overview for product-specific details.
For either a self-managed or managed deployment, explicitly decide how the application identifies a tenant, constrains queries to that tenant, and restricts administrative and service-account access. Also account for audit requirements and backup and restore procedures. The right data layout—such as shared tables, separate schemas, or separate databases—cannot be selected universally from the product facts here. Evaluate the alternatives against isolation obligations, authorization enforcement, schema changes, migration and recovery needs, noisy-neighbor risk, operational burden, and cost; validate the chosen implementation against current TiDB documentation and your threat model.
Choose an approach against your actual requirements
- Use shared infrastructure with resource groups when workload governance and contention management are the need, and your TiDB version and deployment support the feature. Plan capacity, monitor usage and waits, and tune quotas instead of treating configured rates as guaranteed capacity.
- Consider a managed tier with a documented compute arrangement when the service’s shared, dedicated, or tenant-exclusive compute model better fits your operating and isolation requirements. Confirm that the cited architecture applies to the exact product, region, and current plan.
- Design authorization independently in every case. Define and test tenant access rules; neither a resource-group assignment nor a compute-placement choice alone establishes correct row-level access.
The appropriate design depends on tenant count, workload mix, required performance and security boundaries, available headroom, and who will operate the system. Keep resource governance, compute placement, and data authorization as separate decisions, then verify each against the exact TiDB release or cloud architecture you intend to use.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

