mysql - How to syn identical innodb and read-only myisam tables -
I am planning two identical tables, one in the input and the other in the door. The Innodb table is for writing and updating and the Myisam table is completely read-only.
What is the best way to sync Myisam table with Innosb table? The solution should not be real time. If I can sync them once a day, then it will be good.
I search through the forum and give any suggestion that select the table * table selection * from the table *
but this is a large table with millions of lines inserted into it I will take 5 hours for
Any better suggestions?
- Why a weird setup? Unless you have a very large atmosphere, there is no difference in performance between these two engines.
2. Choose myisamTable from INSERT to INOD BTABLE AS T1 in the form of myIsamTable T2 ON (T1PP = T2PK) - To join WHERE T2, enter your primary Use the key. PK IS Null - In this way only the rows which are not present. IISAMTable will be copied
- Why not rotate after updating and afterwards?
Comments
Post a Comment