Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XkcWL-0002LP-Ln for pgsql-hackers@arkaria.postgresql.org; Sat, 01 Nov 2014 17:31:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XkcWL-0004oM-3b for pgsql-hackers@arkaria.postgresql.org; Sat, 01 Nov 2014 17:31:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XkcWJ-0004l9-Ab; Sat, 01 Nov 2014 17:31:23 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XkcWF-00023k-SC; Sat, 01 Nov 2014 17:31:21 +0000 Received: from anarazel.de (p54AF4ED2.dip0.t-ipconnect.de [84.175.78.210]) by mrelayeu.kundenserver.de (node=mreue105) with ESMTP (Nemesis) id 0ML7th-1XkLXI2oPx-000P3u; Sat, 01 Nov 2014 18:31:17 +0100 Received: by anarazel.de (Postfix, from userid 1000) id B8648100B43; Sat, 1 Nov 2014 18:31:16 +0100 (CET) Date: Sat, 1 Nov 2014 18:31:16 +0100 From: Andres Freund To: Mikko Tiihonen Cc: "pgsql-hackers@postgresql.org" , "pgsql-jdbc@postgresql.org" Subject: Re: Pipelining executions to postgresql server Message-ID: <20141101173116.GR13584@awork2.anarazel.de> References: <1414850643686.34687@nitorcreations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1414850643686.34687@nitorcreations.com> X-Provags-ID: V02:K0:qMzCtSbsAghPLeAXi+uCUSzVyaX12J1/RIHgzxTKXQr O6yMLptUvvlJ4Y1GyKBjiR6SA0bu/Kt+Vte9hklr/h8nO2+euf dBzfYKC4JHX2WVixZMtqfVWN3ZbYV1uYDTX04gr68WTOlk98ga L15Swgex58t3s5FzJjQ33Z/S6TyrrPXFkPqF6mGfU115Oz2OLA ZZPGSsBBEZBNCd/eb+n9oPSF+v3AJ4RLUzr1s21ggxZkLezSLc woSxqXxrDLaL2WmpUwZQDWQVX8STG8Tn+L+toSV97QTdGvjvIQ p1a9OSK1mEgYR1yu7unIgnlOKsqLQaYEQ+w5VzwOFujigdyW9Z Ofr/zt23RPpeTNbMXossAzlm8zOyduLOTJ8YgSga2 X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2014-11-01 14:04:05 +0000, Mikko Tiihonen wrote: > I created a proof of concecpt patch for postgresql JDBC driver that > allows the caller to do pipelining of requests within a > transaction. The pipelining here means same as for HTTP: the client > can send the next execution already before waiting for the response of > the previous request to be fully processed. Slightly confused here. To my knowledge the jdbc driver already employs some pipelining? There's some conditions where it's disabled (IIRC RETURNING for DML is one of them), but otherwise it's available. I'm very far from a pgjdbc expert, but that's what I gathered from the code when investigating issues a while back and from my colleague Craig. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers