Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s1Wg2-00CujB-12 for pgsql-general@arkaria.postgresql.org; Mon, 29 Apr 2024 19:28:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s1Wfz-001iRQ-2o for pgsql-general@arkaria.postgresql.org; Mon, 29 Apr 2024 19:28:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s1Wfx-001iRC-Bk for pgsql-general@lists.postgresql.org; Mon, 29 Apr 2024 19:28:35 +0000 Received: from fout7-smtp.messagingengine.com ([103.168.172.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s1Wft-000ixY-Mn for pgsql-general@postgresql.org; Mon, 29 Apr 2024 19:28:33 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id C11731380247; Mon, 29 Apr 2024 15:28:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 29 Apr 2024 15:28:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1714418906; x=1714505306; bh=C9HKEdwV+GuKVkYhLl75ey0xNM5NxSPwONhPFp/d2eM=; b= W+LUPMoiUhMVdXen0HC8dUD/15ggi/bta4Vi9FRdPRmuXnscFTSJEOR4ZjBQoWvQ KDS+JyRelTDwpAWTkv4bYE4QkQ5CGcMQfl+bZ4ZD4JNwqhG2cgwtI5L/FVgIU8iZ rbR1+RK+OSw1nJX4QyQCOEayLoV5ge+9ZtcDsHB6EC8ZEMMm8cUWLdgZj6R3tLUq Ku2pL3cnXdAMEusUOe+MOBBmquT46yHe9JMgH1oPDOnnuTdRyZ74DCiKoVJacKew PNrgq5x55B+YVflA9pcxR2XQN+Ob5eXLBUpWliP8oa4+ef4UvAKCvpVCmfVg1feD ZVRu/+cYvtcs97C0CtgVTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714418906; x= 1714505306; bh=C9HKEdwV+GuKVkYhLl75ey0xNM5NxSPwONhPFp/d2eM=; b=V Ll6C4jOp4n99tSBJdvlXXQhs2LK8Ur+lpfWsYgfzsuC8pmG3UTiW1LjVsHbOJNXb 3rIGgIebZ1qJb/EcycoNOmTztlDHp08qntkODRfIReRXuzQOoY+cA2s9AIp1UCu9 loN1qgDIp2zJYWmtAOOwROFv51UIdT7D9ePce5LNfKHqYj+al1cgujnj3x5jhfEU TwC7hBpkgDqN5rN177EsWc05zBoBrrdiyktthUwGzsFOyjZ1y76Qjz5putJZopD3 m9jIPodsUZWl+Iu7cxjb0/4T+hgAlht8U56IE9Xgh0vZRkHLB0hRAT/dToAy2mA/ kP0vsE3JBWgMsj0zcPJsg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdduuddgudefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptegu rhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrd gtohhmqeenucggtffrrghtthgvrhhnpefhveeihfevlefffedthedukeevfefhfedtgeei feevteffgfefhedtffetudettdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Apr 2024 15:28:26 -0400 (EDT) Message-ID: Date: Mon, 29 Apr 2024 12:28:25 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Need help to make space on my database To: Cocam' server Cc: pgsql-general References: <5874a355-51fb-4fa3-acf4-df81a6d5b5f0@aklaver.com> <2fab499b-2f96-4b34-a4ea-4817c2414b4f@aklaver.com> <8f942f5d-9c35-427d-9c1f-18aa405a7b8d@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/29/24 08:51, Cocam' server wrote: > > Did the above work for each table? > Yes, except for the biggest table > > > Have you done something like?: > > > > select relname, n_dead_tup from pg_stat_all_tables where relname = > > ''; > > I hadn't thought of that, but it seems that some tables have dead tuples > You have something against providing actual numbers? The point is there is really nothing to be gained by doing VACUUM FULL if the dead tuples are some small percentage of the tables. -- Adrian Klaver adrian.klaver@aklaver.com