![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello group, we are facing the task of migrating a large (600k LOC) oracle backend to postgresql. As i figured out by now is that we theoretically have two options: 1. teach Postgres to understand PL/SQL by using 3rd-party-software 2. convert oracle PL/SQL to PG PL/SQL Has anyone of you already experience with such a job? Where are problems to be expected? Are there some tools for automated translating oracle PL/SQL to PG PL/SQL? How good are they? Are there other options except the two above? What option is to be preferred? ....and many, many more... Thank you in advance. Thomas |
#3
| |||||||
| |||||||
|
|
I've had such a pilot project but was forced to give it up. |
|
1) Postgres is the only major database without hints. |
|
2) Postgres partitioning is not very robust. |
|
3) The most important problem are the people leading the community. They stubbornly refuse to even talk about hints. Also, there is a closed source version of Postgres, called EnterpriseDB which has hints. |
|
4) Postgres optimizer is bad. |
|
5) There is no parallelism. Oracle can parallelize queries, Postgres can not. It's as simple as that. There is no cure in sight. |
|
I am an Oracle DBA for more than 20 years and recent changes in the pricing policy have motivated the company that I work for to look for alternatives, starting with OSS software. |
#4
| |||
| |||
|
|
Most of your critics on postgres refer to large amounts of data and perfomance critical applications. In my scenario the oracle-db neither uses hints or partitioned tables nor does performance matter that much. I "only" have the problem of porting the 600k LOC PL/SQL application logic (triggers, strored procedures etc.) to postgres. |
#5
| |||
| |||
|
|
Would EnterpriseDB be a better destination to migrate to from oracle? |
#6
| |||
| |||
|
|
we are facing the task of migrating a large (600k LOC) oracle backend to postgresql. As i figured out by now is that we theoretically have two options: 1. teach Postgres to understand PL/SQL by using 3rd-party-software 2. convert oracle PL/SQL to PG PL/SQL Has anyone of you already experience with such a job? Where are problems to be expected? Are there some tools for automated translating oracle PL/SQL to PG PL/SQL? How good are they? Are there other options except the two above? What option is to be preferred? |
#7
| |||
| |||
|
|
PS: Don't let people discourage you. PostgreSQL is a good and stable database system. |
#8
| |||
| |||
|
|
It is stable, no contest there. Is it good or not is a matter of opinion. I could list several grave faults which make it less than good in my eyes. The first and foremost is, of course, the lack of hints. Postgres is the only major database system which lacks hints. The second is ludicrous need to "vacuum" database. The third is the fact that Postgres doesn't do multi-block reads. Fixed size archive logs (16M) would be the next issue. The lack of shared pool makes it impossible to see the plan of the statement being executed. And there is more. |
#9
| |||
| |||
|
|
Please don't turn into a troll. |
#10
| |||
| |||
|
|
You begin to sound like a broken record. |
|
There are pros and cons to hints, and you can like them or not, |
|
but from what you write it seems to be more of an emotional issue than anything else, so I won't enter a discussion here. |
![]() |
| Thread Tools | |
| Display Modes | |
| |