Mình có 2 máy chủ MySQL chạy Replication Master-Slave với nhau. Hệ thống hoạt động. Tuy nhiên khi có thay đổi ở Master thì một lúc lâu sau đó Slave mới được cập nhật theo, đặc biệt là các update query.
Dưới đây là show slave status/G
Code:
Connect_Retry: 60
Master_Log_File: mysql-bin.000001
Read_Master_Log_Pos: 38538329
Relay_Log_File: mysql-relay-bin.000257
Relay_Log_Pos: 215195
Relay_Master_Log_File: mysql-bin.000001
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 38538329
Relay_Log_Space: 215195
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Có bạn nào biết vì sao và cách sử lý không giúp đỡ mình chút
Bookmarks