-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Oracle to PostgreSQL datasync in incremental mode issue #17
Comments
Hi @sthirumani As explained in the docs, in the incremental mode it's required that the sink table has at least one primary key, since a MERGE is performed between the staging table and the sink table. I think this will be the problem. Anyway, the error thrown by ReplicaDB should be more explicit. I am working on integration tests where a replica file is written for each type of integration and will serve as an example for documentation. You can also use the Configuration Wizard if you have any doubt in the configuration. PS: In next issues don't attach an image, copy and paste the text (use the |
The sink table has a primary key similar to the one in the source table on oracle. I am attaching the table schema used also for your reference here - Please note - I am unable to copy paste the actual contents due to some restrictions in my organisation. I am also attaching the Conf generated using the configuration wizard here - |
Hi @sthirumani Execute the replica in verbose mode
|
Thanks for your help with this. With the sample shared I am able to replicate the db in incremental mode now. The miss was not adding the schema name for the tables, this worked fine for the other two modes though. But this solved the problem. Thanks again. |
Hi @sthirumani I have created a new release the It's more secure that the name of the sink table is always preceded by its schema, but perhaps in your case and with v0.8.8 you do not need it. Thanks for reporting. |
Hi, I am trying to migrate a table from oracle to Postgres in incremental mode but it keeps erroring. I am missing something. Can you please share a sample example on how this can be achieved.
I have attached the error I am getting here.
The text was updated successfully, but these errors were encountered: