pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Looking for help to migrate Oracle PL SQL code to PGSQL code
6+ messages / 5 participants
[nested] [flat]

* Looking for help to migrate Oracle PL SQL code to PGSQL code
@ 2021-11-07 15:58  dbatoCloud Solution <dbatocloud17@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: dbatoCloud Solution @ 2021-11-07 15:58 UTC (permalink / raw)
  To: pgsql-admin

Hi Team
I want to migrate Oracle PL/SQL code to PostgreSQL pg/sql code.
Could you please let me know if someone has done it? if yes then what kind
of challenges do we need to face it?


Thanks

Ashok

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ashokkumar Mani

 +91 81975 99922

W: https://dbatocloudsolution.blogspot.in/
<http://dbatocloudsolution.blogspot.in/; | E: dbatocloud17@gmail.com

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Looking for help to migrate Oracle PL SQL code to PGSQL code
@ 2021-11-07 16:08  Firthouse banu <penguinsfairy@gmail.com>
  parent: dbatoCloud Solution <dbatocloud17@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Firthouse banu @ 2021-11-07 16:08 UTC (permalink / raw)
  To: dbatoCloud Solution <dbatocloud17@gmail.com>; +Cc: pgsql-admin

I have done it in my previous project . Yes it’s difficult and time taking
process . Because some features which is in oracle will not be working for
Postgres. We need to find the equivalent of it and change code .
I have used AWS schema conversion tool to converts complete schema as it
will not do your complete job some changes needs to be done manually….

Thanks
Firthouse

On Sun, 7 Nov 2021 at 9:28 PM, dbatoCloud Solution <dbatocloud17@gmail.com>
wrote:

> Hi Team
> I want to migrate Oracle PL/SQL code to PostgreSQL pg/sql code.
> Could you please let me know if someone has done it? if yes then what kind
> of challenges do we need to face it?
>
>
> Thanks
>
> Ashok
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Ashokkumar Mani
>
>  +91 81975 99922
>
> W: https://dbatocloudsolution.blogspot.in/
> <http://dbatocloudsolution.blogspot.in/; | E: dbatocloud17@gmail.com
>
>
>
>

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Looking for help to migrate Oracle PL SQL code to PGSQL code
@ 2021-11-07 16:14  dbatoCloud Solution <dbatocloud17@gmail.com>
  parent: Firthouse banu <penguinsfairy@gmail.com>
  0 siblings, 2 replies; 6+ messages in thread

From: dbatoCloud Solution @ 2021-11-07 16:14 UTC (permalink / raw)
  To: Firthouse banu <penguinsfairy@gmail.com>; +Cc: pgsql-admin

Hi Firthouse banu

Can you please share your experience of migrating oracle code to postgresql
? I mean the steps and overview which would be great.


Thanks

Ashok

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ashokkumar Mani

 +91 81975 99922

W: https://dbatocloudsolution.blogspot.in/
<http://dbatocloudsolution.blogspot.in/; | E: dbatocloud17@gmail.com





On Sun, Nov 7, 2021 at 8:08 PM Firthouse banu <penguinsfairy@gmail.com>
wrote:

> I have done it in my previous project . Yes it’s difficult and time taking
> process . Because some features which is in oracle will not be working for
> Postgres. We need to find the equivalent of it and change code .
> I have used AWS schema conversion tool to converts complete schema as it
> will not do your complete job some changes needs to be done manually….
>
> Thanks
> Firthouse
>
> On Sun, 7 Nov 2021 at 9:28 PM, dbatoCloud Solution <dbatocloud17@gmail.com>
> wrote:
>
>> Hi Team
>> I want to migrate Oracle PL/SQL code to PostgreSQL pg/sql code.
>> Could you please let me know if someone has done it? if yes then what
>> kind of challenges do we need to face it?
>>
>>
>> Thanks
>>
>> Ashok
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> Ashokkumar Mani
>>
>>  +91 81975 99922
>>
>> W: https://dbatocloudsolution.blogspot.in/
>> <http://dbatocloudsolution.blogspot.in/; | E: dbatocloud17@gmail.com
>>
>>
>>
>>

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* RE: Looking for help to migrate Oracle PL SQL code to PGSQL code
@ 2021-11-07 16:31  Michel SALAIS <msalais@msym.fr>
  parent: dbatoCloud Solution <dbatocloud17@gmail.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Michel SALAIS @ 2021-11-07 16:31 UTC (permalink / raw)
  To: 'dbatoCloud Solution' <dbatocloud17@gmail.com>; 'Firthouse banu' <penguinsfairy@gmail.com>; +Cc: pgsql-admin

