My Oracle Support Banner

Purging Of the Binary Log Does Not Delete All the Expected Logs: "[Warning] file ... was not purged because it was being readby thread number ..." (Doc ID 2085373.1)

Last updated on DECEMBER 04, 2024

Applies to:

MySQL Server - Version 5.0 and later
Information in this document applies to any platform.

Symptoms

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:

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.