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 1n81EM-0000mX-0i for pgsql-admin@arkaria.postgresql.org; Thu, 13 Jan 2022 14:37:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n81EK-0005Wh-S9 for pgsql-admin@arkaria.postgresql.org; Thu, 13 Jan 2022 14:37:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n81EK-0005WB-I4 for pgsql-admin@lists.postgresql.org; Thu, 13 Jan 2022 14:37:32 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n81EH-0004pg-QI for pgsql-admin@lists.postgresql.org; Thu, 13 Jan 2022 14:37:31 +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 20DEbMae005561 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 Jan 2022 16:37:27 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 20DEbM58093837 for ; Thu, 13 Jan 2022 16:37:22 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: New Oracle system in our house, migration chances To: pgsql-admin@lists.postgresql.org References: <5387d1e8-a7d4-f568-fef1-30489fe93bba@matrix.gatewaynet.com> <20220113141321.qdas6evcuc5vvfvp@jrouhaud> <31fdaf33-f401-20ab-9f98-5bedb88448d9@matrix.gatewaynet.com> <11cc896e-f136-1e9e-c4ff-ef7939a14337@sqlexec.com> From: Achilleas Mantzios Message-ID: Date: Thu, 13 Jan 2022 16:37:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <11cc896e-f136-1e9e-c4ff-ef7939a14337@sqlexec.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.102.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-28.0 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,DYN_HAM_SIGNAT1 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 On 13/1/22 4:28 μ.μ., MichaelDBA wrote: Hi Michael, thank you > As an ex-PB programmer, you should recompile the PowerBuilder app.  It is probably using "datawindows" to abstract the SQL away.  This way you can catch any incompatibilities and fix the datawindows > accordingly.  Obviously, you have to provide a different database driver as well.  What version of PB are you using? > Yes they do use datawindows, do not know version yet. > Regards, > Michael Vitale > > > Achilleas Mantzios wrote on 1/13/2022 9:20 AM: >> On 13/1/22 4:13 μ.μ., Julien Rouhaud wrote: >>> On Thu, Jan 13, 2022 at 04:06:06PM +0200, Achilleas Mantzios wrote: >>>> Dziekuje Alicija. The powerbuilder app is in-house developed, source is >>>> available, what could be wrong with the app? Browsing through the >>>> powerbuilder source I don't see (by eye) anything that could break something >>>> in PgSQL. >>> I would go with option A if possible.  If you want to get an idea of how >>> complicated a migration would be, ora2pg does have a migration cost assessment >>> report [1].  It can even check the queries if you have the audit trail enabled >>> on your oracle database (if that existed in that version). >>> >>> [1] https://ora2pg.darold.net/documentation.html#Migration-cost-assessment >> Such great info. Thank you so much. 21 years ago we started building our system on top of PostgreSQL, there have been challenges, but we never regreted our initial decision (vs mysql) not even once. >> >> > > > -- Achilleas Mantzios DBA, Analyst, IT Lead IT DEPT Dynacom Tankers Mgmt