Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gUrfw-0001aQ-U3 for pgsql-general@arkaria.postgresql.org; Thu, 06 Dec 2018 11:18:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gUrfu-0003xq-UJ for pgsql-general@arkaria.postgresql.org; Thu, 06 Dec 2018 11:18:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gUrfu-0003xj-Kk for pgsql-general@lists.postgresql.org; Thu, 06 Dec 2018 11:18:34 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gUrfq-0003qX-2L for pgsql-general@postgresql.org; Thu, 06 Dec 2018 11:18:34 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 72E95D74; Thu, 6 Dec 2018 06:18:27 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 06 Dec 2018 06:18:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=withers.org; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=UN2TkHktbs8mNyk4kNmXHjx6mYd7+jHjqTMdOLuX5FU=; b=Wq2tp8dIz6dv i9D9NhmF03GSbqRGNVmTSM84gnN8STNR0BeyfnkQDwsBqtYsFqCf8hQUb2lvjT7t u8v+3AXh1T63uWrfBdnQtlZIr6CshxwRxV8U2VD7d4VFkIUH1er2VXbjLYvELorC eIOocuWBTMBLHGfZyiN1p4GjI3D+TD8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=UN2TkHktbs8mNyk4kNmXHjx6mYd7+jHjqTMdOLuX5 FU=; b=rSc9jcM5JTJKtNtaxTi5tDySiKKcTYA0CuanpoKKSIb2DdwI39RT5v8HH H0k5lQK3+LxuldcclOj0/SsYNdsCLTVN2CQp8i44F4YU0b0XhUelAJMEZSR8KrnE /gv+AjiiJ5llZwGbJeuijJO4u3asfGY7WbIuvMWCNdlG45qb9feDYxn1i/XhEXjN R3aqHGL7ofOiUrrqZT0zanrxlH83jZ05frfDWsc0DJgu1Jj9deyKeMiUETPlUxGm c6EXveCivBC6ZI+NXzcOGn0U9PFJQLGuZ6FycUj0mHpwUR9brMnNjs+TZqOW0P+A DaYkL7Qiy7ijPNS2cILJEnP/T/v8A== X-ME-Sender: X-ME-Proxy: Received: from [172.25.22.95] (unknown [213.174.214.6]) by mail.messagingengine.com (Postfix) with ESMTPA id 3613EE4430; Thu, 6 Dec 2018 06:18:26 -0500 (EST) Subject: Re: debugging intermittent slow updates under higher load To: Alexey Bashtanov , pgsql-general References: <56acdbff-1e87-e1f9-3e9e-873685ad0e1e@imap.cc> <9b949350-e294-c3f9-4d73-1eb05cad3819@imap.cc> From: Chris Withers Message-ID: Date: Thu, 6 Dec 2018 11:18:25 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:64.0) Gecko/20100101 Thunderbird/64.0 MIME-Version: 1.0 In-Reply-To: <9b949350-e294-c3f9-4d73-1eb05cad3819@imap.cc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 06/12/2018 11:00, Alexey Bashtanov wrote: > >> I'm loath to start hacking something up when I'd hope others have done >> a better job already... > If you log all queries that take more than a second to complete, is your > update the only one logged, or something (the would-be blocker) gets > logged down together with it? Nope, only ones logged are these updates. Chris