Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFndx-00082v-0x for pgsql-performance@arkaria.postgresql.org; Tue, 30 May 2017 20:21:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFndw-00062I-F6 for pgsql-performance@arkaria.postgresql.org; Tue, 30 May 2017 20:21:28 +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 1dFndv-000628-RO for pgsql-performance@postgresql.org; Tue, 30 May 2017 20:21:27 +0000 Received: from vapor.isi.edu ([128.9.64.64]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFnds-0001oO-Tg for pgsql-performance@postgresql.org; Tue, 30 May 2017 20:21:26 +0000 Received: from moraine.isi.edu (moraine.isi.edu [128.9.64.90]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id v4UKKm7n018353; Tue, 30 May 2017 13:20:48 -0700 (PDT) Date: Tue, 30 May 2017 13:20:46 -0700 From: Karl Czajkowski To: Rick Otten Cc: "Kevin.Hughes@uk.fujitsu.com" , "pgsql-performa." Subject: Re: Client Server performance & UDS Message-ID: <20170530202046.GE7575@moraine.isi.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ISI-4-43-8-MailScanner: Found to be clean X-MailScanner-From: karlcz@isi.edu X-Pg-Spam-Score: -6.9 (------) 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 On May 30, Rick Otten modulated: > If your clients are keeping persistent connections open to the > database, and the latency you are experiencing is within the > transaction itself, you might look at disk I/O for your WAL (write > ahead logs) and take a closer look at WAL and checkpoint tuning. > Also, if you are doing similar operations over and over with literal data in them, you may have more query planner overhead per transaction than if you prepared statements when opening the persistent connection and then simply executed the statements over and over with different parameters for each request. Karl -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance