Purging Of the Binary Log Does Not Delete All the Expected Logs: "[Warning] file ... was not purged because it was being readby thread number ..."
Last updated on MAY 29, 2017
Applies to:MySQL Server - Version 5.0 and later
Information in this document applies to any platform.
When it is attempted to purge the binary logs either manually using the PURGE BINARY LOGS statement or due to some binary logs being older than expire_logs_days, some or all of the binary logs are not purged. The MySQL error log will have warnings like:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms