Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 请问br备份集群或者单个库时,会锁表吗
May I ask if br will lock the table when backing up a cluster or a single database?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 请问br备份集群或者单个库时,会锁表吗
May I ask if br will lock the table when backing up a cluster or a single database?
BR is a physical backup, not a logical one, so it won’t lock tables.
The data will be selected in a snapshot manner to ensure consistency.
It won’t lock the table. For the potential impact of BR backup on the cluster, refer to this link:
It won’t lock the table. BR is a hot backup and directly copies the SST files of RocksDB. It’s best to mount network storage like S3 to prevent the local disk of TiKV from getting full.
This is determined by the operator. It supports table locking and also supports snapshots.
Okay, thank you. I will check the official documentation. I haven’t noticed this place before. The default is to choose snapshot, right?