Skip to content

Commit b026ee3

Browse files
Update reduction-in-locks.md (#355)
* Update reduction-in-locks.md * Update reduction-in-locks.md * Update reduction-in-locks.md * Update reduction-in-locks.md
1 parent b9b4708 commit b026ee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/reduction-in-locks.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ The `--lock-ddl=REDUCED` option features are as follows:
4040
| 400 GB | 3888 sec | 3.948 sec | 984.80 |
4141
| 500 GB | 4896 sec | 4.065 sec | 1204.43 |
4242
43-
Using `--lock-ddl=REDUCED` leads to a dramatic reduction in backup time compared to `--lock-ddl=ON`, especially with larger data sizes.
43+
Using `--lock-ddl=REDUCED` significantly reduces the time DDL operations are blocked during backup, although the total backup time remains unchanged. The data size particularly impacts the lock duration - larger databases benefit more from this reduced locking approach.
4444

4545
* Track changes with redo logs: Redo logs record all file-level changes, ensuring data consistency during the backup process.
4646
* Handle DDL operations: The backup process generates metadata files to account for any DDL operations that occur while the backup is in progress.
4747
* Ensure consistency: The `--prepare` step processes generated metadata files and uses redo and undo logs to create a consistent database state.
48+
* Reduce replication lag: When you take a backup with `--safe-slave-backup` and `--lock-ddl=reduced` enabled, the SQL thread on the replica server is stopped for less time, reducing replication lag.
4849

4950
### Limitations
5051

0 commit comments

Comments
 (0)