ora2pg in windows environment for oracle to postgreSQL schema migration

How to use ora2pg in windows environment for oracle to postgreSQL schema migration?
MANIKANDAN TConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Doug WaltonDatabase AdministratorCommented:
http://ora2pg.darold.net/documentation.html#ora2pg_usage

or under Windows(tm) run ora2pg.bat file, located in your perl bin directory. Windows(tm) users may also find a template configuration file in C:\ora2pg

This looks like how you create a template, and then you can just run the template:
http://ora2pg.darold.net/documentation.html#generate_a_migration_template

ora2pg --project_base /app/migration/ --init_project test_project

Open in new window


If you are having trouble getting ora2pg to work correctly, Database Migration Service from AWS was pretty easy for me to use and I think they have a free tier: https://aws.amazon.com/dms/

Here's some basic setup info: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_SettingUp.html
Here's some documentation on using Oracle as the source database: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html
Here's some documentation on using Postgres as the target database: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PostgreSQL

From novice to tech pro — start learning today.