Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dORR4-0006P6-JS for pgsql-jdbc@arkaria.postgresql.org; Fri, 23 Jun 2017 16:27:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dORR3-0004zg-4y for pgsql-jdbc@arkaria.postgresql.org; Fri, 23 Jun 2017 16:27:53 +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 1dORR2-0004zI-LM for pgsql-jdbc@postgresql.org; Fri, 23 Jun 2017 16:27:52 +0000 Received: from smtp754.redcondor.net ([208.80.206.54]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dORQy-0004uc-AI for pgsql-jdbc@postgresql.org; Fri, 23 Jun 2017 16:27:49 +0000 Received: from mailproxy3.av-mx.com ([137.118.40.133]) by smtp754.redcondor.net ({97b16bb2-c597-43ea-8fbe-137c536017bc}) via TCP (outbound) with ESMTP id 20170623162744204_0754; Fri, 23 Jun 2017 16:27:44 +0000 X-RC-FROM: Received: from [192.168.157.52] (unknown [76.75.5.113]) (Authenticated sender: danap@itstriangle.com) by mailproxy3.av-mx.com (Postfix) with ESMTPA id D0CFA2002CB; Fri, 23 Jun 2017 12:27:38 -0400 (EDT) Subject: Re: Streaming ResultSet To: albertwang , PostgreSQL JDBC References: <1498176526105-5968275.post@n3.nabble.com> From: danap Message-ID: <594D431F.9000305@itstriangle.com> Date: Fri, 23 Jun 2017 10:34:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <1498176526105-5968275.post@n3.nabble.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DLP-OUTBOUND: 137.118.40.128/25 X-MAG-OUTBOUND: greymail.redcondor.net@137.118.40.128/25 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org albertwang wrote: > Hi Kevin, > > How is your question / suggestion going? > > I met the same problem. Our company uses PostgreSQL as the OLTP system. I am > working on an ETL project which reads data from a PostgreSQL db, transforms > the data and then load the data into another PostgreSQL db. The ETL tool > uses JDBC. > > My problem is that the ETL won't start to transform the data before the > whole data result set has been loaded into memory. > > I would like to do the data transforming and loading while extracting data. How about instead of using the JDBC intermediary, extract the data into a local file/memory db, then transform and load from it to the destination PostgreSQL db. Set up three seperate parallel processes to perform the task. danap. > > Do you know if there is any progress reagrding the streaming result set? As > I know, MySQL does support it. > > Thank you. > > Regards, > Albert -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc