Skip to content
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 postgres data sync issue #8

Open
ud20 opened this issue Apr 17, 2020 · 3 comments
Open

Oracle to postgres data sync issue #8

ud20 opened this issue Apr 17, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@ud20
Copy link

ud20 commented Apr 17, 2020

We are trying to do a data dump from oracle to postgres. On some larger tables(>120GB) we are seeing some errors.
ERROR ReplicaTask:72 ERROR in TaskId-0 inserting data to sink table: ORA-01555: snapshot too old: rollback segment number 20 with name "_SYSSMU20_231399234$" too small
We tried a few different things like, do it when the data is not changing constantly, smaller fetch size, less number of jobs running but, nothing seemed to work so far.
Did you ever see anything similar happening?

@osalvador
Copy link
Owner

Hello, ud20,

This is a common error with Oracle with large tables. Check if you can make any of the recommendations listed on this website: https://blog.enmotech.com/2018/09/10/ora-01555-snapshot-old-error-ways-to-avoid-ora-01555-snapshot-too-old-error/

In parallel I am investigating how to address it directly with ReplicaDB.

Greetings

@osalvador osalvador added the enhancement New feature or request label May 13, 2020
@ud20
Copy link
Author

ud20 commented May 13, 2020

Hello @osalvador
We did it in smaller chunks. 2 years of data at once and finished the migration. Thank you for your help!

@osalvador
Copy link
Owner

osalvador commented May 14, 2020

Thanks to you @ud20!

I keep the issue open until I find a solution to this problem directly in ReplicaDB.

Regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants