Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exxv5-000187-FB for pgsql-general@arkaria.postgresql.org; Mon, 19 Mar 2018 16:45:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exxv4-0004YR-G1 for pgsql-general@arkaria.postgresql.org; Mon, 19 Mar 2018 16:45:58 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1exxv3-0004YI-Sa for pgsql-general@lists.postgresql.org; Mon, 19 Mar 2018 16:45:58 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exxv0-0002LX-ES for pgsql-general@lists.postgresql.org; Mon, 19 Mar 2018 16:45:57 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9650D20A92; Mon, 19 Mar 2018 12:45:52 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 19 Mar 2018 12:45:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=bwEBmZ8l3E9EgzrxuG4g1uTnPi8Lr 8xFw2s+RL0AIpc=; b=gWp40Rd0qmYgqsckDGcgdw7inz2U5jxAlf2vrgLWpvp8E P4jURDWUCGhpCgJhF+1ilAB/imjjYkk966e365fH2ho089YmirbcYH4/kGrRZh2B i3ib+DhzI/5zOe4hj6zLZO59OHIF33IFppmFIW7rz+LB99/pWs9gi7ukTmm4NnzF 6x1/FuWEB3ek1lWMUIiyLYWwiNuojlChB2GcORU1YP+JJnXLEdWJtfXaWdWr292v ZbEEzwROZM9zitf71UK5sdMTD92nuvoPtLGgMixEwQfwfqpDFJZt8ijvk6Y7gws/ sAK1IAYBzLvAgDlYVWUOTTnISQm369tuBuKJoo4vQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=bwEBmZ 8l3E9EgzrxuG4g1uTnPi8Lr8xFw2s+RL0AIpc=; b=nNyL9uem4VEzQz1CFihelb FwKHhaoHSpuXyl1bKVaXHhwgaBRRnU7OnXJeq7YRoLKR2DSlocBWDm1yjYTq458v NS90Q2DwYh7L8aexDmCyJe8Co9dhEokcoyk7UIotaH/DFB0HKCj70Ui6kVv/qWfI QH3HmDGSLwjFEoilualxLRu15FjKqpaB06PRFuofxUVic3N37r7Pssli6LPZ7xhU URVG1uP6MjrZ0MRQjvTyOCqGxirUUzHvXH4zrbkjxDmc9GW067tfHLuU12pqoSJE vR3TcpMRTO2vr4AO8cfr8mdk7QWBqmgrCPv0vFGpkGqlQLeAuWtV1FMoXkDlFEIQ == X-ME-Sender: Received: from ranger.suse (c-73-239-117-238.hsd1.wa.comcast.net [73.239.117.238]) by mail.messagingengine.com (Postfix) with ESMTPA id 192777E0F0; Mon, 19 Mar 2018 12:45:52 -0400 (EDT) Subject: Re: PostgreSQL 9.6 Temporary files To: Jimmy Augustine , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: <8348151d-96a8-c693-8dc1-21dcfb3e587e@aklaver.com> Date: Mon, 19 Mar 2018 09:45:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 03/19/2018 09:31 AM, Jimmy Augustine wrote: > Dear Friends, > > I am newbie to postgresql. > I have 162 GB on my database but when I check size of all tables, I > approximately obtain 80 GB. > I also see that I have 68GB of temporary files however I only found > 2.4MB at postgres/data/base/pgsql_tmp. Exactly how did you determine this? > > Could you tell me what are those temporary files and where are they at? > Can I delete some of them? > > All values come from pgAdmin 4 and checked by my own SQL > queries(postgresql-9.6). Can you show actual queries used? > I already run vacuum full and there is few dead tuples. > > Best regards, > Jimmy AUGUSTINE -- Adrian Klaver adrian.klaver@aklaver.com