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 1ir2DF-0000EE-EJ for pgsql-general@arkaria.postgresql.org; Mon, 13 Jan 2020 16:05:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ir2DE-0008Pk-5d for pgsql-general@arkaria.postgresql.org; Mon, 13 Jan 2020 16:05:08 +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 1ir1q2-0004TR-Vt for pgsql-general@lists.postgresql.org; Mon, 13 Jan 2020 15:41:11 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ir1q0-0007j3-4J for pgsql-general@postgresql.org; Mon, 13 Jan 2020 15:41:09 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 128ED1A25C6EF for ; Mon, 13 Jan 2020 08:41:07 -0700 (MST) Date: Mon, 13 Jan 2020 08:41:06 -0700 (MST) From: dagamier To: pgsql-general@postgresql.org Message-ID: <1578930066934-0.post@n3.nabble.com> In-Reply-To: References: <1578679285883-0.post@n3.nabble.com> Subject: Re: pg_repack in cluster MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Can't afford the downtime of a "vaccuum full" and the autovacuum process is not cleaning up all the dead space tied up by the database. pg_repack works great on my test database in reclaiming disk space (in my tests I got back 46% of my disk space back) due to all the deletions that happen in our tables. I think that some of the issues are the fact that some of these tables are quite large and won't allow for an autovacuum to clean up as well as it should. pg_repack allows me to essentially do a "vacuum full" in online mode (I thought I read it also rebuilds the indexes as well) and this would greatly increase our overall performance on our systems. -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html