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 1iHZzs-0005yC-6O for pgsql-general@arkaria.postgresql.org; Mon, 07 Oct 2019 20:52:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iHZzp-0004S3-WF for pgsql-general@arkaria.postgresql.org; Mon, 07 Oct 2019 20:52:45 +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 1iHZzp-0004Rf-JH for pgsql-general@lists.postgresql.org; Mon, 07 Oct 2019 20:52:45 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1iHZzn-0008VL-7x for pgsql-general@postgresql.org; Mon, 07 Oct 2019 20:52:44 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id F39BD17BD8A00 for ; Mon, 7 Oct 2019 13:52:41 -0700 (MST) Date: Mon, 7 Oct 2019 13:52:41 -0700 (MST) From: dangal To: pgsql-general@postgresql.org Message-ID: <1570481561995-0.post@n3.nabble.com> Subject: temporary files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello everyone, I have a question to see if you can help me, I have set work_mem in 100 MB but I have the following in the pgbadger Queries generating the most temporary files (N) Count Total size Min size Max size Avg size =C2=A0=C2=A0 58 3.24 GiB 57.15 MiB 57.15 MiB 57.15 MiB How could it be that if you require 57 MB, 100 MB will not reach ? thanks a lot -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.h= tml