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 1i13Nh-0005Tr-Ba for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 06:49:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i13Nf-0005Lh-Qy for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 06:49:03 +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 1i13Nf-0005La-HU for pgsql-general@lists.postgresql.org; Fri, 23 Aug 2019 06:49:03 +0000 Received: from serveurmail01.codata.be ([82.146.123.190]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i13NZ-0007PS-2P for pgsql-general@postgresql.org; Fri, 23 Aug 2019 06:49:02 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id D26AD900CE; Fri, 23 Aug 2019 08:48:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at serveurmail01.codata.be Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VPmM3N9SfmE5; Fri, 23 Aug 2019 08:48:55 +0200 (CEST) Received: from [10.0.0.100] (38-179-112-217.fix.adsl.belcenter.be [217.112.179.38]) by serveurmail01.codata.be (Postfix) with ESMTPSA id D59F1900C8; Fri, 23 Aug 2019 08:48:54 +0200 (CEST) Subject: Re: psql \copy hanging To: Jerry Sievers , "Arnaud L." Cc: pgsql-general@postgresql.org References: <87ef1dkrll.fsf@jsievers.enova.com> Reply-To: arnaud.listes@codata.eu From: "Arnaud L." Message-ID: <7a52cc0a-a036-2eaf-3edc-13dfad53985f@codata.eu> Date: Fri, 23 Aug 2019 08:48:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <87ef1dkrll.fsf@jsievers.enova.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Le 22/08/2019 à 20:00, Jerry Sievers a écrit : > Is the overnight run being done as the same DB user you are testing > with? > > If not, then perhaps the automated user deviates in resource settings > and/or permissions, in turn resulting in sluggish performance caused by > thrashing and/or inferior query plan. Hi Jerry, yes, they both run under the same user. I've checked my other scheduled tasks and I don't see what could interfere, but then this is quite complex so I could easily overlook something. Unfortunately, tonight's run failed for a totally different reason... Thanks for your help Cheers -- Arnaud