imthebest
Well-known member
Hi,
I'm having troubles replicating memory tables because these are randomly breaking my replication with the following error:
I'm using the MIXED bin-log format. I have identified the following MEMORY tables and I'd like to know how should I proceed:
Option 1. Is it safe to ignore those tables from the replication process? I can do that using replicate-ignore-table but I'm unsure if it's a good idea for data consistency. In case my master server gets lost, will I be able to mysqldump the database of my slave server and restore it on another master server without any problems? I guess I'll have to create those MEMORY tables manually... but will this work?
Option 2. Is it performance-wise and safe to convert those tables from MEMORY to InnoDB? Note that I have plenty of RAM on the server and a well tuned my.cnf file... while I understand that nothing beats the RAM speed, is there going to be a significant negative impact if I convert those tables to InnoDB?
Which option is more convenient?
Thanks,
Super120
I'm having troubles replicating memory tables because these are randomly breaking my replication with the following error:
Code:
Could not execute Delete_rows_v1 event on table mydb.xf_session_activity; Can't find record in 'xf_session_activity', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND;
I'm using the MIXED bin-log format. I have identified the following MEMORY tables and I'd like to know how should I proceed:
Code:
xengallery_album_view
xengallery_media_view
xf_attachment_view
xf_session_activity
xf_thread_view
xf_tinhte_xentag_tag_view
Option 1. Is it safe to ignore those tables from the replication process? I can do that using replicate-ignore-table but I'm unsure if it's a good idea for data consistency. In case my master server gets lost, will I be able to mysqldump the database of my slave server and restore it on another master server without any problems? I guess I'll have to create those MEMORY tables manually... but will this work?
Option 2. Is it performance-wise and safe to convert those tables from MEMORY to InnoDB? Note that I have plenty of RAM on the server and a well tuned my.cnf file... while I understand that nothing beats the RAM speed, is there going to be a significant negative impact if I convert those tables to InnoDB?
Which option is more convenient?
Thanks,
Super120
Last edited: