Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

Purge binary logs caused server to stall (no replies)

$
0
0
Hi,

A few days ago out monitoring system started shouting about low disk space in one of our DBs. The reason as was quickly discovered was binary logs - we do not have expiry set and we usually record much less data in that DB, never mind the specifics.

Anyway, we proceeded to purge the logs which took quite a few minutes since there was a a lot of them. During that time the application came to a complete standstill. We didn't react in time to be sure but it appears the DB became unresponsive.

1. How do you stop/pause an ongoing purge?
2. Why did the server stall? I see no mention of this anywhere. I am now afraid to configure automatic purge since it could happen while we're not looking and cause app issues.
3. Can I control when during the day the purge occurs when I use the expire_log_days variable?

Cheers,
DB

Viewing all articles
Browse latest Browse all 1562

Trending Articles