You can use ora2pg which can do a lot for you (https://ora2pg.darold.net/start.html).

 

But this doesn’t mean that all will be automatic. You have to recheck PL/pgSQL code generated by the tool. This is necessary because of the difference of functionalities between Oracle and PostgreSQL. If you have a lot of PL/SQL code, this will not be a little task. Anyway, application code is on your charge.

 

Best regards

Michel SALAIS

De : dbatoCloud Solution <dbatocloud17@gmail.com> 
Envoyé : dimanche 7 novembre 2021 17:15
À : Firthouse banu <penguinsfairy@gmail.com>
Cc : pgsql-admin@postgresql.org
Objet : Re: Looking for help to migrate Oracle PL SQL code to PGSQL code

 

Hi Firthouse banu

 

Can you please share your experience of migrating oracle code to postgresql ? I mean the steps and overview which would be great.

 

 

Thanks

Ashok

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ashokkumar Mani

 +91 81975 99922 

W: https://dbatocloudsolution.blogspot.in/ <http://dbatocloudsolution.blogspot.in/;  | E: dbatocloud17@gmail.com <mailto:dbatocloud17@gmail.com> 

 

 

 

 

On Sun, Nov 7, 2021 at 8:08 PM Firthouse banu <penguinsfairy@gmail.com <mailto:penguinsfairy@gmail.com> > wrote:

I have done it in my previous project . Yes it’s difficult and time taking process . Because some features which is in oracle will not be working for Postgres. We need to find the equivalent of it and change code . 

I have used AWS schema conversion tool to converts complete schema as it will not do your complete job some changes needs to be done manually…. 

 

Thanks

Firthouse

 

On Sun, 7 Nov 2021 at 9:28 PM, dbatoCloud Solution <dbatocloud17@gmail.com <mailto:dbatocloud17@gmail.com> > wrote:

Hi Team

I want to migrate Oracle PL/SQL code to PostgreSQL pg/sql code. 

Could you please let me know if someone has done it? if yes then what kind of challenges do we need to face it? 

 

Thanks

Ashok

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ashokkumar Mani

 +91 81975 99922 

W: https://dbatocloudsolution.blogspot.in/ <http://dbatocloudsolution.blogspot.in/;  | E: dbatocloud17@gmail.com <mailto:dbatocloud17@gmail.com> 

 

 

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Looking for help to migrate Oracle PL SQL code to PGSQL code
@ 2021-11-08 06:16  P C <puravc@gmail.com>
  parent: dbatoCloud Solution <dbatocloud17@gmail.com>
  1 sibling, 1 reply; 6+ messages in thread

From: P C @ 2021-11-08 06:16 UTC (permalink / raw)
  To: dbatoCloud Solution <dbatocloud17@gmail.com>; +Cc: Firthouse banu <penguinsfairy@gmail.com>; pgsql-admin

Ashok,

There are tools like ora2pg and others which will help you convert
oracle-plsql to pg-psql. However, note 2 things:
1. It will not do a 100% conversion.
2. You will need to verify whatever it has converted to ensure that your
functionality is not impacted which means testing efforts will be
substantial.

All-in-all, as others shared, it is quite a task. Although ora2pg/tools
will reduce some work, the time will not reduce because you will still need
to verify the conversion and convert yourself whatever is not converted.

HTH

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Looking for help to migrate Oracle PL SQL code to PGSQL code
@ 2021-11-08 06:36  Holger Jakobs <holger@jakobs.com>
  parent: P C <puravc@gmail.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Holger Jakobs @ 2021-11-08 06:36 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org, P C <puravc@gmail.com>; dbatoCloud Solution <dbatocloud17@gmail.com>; +Cc: Firthouse banu <penguinsfairy@gmail.com>; pgsql-admin

Another tool
https://www.cybertec-postgresql.com/en/products/cybertec-migrator/

Am 8. November 2021 07:16:18 MEZ schrieb P C <puravc@gmail.com>:
>Ashok,
>
>There are tools like ora2pg and others which will help you convert
>oracle-plsql to pg-psql. However, note 2 things:
>1. It will not do a 100% conversion.
>2. You will need to verify whatever it has converted to ensure that your
>functionality is not impacted which means testing efforts will be
>substantial.
>
>All-in-all, as others shared, it is quite a task. Although ora2pg/tools
>will reduce some work, the time will not reduce because you will still need
>to verify the conversion and convert yourself whatever is not converted.
>
>HTH

-- 
Holger Jakobs, Bergisch Gladbach
+49 178 9759012
- sent from mobile, therefore short -

^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2021-11-08 06:36 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 15:58 Looking for help to migrate Oracle PL SQL code to PGSQL code dbatoCloud Solution <dbatocloud17@gmail.com>
2021-11-07 16:08 ` Firthouse banu <penguinsfairy@gmail.com>
2021-11-07 16:14   ` dbatoCloud Solution <dbatocloud17@gmail.com>
2021-11-07 16:31     ` Michel SALAIS <msalais@msym.fr>
2021-11-08 06:16     ` P C <puravc@gmail.com>
2021-11-08 06:36       ` Holger Jakobs <holger@jakobs.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox