what is mysql binlog dump in show processlist
Asked Answered
S

2

6

When I did show processlist in mysql I got list of process. One of the process with binlog dump running from quit long time.
What is binlog dump? do I need to kill this. what happen if i kill this process?

Shedd answered 8/11, 2013 at 8:16 Comment(0)
S
8

Generally we are doing show process when we are getting error too many connections, but in my case Mysql is not responding intermittently. So i thought of looking into the processes if there is any long running query, so that I can kill it. I got binlog dump under Command column in process list.

Command shows the type of command the thread is currently executing.

binlog dump is a thread on a master server for sending binary log contents to a slave server.

If need more information on different values of Command you can refer to:

For show process

Shedd answered 8/11, 2013 at 10:25 Comment(1)
So is it safe to say that in a master/slave setup, "Binlog Dump" will constantly be running on master?Kirovabad
T
2

Its a process that constantly runs on the master server needed for replication. You should generally ignore this process, it should be harmless.

Tiddly answered 27/2, 2015 at 7:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.