Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCtzy-0000Sy-B9 for pgsql-sql@arkaria.postgresql.org; Wed, 08 Jul 2015 18:23:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZCtzx-0005xJ-3i for pgsql-sql@arkaria.postgresql.org; Wed, 08 Jul 2015 18:23:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZCtyc-0004ed-Q7 for pgsql-sql@postgresql.org; Wed, 08 Jul 2015 18:21:46 +0000 Received: from proofpoint1.mail.rice.edu ([128.42.201.100] helo=pp1.rice.edu) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZCtyZ-0003Sh-4i for pgsql-sql@postgresql.org; Wed, 08 Jul 2015 18:21:45 +0000 Received: from pps.filterd (pp1.rice.edu [127.0.0.1]) by pp1.rice.edu (8.15.0.59/8.15.0.59) with SMTP id t68IJ114021449; Wed, 8 Jul 2015 13:21:41 -0500 Received: from mh1.mail.rice.edu (mh1.mail.rice.edu [128.42.201.20]) by pp1.rice.edu with ESMTP id 1vg4ggh1mu-1; Wed, 08 Jul 2015 13:21:41 -0500 X-Virus-Scanned: by amavis-2.7.0 at mh1.mail.rice.edu, auth channel X-SMTP-Auth: no X-SMTP-Auth: no Received: from aart.rice.edu (aart.rice.edu [168.7.56.48]) by mh1.mail.rice.edu (Postfix) with ESMTP id 4C4FB4602C3; Wed, 8 Jul 2015 13:21:41 -0500 (CDT) Received: by aart.rice.edu (Postfix, from userid 18612) id 426A3100813; Wed, 8 Jul 2015 13:21:41 -0500 (CDT) Date: Wed, 8 Jul 2015 13:21:41 -0500 From: "ktm@rice.edu" To: Tim Clotworthy Cc: pgsql-sql@postgresql.org Subject: Re: Oracle to PostgreSQL Migration - Need Information Message-ID: <20150708182141.GJ24774@aart.rice.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1506180000 definitions=main-1507080275 X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On Wed, Jul 08, 2015 at 12:30:29PM -0400, Tim Clotworthy wrote: > Hello, > > I have a customer that is about to undertake a migration of an Oracle 11g > database to PostgreSQL 9.x (exact version to be determined). I am talking > not only of the migration of schemas and data, but also of a substantial > codebase of Pl/SQL stored procedures, as well as many triggers. > > I don't think they know yet what they are up against. Everything I have > read is that this is a very substantial effort. At this stage, they would > be particularly interested in realistic and practical information on how to > estimate the effort required as well as any best-practices or guidance on > transition strategies. > > I have found official documentation on the PostgreSQL site for porting > Pl/SQL to PL/pgSQL. This is excellent technical documentation. However, > there success will require that they are well prepared realistically > understanding the scope of the effor they are asbout to undertake. > > Thanks for any response! Hi Tim, You might want to give ora2pg a go (http://ora2pg.darold.net): Features included: - Export full database schema (tables, views, sequences, indexes), with unique, primary, foreign key and check constraints. - Export grants/privileges for users and groups. - Export range and list partition. - Export a table selection (by specifying the table names). - Export Oracle schema to a PostgreSQL 8.4+ schema. - Export predefined functions, triggers, procedures, packages and package bodies. - Export full data or following a WHERE clause. - Full support of Oracle BLOB object as PG BYTEA. - Export Oracle views as PG tables. - Export Oracle user defined types. - Provide some basic automatic conversion of PLSQL code to PLPGSQL. - Works on any plateform. - Export Oracle tables as foreign data wrapper tables. - Export materialized view. - Show a detailled report of an Oracle database content. - Migration cost assessment of an Oracle database. - Migration cost assessment of PL/SQL code from a file. - Migration cost assessment of Oracle SQL queries stored in a file. - Generate XML ktr files to be used with Penthalo Data Integrator (Kettle) - Export Oracle locator and spatial geometries into PostGis. Regards, Ken -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql