Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Speed up rotation of binary logs when there are 10,000 logs
The problem is that find_uniq_filename() for each creating of a new binary log file reads all files from the directory, which can take a long time if there are a lot of binary log files.
Fix is to cache the last used log name number and reuse that for future calls.
Attachments
Issue Links
- is duplicated by
-
MDEV-18614 Optimization for binlog rotation
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.4.4 [ 23310 ] |
Assignee | Michael Widenius [ monty ] |
issue.field.resolutiondate | 2019-04-02 13:19:08.0 | 2019-04-02 13:19:08.483 |
Fix Version/s | 10.4.4 [ 23310 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 94136 ] | MariaDB v4 [ 133909 ] |
Link |
This issue is duplicated by |
Pushed