I don't have a 3rd server to install ora2pg to connect between two oracle and postgres db servers. Contract is not funded to get extra server(s) and/or training.
Also, I don't think we need the 3rd server to install orag2/oracleclient/postgresqlclient, right? From the youtube I found, the instructor said we can install ora2g on the server c or no need too but I didn't hear he said where ora2g should be install, on oracle db server or postgres db server.
I ran the ora2pg-19.1.zip and unzip it. The perl Makefile.PL and make && make install ok, but when I run perl -mCPAN -e shell, I get an error on cpan (error file attached).
How can I create the DBD::Oracle? How to correct the CPAN url if there's no internet?
thank you,
Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success
On Thursday, January 17, 2019 8:33 AM, marcelo zen <mzen@xxxxxxxxxxxxx> wrote:
I think you are somewhat confused about how you need to set it up:
ora2pg needs to have access to both Oracle Client and PostgresSQL client in order to talk to the origial (Oracle) and the new (Postgres) database.
This means you don't need to install the software on both servers, in fact you could use it in a third machine (which I recommend).
This means you don't need to install the software on both servers, in fact you could use it in a third machine (which I recommend).
The setup would look like:
A: Original Oracle server.
B: New Postgres server.
C: Processing server, which will do the hard work of pulling and pushing the data.
ora2g, as well as the Postgres and Oracle client are installed on C, and from here it connects to the Oracle on A, proccesses the data and sends it to the Postgres on B. Once you are done you can even completely discard this server.
On Thu, Jan 17, 2019 at 10:23 AM Pepe TD Vo <pepevo@xxxxxxxxx> wrote:
Shreeyansh,Thank you for your input. I installed ora2g on both Oracle DB and Postgresql DB servers. Since these two servers are main database servers, do I still need install extra Oracle Client and PostgreSQL client on that each two servers?thank you.v/r,Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing successOn Thursday, January 17, 2019 4:01 AM, Shreeyansh Dba <shreeyansh2014@xxxxxxxxx> wrote:
On Thu, Jan 17, 2019 at 1:35 AM Pepe TD Vo <pepevo@xxxxxxxxx> wrote:I am able to download the ora2pg but I don't understand how it install. According to the document I found on net that yum install perl-DBD, perl-dev, and perl-CPAN and all oracle-instantclient18.3-sqlplus-18.3.0.0.0-1.x86_64.rpm, oracle-instantclient18.3-basic-18.3.0.0.0-1.x86_64.rpm, oracle-instantclient18.3-basic-18.3.0.0.0-1.x86_64.rpm, oracle-instantclient18.3-devel-18.3.0.0.0-1.x86_64.rpm, oracle-instantclient18.3-devel-18.3.0.0.0-1.x86_64.rpm.
- I can't find the ora2pg18.2 on gzip or zip but bz2. With this file I can't unzip it because the server didn't have this feature. Can I use ora2pg.19.1.tar.gz instead of version 18?
You can download the ora2pg18.2 on zip or tar.gz from below link.2. Where should I install ora2pg, in the oracle db server or postgres db server?You can install ora2pg either Oracle server or PostgreSQL sever or elsewhere. But must be have installed the Oracle Client Application and PostgreSQL Client (psql) Application on that server.thank you for your inputs.v/r,Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing successOn Friday, January 11, 2019 11:42 AM, Shreeyansh Dba <shreeyansh2014@xxxxxxxxx> wrote:
This site works for us, there might be a security restriction at your end.On Fri, Jan 11, 2019 at 10:04 PM Pepe TD Vo <pepevo@xxxxxxxxx> wrote:Yes, I need migrate all the objects including tables, functions, triggers, procedures from Oracle to Postgres. Oracle is on one server and Postgres is on another server.https://ora2pg.darold.net/documentation.html doesn't work. "This site can’t be reached
ora2pg.darold.net took too long to respond.Try:"thank you.Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing successOn Friday, January 11, 2019 11:31 AM, Shreeyansh Dba <shreeyansh2014@xxxxxxxxx> wrote:
Hi,
You can use ora2pg which is one of the best tool for data migration from Oracle to PostgreSQL.
https://ora2pg.darold.net/documentation.htmlOn Fri, Jan 11, 2019 at 9:53 PM Pepe TD Vo <pepevo@xxxxxxxxx> wrote:Hi Experts,Is there a best tool for me to copying data from Oracle to PostgreSQL?The Oracle db named is Cidr and had a few schemas, each schemas owned their own tables, procedures, triggers, functions. If I create a database on Postgres, how do I copy all schemas from Oracle? Or each schema will become one of the postgreSQL database?thank you for your helps.v/r,Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success
Attachment:
run a perl script to create DBB Oracle error.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document