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 1irQOS-0008N9-9N for pgsql-general@arkaria.postgresql.org; Tue, 14 Jan 2020 17:54:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1irQOQ-0000fL-WA for pgsql-general@arkaria.postgresql.org; Tue, 14 Jan 2020 17:54:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1irQOQ-0000fE-Iy for pgsql-general@lists.postgresql.org; Tue, 14 Jan 2020 17:54:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1irQOK-0004A5-9f for pgsql-general@lists.postgresql.org; Tue, 14 Jan 2020 17:54:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 00EHs96m012502; Tue, 14 Jan 2020 12:54:09 -0500 From: Tom Lane To: Israel Brewster cc: Rob Sargent , "pgsql-generallists.postgresql.org" Subject: Re: Worse performance with higher work_mem? In-reply-to: <89F686D4-DDF7-4965-8823-94823DD7B0C1@alaska.edu> References: <17AAA60F-6CC8-4D5A-9944-9C144A81E609@alaska.edu> <5228.1578961177@sss.pgh.pa.us> <8B3CD048-3DF2-47D6-875A-C935819C48FF@alaska.edu> <89F686D4-DDF7-4965-8823-94823DD7B0C1@alaska.edu> Comments: In-reply-to Israel Brewster message dated "Tue, 14 Jan 2020 08:08:29 -0900" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <12500.1579024449.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 14 Jan 2020 12:54:09 -0500 Message-ID: <12501.1579024449@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Israel Brewster writes: > On Jan 13, 2020, at 3:46 PM, Rob Sargent wrote: >> I don’t see that you’ve updated the statistics? > Ummmm….no. I know nothing about that :-) Just do a manual ANALYZE on the table, if you don't want to wait around for autovacuum to get to it. regards, tom lane