Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7zEK-0004Qz-JF for pgsql-admin@arkaria.postgresql.org; Thu, 13 Jan 2022 12:29:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n7zEJ-000791-FY for pgsql-admin@arkaria.postgresql.org; Thu, 13 Jan 2022 12:29:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7zBC-0000ic-0T for pgsql-admin@lists.postgresql.org; Thu, 13 Jan 2022 12:26:10 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7zB8-0003JM-Ve for pgsql-admin@lists.postgresql.org; Thu, 13 Jan 2022 12:26:09 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 20DCPxNL019649 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 Jan 2022 14:26:04 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 20DCPxEf086834 for ; Thu, 13 Jan 2022 14:25:59 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) To: pgsql-admin@lists.postgresql.org From: Achilleas Mantzios Subject: New Oracle system in our house, migration chances Message-ID: Date: Thu, 13 Jan 2022 14:25:59 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.102.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-29.0 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi All, HPNY 2022 We acquired a new company, those guys run on Oracle 10, on AIX 5.2, both systems dating to around 2006 or so. We would like to increase our chances of recovery in case of disaster, since those are unsupported versions of Oracle/AIX AFAIK. The application is written on powerbuilder. The ppl in the respective IT dept claim they have no exotic SQL inside powerbuilder. I am almost 21 years into PostgreSQL, I have done some MS SQL integration with PostgreSQL but almost no Oracle experience since 90's. What are my options here? A) 1) use a tool like ora2pg and try to migrate the schema 2) try to load the data 3) migrate ORACLE code procedures and triggers (about 50 in total) 4) setup and test the app or B) 1) use a layer that provides DB code (procedures/triggers) compatibility and/or DDL compatibility 2) use a tool to move/migrate the schema and load data 3) setup and test the app Any hints where to start, technical options, help to evaluate/assess various solutions/costs would be welcome. I know this has been discussed extensively in PgSQL community, my intention is for this email to provide a platform along with my concurrent/parallel reading on the matter. Thank you -- Achilleas Mantzios DBA, Analyst, IT Lead IT DEPT Dynacom Tankers Mgmt