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 1gWa7b-0005HL-Jt for pgsql-general@arkaria.postgresql.org; Tue, 11 Dec 2018 04:58:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gWa7a-00005S-6E for pgsql-general@arkaria.postgresql.org; Tue, 11 Dec 2018 04:58:14 +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 1gWa7Z-00005J-SM for pgsql-general@lists.postgresql.org; Tue, 11 Dec 2018 04:58:13 +0000 Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWa7S-0006md-M1 for pgsql-general@lists.postgresql.org; Tue, 11 Dec 2018 04:58:13 +0000 Received: by mail-oi1-x243.google.com with SMTP id a77so11008503oii.5 for ; Mon, 10 Dec 2018 20:58:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:cc:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=nqxlYPoXr+XLpZVbNW5eJHwpH013TkH82gzSBO0OVBY=; b=Z1r6UAQjuJ+qG0jh4b1hmfuvMQof/L5yfCebtbEFhBZbIhWo4x77WraMKWn4w6LTWr 9/z6KULhGce06XyNsprVEawSU/w1d4VOHY0NU9uqpQFNq2rYAa0v3MGhm9b4QE5U1Z7A JHtzHJkNfKsoyiSQhh8dCza3yxhVTkT5gADOVfC1gDoC7zk1y98Y+ZNRikXLflJ0+Cv4 WEnMg2IklpF7VEx7s0XCB9u/dGBavM/zmnTQxR+udE2Dc+n7mhHpw5TN+swlfUsIg863 UVXkzVG4ZvzrVPjfHnLf5QH6fgCiRQ6McCXWqxZa2U39c2mm/ThYuev19pYojc6m6qIj 4IOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=nqxlYPoXr+XLpZVbNW5eJHwpH013TkH82gzSBO0OVBY=; b=rlMzHK7ojumq4pJ7CFXzDBDb77SXt8gNsp1xsyBU4bwWvdptFi2/vO/VUOdeFimH5A ekznUzZuC4jXfHfudCFh2XQDXWyCWNqr+HNpMldFzxEPFCQIuVOKhJNL8bu56lHVZRb6 6XzAgmeVe1o1Zv8t9a+LWzBqA4o6YV8yFfJNmFif+d2CfGZuXc9Rq0R+UsXGJWQR0g0h 6pvYiz2EBgG6xHX+yUBjDJhqpFOKhMbQ75e+rDYdtSxefsW2Y63CF8mB6CJok53FTzh+ y+mCPI2PiDoYR7RPpATTgH5Iput3XLcP6TzHgfl5ChSR8JvI4oDOATlcGEQIr3Pb4r+V QGmQ== X-Gm-Message-State: AA+aEWYUH0XjTUSe+k/Amn/4MYQOF5DfFwKPsAPS9C5BxWVH5wL74rq2 xwEU43QKlnPyi+D2pORoEGuPAlOW X-Google-Smtp-Source: AFSGD/WQLGjoLBAeayfria8F8KEjLt4QNmOzBU2gFwnjBpB/HrchsZuMOu4OzXPJoNz/rwHsk0MY0A== X-Received: by 2002:aca:b707:: with SMTP id h7mr433983oif.89.1544504283542; Mon, 10 Dec 2018 20:58:03 -0800 (PST) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id k23sm5904320oic.41.2018.12.10.20.58.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 20:58:02 -0800 (PST) Subject: Re: What is the tuplestore? Cc: "pgsql-generallists.postgresql.org" References: <5d3fb55c-cb31-d9dd-6f4f-9b14c1a28832@gmail.com> From: Ron Message-ID: <82035be3-de11-4653-84f1-abcfc29ec907@gmail.com> Date: Mon, 10 Dec 2018 22:58:02 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/10/2018 06:24 PM, Thomas Munro wrote: > On Tue, Dec 11, 2018 at 2:56 AM Ron wrote: >> 2018-12-07 06:21:55.504 EST 10.140.181.89(35868) CDS CDSLBXW 13748 SELECT >> PostgreSQL JDBC Driver 53100 ERROR: could not write to tuplestore temporary >> file: No space left on device >> >> I see this in the pg_log file, but #1 can't figure out what "tuplestore" is >> (Google doesn't help), and #2 there's lots of space on all my file systems. >> data/base, where pgsql_tmp lives, has 96GB free.) > Maybe the setting log_temp_files could help you identify the query > that is doing it? > > https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-LOG-TEMP-FILES Great idea; I've made the change.  What do I grep for in the pg_log file? -- Angular momentum makes the world go 'round.