Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhOXQ-0007ia-05 for pgsql-performance@arkaria.postgresql.org; Mon, 14 Aug 2017 23:12:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhOXP-0001RQ-Ip for pgsql-performance@arkaria.postgresql.org; Mon, 14 Aug 2017 23:12:47 +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 1dhOVd-0005ec-Oq for pgsql-performance@postgresql.org; Mon, 14 Aug 2017 23:10:57 +0000 Received: from resqmta-ch2-12v.sys.comcast.net ([2001:558:fe21:29:69:252:207:44]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhOVa-0000Hz-OP for pgsql-performance@postgresql.org; Mon, 14 Aug 2017 23:10:56 +0000 Received: from resomta-ch2-11v.sys.comcast.net ([69.252.207.107]) by resqmta-ch2-12v.sys.comcast.net with ESMTP id hOVPdyHKixR26hOVYdXi1d; Mon, 14 Aug 2017 23:10:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1502752252; bh=gSQtCxHSZxktroBpPWOoZ1SFl+1iTRLNInUwF4+Fcxk=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=SnIZAT08t9E62Py7mDj6anDOWa24qmDYxjxXfZfepEv84AsEAh+x0zV1+RtLxZqQL O8OHdxHy958htvJCq+Og8W10Y5CBO3uWhgpYY6Tuy1UJpsmB0p+3T4NFPICRzRmQvS xP6JlFenNITTCETmhFkK3pfIERJL6nhWeRTWbbRJ6DiTYju69Qa/3weJcdg2x1/aG/ he+BPXebsAcklA1EyjXSJhl+b/zh1pAYZpmvYQAnJeZojWbbFBHqliU0rAMN1keb7o nbnkKUKyVHmB/hU3YjVahNdi9k1VvZQWgY+lGaiWUAam7cZcPnd6EVsyIBEIjv+gYL mqBULV2RGmRrA== Received: from jsievers.comcast.net ([12.187.116.132]) by resomta-ch2-11v.sys.comcast.net with SMTP id hOVKdMfoVuMJOhOVNdtimb; Mon, 14 Aug 2017 23:10:49 +0000 Received: from jsievers.enova.com (localhost [127.0.0.1]) by jsievers.comcast.net (Postfix) with ESMTP id A320126005E; Mon, 14 Aug 2017 18:10:38 -0500 (CDT) From: Jerry Sievers To: Peter Geoghegan Cc: Jeremy Finzel , postgres performance list Subject: Re: Odd sudden performance degradation related to temp object churn References: Date: Mon, 14 Aug 2017 18:10:38 -0500 In-Reply-To: (Peter Geoghegan's message of "Mon, 14 Aug 2017 15:43:40 -0700") Message-ID: <87mv71eoep.fsf@jsievers.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-CMAE-Envelope: MS4wfC0TAPATAw2nVlS1+9/b/UsL1ZvqKbpMRGd/lLu+aMDnxNl5EaP4DW5xzq7Qdp/J7Np+huy4BUhM2Q9OuoJEuYfbgdoekRu8gNeB4ie7T5vQs0JStQR3 ivE5F7wFn6Q9zwtydM4l6ROrj99JEEvMKSmwF44rNRVtjum+BTqHr8S77aD60HoP98WT/HwrRbU8H0zWS9nMdnZI9pqWIeHPQWcEbUas/Y+CbSg4WuuR0EDw E5PPnFxYJ0pLvg27Y/pXig== 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 Peter Geoghegan writes: > On Mon, Aug 14, 2017 at 12:53 PM, Jeremy Finzel wrote: > >> This particular db is on 9.3.15. Recently we had a serious performance >> degradation related to a batch job that creates 4-5 temp tables and 5 >> indexes. It is a really badly written job but what really confuses us is >> that this job has been running for years with no issue remotely approaching >> this one. We are also using pgpool. > > Did you happen to notice that this occurred when you upgrading point > release? If so, what version did you move from/to? The system was last started back in November. Running 9.3.15. Not aware of any host system libs or whatever change recently but will investigate. > > -- > Peter Geoghegan -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800 -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance