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 1jVuag-0008Fb-Ct for pgsql-general@arkaria.postgresql.org; Tue, 05 May 2020 10:14:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jVuae-00023N-3p for pgsql-general@arkaria.postgresql.org; Tue, 05 May 2020 10:14:16 +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 1jVuad-00023E-SI for pgsql-general@lists.postgresql.org; Tue, 05 May 2020 10:14:15 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jVuaY-0003Jy-Jg for pgsql-general@postgresql.org; Tue, 05 May 2020 10:14:14 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id AFCEA1D2C7A4D for ; Tue, 5 May 2020 03:14:08 -0700 (MST) Date: Tue, 5 May 2020 03:14:08 -0700 (MST) From: legrand legrand To: pgsql-general@postgresql.org Message-ID: <1588673648717-0.post@n3.nabble.com> In-Reply-To: References: Subject: Re: Migration from Oracle to Postgres MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jean Claude wrote > Hi guys, > > I hope you're doing well. > > Simple question > What are the best methods to migrate a huge table from Oracle to Postgres > ? > > Cheers Hello, Depending on the datatype, and if the databases are co-located on the same server, you may try oracle_fdw (except for lobs, where it is slow) or a sqlplus extract from Oracle, then load using copy command in PostgreSQL; Regards PAscal -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html