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 1hFJaq-0004pm-A1 for pgsql-general@arkaria.postgresql.org; Sat, 13 Apr 2019 14:25:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hFJan-0006kY-RW for pgsql-general@arkaria.postgresql.org; Sat, 13 Apr 2019 14:25:17 +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 1hFJal-0006kR-OL for pgsql-general@lists.postgresql.org; Sat, 13 Apr 2019 14:25:17 +0000 Received: from [64.147.123.24] (helo=wout1-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFJag-0006nx-Ep for pgsql-general@postgresql.org; Sat, 13 Apr 2019 14:25:15 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6A66940A; Sat, 13 Apr 2019 10:24:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 13 Apr 2019 10:24:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=O JMBpzin1IR5m6FbFXxSbkssd7+cbkKMPjv2ecvafiw=; b=QmjrlV/TXkj9Msrpn r7lcVLhuE/k3ZIB+QTXwVhwBlBuJNkjQLPv2zjR82nAsN3kw92lIS0NRdbQkaGop Wl1ax0vsp43z0yONH8YH5rpWw/QviXqjPpHnLXGe5VXHcvQDOJ79IxA8mxr1w/Q5 unD+bZDvHVoEtVgCM00S1qzJg2FyTgdKIcyDlua6sSf650zk1l9FTIBVHXR2wj9+ 1GEeCAbS/sXTX2zu6DbcAMPyrl/QnDbuxOITq/XJMT5ZtKdlMntHQ/ZFSr7LtG+o Ntq+2NUZCad3Dv3GvQl+WImDDAmEOqXiHOFY1PISpntppjwXqt22F1Nh8Pitj8lw 4jkIA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=OJMBpzin1IR5m6FbFXxSbkssd7+cbkKMPjv2ecvaf iw=; b=nDRr8/qQ7FH5V/ocdL5TM5jVeAF2bQ5ivrfIxm2z5Ox2IqbTx6xso1644 i6XTnwAQvfb67cGoZBTUlkx9Wx5niGAxf/6pymftF6CYRDW5wRlWbVht1iOX3NUn hDh+nDN4OY8/fIZMIsqyZsl3BeYZGK/bQmlD8kS/RsFlpJtQZ+YxwQtSt28oDwPg UAdfcRcie7C/FZFGe/p9977BUAGpJJasHAaPDs4o57XcNbqZe96ROfNFmOH/211E lUaQuNzIiI6nd3/ci98Eu4j4ntOj0KfrhiurHnvAfaQWwEyvODOAEE0eVuu2eM5v LsvjIsHNTCqZF+NX/cWVpMl9qk4Ig== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrvdehgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucfkphepjedurddvuddvrdduhedtrddvtd dvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 21D36E44B4; Sat, 13 Apr 2019 10:24:46 -0400 (EDT) Subject: Re: Safe to delete files? To: Paul van der Linden Cc: pgsql-general@postgresql.org, ronljohnsonjr@gmail.com References: <5c1fffd2-6fbe-a083-be90-8a69ee343318@aklaver.com> From: Adrian Klaver Message-ID: <8456979b-259a-787b-c08e-933bbefba9cf@aklaver.com> Date: Sat, 13 Apr 2019 07:24:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.24 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 4/13/19 7:10 AM, Paul van der Linden wrote: > It was just 99 files of 1GB each for each id, and no I didn't vacuum. > I did see disk usage dropping quite a lot after dropping those tables > though, so I expected postgres to delete all unneccesary files for all > the tables. > > However when checking just now I saw that the files I was referring to > were indeed deleted somehow (don't have an autovacuum running). > So not sure how or why, but my problem is solved Did you DROP the tables in a transaction and look at the the directory previously before you issued COMMIT? -- Adrian Klaver adrian.klaver@aklaver.com