Closed sv3t0sl4v closed 3 years ago
Insane... Added secondary index, ran optimize table x final and voilà. No more differences in data on MySQL and ClickHouse and queries are 80+ times faster.
Strange. Had to migrate and keep pumping data anew because of changed table structure. Looks like records are there, but counts do not mach.
Update... Only on the import date data has discrepancy. Difference is about 28k rows. Everything else seems normal. Optimizing table did not fix the count this time.
I think it is the rows being generated while migration. Will replace the slice for day with discrepancy.
Greetings!
Using clickhouse-mysql-data-reader. The counts between the two are different. What could possibly be best settings for migrating and pumping new data from MySQL to ClickHouse, if the source MySQL table is constantly being written to and read from? Difference is huge. like tens of thousands of rows from MySQL constantly missing from ClickHouse. Have to make it pump data faster. Any ideas how?
Regards!