-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing records !! #89
Comments
Update: I just came to know that after 1lac rows are inserted, following errors are started to generate for other entries in same table :-
Is there any fix for this ? |
Hi, can you please give me more details about the table? It seems like a wrong not null constraint set in the postgresql database |
Did you set the row image full on mysql? |
Hi, our replication structure is as below :- Master -> Slave1 -> Slave2 (It is Slave of Slave1.This slave is accessed by pg_chameleon for migration) Now Master is in production and our live application reads/writes on it. Since changing its row to FULL will required restart which will make our application inaccessible for few seconds. So instead of changing row on master, we've changed the row on slave2(Slave of Slave1) which will be accessed by chameleon for migration. Is that fine ? |
Hi, it was these values creating issues We fixed these values in mysql before running chameleon and error got fixed. However we now have another error on different table :-
|
For the different error, can you provide the table structure and an example record so I can reproduce it? thanks |
It was some enum value related, we ran mysql query to clean it and then did the migration which fixed this issue. Now we've a table which is falling back to INSERT from COPY and taking significantly high time to complete. Is there a way to know why is it falling back to insert ? Here is some warnings this table generates during migration :
|
Mmm it should show the failing row. I'll have a look ASAP. In the meantime, what error is logged by postgresql? |
|
ok this is a classic issue with the nul character that the system manages with the inserts. |
I'm closing the ticket as there's no follow up. |
Hi,
We're running mysql 5.7 with master-slave replication based on GTID mode. The database is large 11Gb of size and we need it to convert to postgres. To do it, we used chameleon tool and setup replication with mysql slave (without GTID). On init-replica, the data took some time and replicated to postgres but on checking we found that records are missing e.g there is one table 'users' whose count in mysql is 5lac while its count in postgres replicated databases is 1lac. Is there any buffers that we need to tweak to migrate large database with chameleon?
PS: On pgloader, all records were migrated correctly but since it'll required significant amount of downtime during live migration from mysql to postgres due to which we want to go with pg_chameleon solution.
Awaiting your response!
The text was updated successfully, but these errors were encountered: