Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2aO1-000223-Ak for pgsql-performance@arkaria.postgresql.org; Thu, 12 Oct 2017 10:06:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e2aO0-00035o-SZ for pgsql-performance@arkaria.postgresql.org; Thu, 12 Oct 2017 10:06:40 +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_2) (envelope-from ) id 1e2aME-0007AA-Fl; Thu, 12 Oct 2017 10:04:50 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e2aMC-00072O-2T; Thu, 12 Oct 2017 10:04:49 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 7238F4C954; Thu, 12 Oct 2017 12:04:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id RJ9B9hWSEEhD; Thu, 12 Oct 2017 12:04:34 +0200 (CEST) Message-ID: <1507802672.3007.5.camel@cybertec.at> Subject: Re: synchronization between PostgreSQL and Oracle From: Laurenz Albe To: ROS Didier , "pgsql-performance@postgresql.org" , "pgsql-performance-owner@postgresql.org" Date: Thu, 12 Oct 2017 12:04:32 +0200 In-Reply-To: <28c9e5ed0a81404190611f71faf74903@PCYINTPEXMU001.NEOPROD.EDF.FR> References: <28c9e5ed0a81404190611f71faf74903@PCYINTPEXMU001.NEOPROD.EDF.FR> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org ROS Didier wrote: >                I would like your advice  and recommendation about the following infrastructure problem : > What is the best way to optimize synchronization between an instance PostgreSQL on Windows 7 workstation and an Oracle 11gR2 database on linux RHEL  ? > Here are more detailed explanations > In our company we have people who collect data in a 9.6 postgresql instance on their workstation that is disconnected from the internet. > In the evening, they connect to the Internet and synchronize the collected data to a remote 11gr2 Oracle database. > What is the best performant way to do this ( Oracle_FDW ?, flat files ?, …) If the synchronization is triggered from the workstation with PostgreSQL on it, you can either use oracle_fdw or pg_dump/sql*loader to transfer the data. Using oracle_fdw is probably simpler, but it is not very performant for bulk update operations. If performance is the main objective, use export/import. Yours, Laurenz Albe -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance