Does TiDB 6.1 support multi-tenancy?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiDB6.1支持多租户吗?

| username: TiDBer_HErMeXDz

Does TiDB 6.1 support multi-tenancy?

| username: xiaoqiao | Original post link

TiDB’s multi-tenancy is different from the conventional understanding of multi-tenancy. You can first check the documentation center to understand it.

| username: hey-hoho | Original post link

Not supported.
Upgrade to version 7.1 or above and use resource control.

| username: Aaronz | Original post link

This needs to be upgraded, but the RU of TiDB is still a bit tricky to understand in some aspects.

| username: Thedeep | Original post link

  1. First, we need to explain multi-tenancy. Multi-tenancy is essentially a software instance isolation technology. Isolation methods can be divided into two types: physical isolation (down to the CPU and memory isolation level) and logical isolation.
  2. Currently, the more commonly used method is physical isolation for databases, such as Oracle’s CDB/PDB architecture and OB’s use of CGroup to achieve multi-tenancy.
  3. After TiDB V7.1, the Resource Control feature was introduced, which is a form of logical isolation. People tend to have preconceived notions, especially those with an Oracle background, and may find it difficult to accept TiDB’s implementation.
  4. Due to TiDB’s separation of compute and storage, it actually provides various isolation technologies that can be combined:
    • Resource Control: A method of sharing TiDB and TiKV instances, mainly achieved through TiKV scheduling.
    • Placement Rule: Can solve TiKV instance isolation, leaning towards physical isolation.
    • Combined with load balancing: Can solve TiDB instance isolation, leaning towards physical isolation.
    • Multi-business integration solution: Uses CGroup to isolate TiDB and TiKV instances.
| username: TiDBer_rvITcue9 | Original post link

Version 7.1 or above can use resource control.

| username: zhang_2023 | Original post link

Supported only above 7.1

| username: Kongdom | Original post link

Version 6.1 does not support multi-tenancy.

| username: TiDBer_嘎嘣脆 | Original post link

TiDB’s multi-tenancy is different from the multi-tenancy of container clouds.

| username: zhanggame1 | Original post link

TiDB resource control was introduced after version 7, and it is merely a type of resource consumption limitation.

| username: shuyu_zhihui | Original post link

Has anyone used TiDB’s multi-tenancy? What’s the situation like?

| username: 呢莫不爱吃鱼 | Original post link

Supported only in version 7.1 and above.

| username: TiDBer_fbU009vH | Original post link

I have tested it and it is currently supported, but you might consider upgrading.

| username: yidailatiao | Original post link

Not supported

| username: shunzi | Original post link

Not supported. Resource control is supported in version 7 and above, which is also different from the traditional concept of multi-tenancy.

| username: matiechui | Original post link

Not supported.

| username: 芝士改变命运 | Original post link

Not supported

| username: matiechui | Original post link

Okay, thank you, boss.

| username: Jack-li | Original post link

Not supported!

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.