- Counters for the number of binlog events written by the IO thread and run by the SQL thread.
- Counters for the number of bytes written by the IO thread and run by the SQL thread.
- A timer for the number of seconds that the SQL thread waits for the IO thread to provide more events.
And if you are curious, these are the read_log_event methods.
One:
static Log_event* read_log_event(IO_CACHE* file,
pthread_mutex_t* log_lock,
const Format_description_log_event
*description_event);
Two:
static int read_log_event(IO_CACHE* file, String* packet,
pthread_mutex_t* log_lock);
Three:
static Log_event* read_log_event(IO_CACHE* file,
const Format_description_log_event
*description_event);
Four:
static Log_event* read_log_event(const char* buf, uint event_len,
const char **error,
const Format_description_log_event
*description_event);
Add a comment