What impact does removing a TiFlash node from the cluster have on existing tables?

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

Original topic: 移除集群中的tiflash节点会对现有的表产生什么影响吗

| username: littleziao

[Test Environment for TiDB] Testing
[TiDB Version] 6.0.0
When deploying, we didn’t consider the impact of TiFlash and only deployed one node. Recently, we found that TiFlash is occupying a particularly large amount of data, already taking up 90% of the node server’s storage. So, I’m considering removing the TiFlash node. Will this affect the data in the existing tables?

| username: 裤衩儿飞上天 | Original post link

TiFlash is the columnar storage version of the data. If it is removed, queries that originally used TiFlash will now use TiKV, which may increase the pressure on TiKV nodes.

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

It is recommended to disable replicas for all tables that originally had replicas enabled before deleting the TiFlash node, otherwise SQL execution for the corresponding tables may result in errors.

| username: xingzhenxiang | Original post link

My version supports not using TiFlash. The key is whether your SQL needs to obtain some performance optimization through TiFlash. If not, removing it will not be affected.

| username: littleziao | Original post link

I used tiup to take TiFlash offline. Can I manually delete the TiFlash folder?

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

Sure, since you don’t use it anymore, feel free to delete it.

| username: system | Original post link

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