Version Upgrade

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

Original topic: 版本升级

| username: 等一分钟

My current TiDB version is 6.5.1. Which version do you recommend upgrading to?

| username: 等一分钟 | Original post link

The cluster is very large, and DDL and DML operations are very slow.

| username: tidb菜鸟一只 | Original post link

We are using 6.5.8, not sure if 6.5.9 is out yet. If it is, let’s upgrade directly to 6.5.9.

| username: 等一分钟 | Original post link

Would you recommend upgrading to version 7.0?

| username: terry0219 | Original post link

How large is the data volume in your cluster now?

| username: 小龙虾爱大龙虾 | Original post link

First, definitely choose the LTS version. For major versions, choose the latest one, and for minor versions, wait for 2-3 releases to ensure there are no bugs before upgrading.

| username: 等一分钟 | Original post link

6 TiKV nodes, each node occupies 3.8T of disk space.

| username: 等一分钟 | Original post link

If there are TiFlash nodes, can it only be upgraded offline?

| username: 等一分钟 | Original post link

Does this affect the upgrade?

| username: TiDBer_jYQINSnf | Original post link

Why upgrade? Are you going to use any new features? If there’s no special need, there’s no need to upgrade.

| username: 等一分钟 | Original post link

DDL and DML operations are too slow, there’s no other way but to try upgrading.

| username: terry0219 | Original post link

I saw your last question, and it is indeed a bit strange that creating a table takes several seconds :sweat_smile:. I’m planning to implement it this year, but now I’m feeling uncertain :joy:.

| username: 等一分钟 | Original post link

I have two sets of version 6.5.1 here. The smaller one doesn’t have this issue, but the larger cluster does.

| username: terry0219 | Original post link

Did this issue suddenly appear or did it gradually appear as the data volume increased?

| username: 等一分钟 | Original post link

It should have appeared as the volume increased.

| username: Kamner | Original post link

It depends on your motivation for upgrading. Is it for a new feature in a certain version? Or to solve some performance issues?

| username: terry0219 | Original post link

This cluster doesn’t have mixed deployment, right? Is it using 5 replicas?

| username: 等一分钟 | Original post link

There is no mixed deployment.

| username: 等一分钟 | Original post link

The default is 3 replicas, right?

| username: terry0219 | Original post link

Well, I saw you mentioned 6 TiKV, so I thought it was 5 replicas.