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 1iIHN0-0002al-E9 for pgsql-general@arkaria.postgresql.org; Wed, 09 Oct 2019 19:11:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iIHMy-00045V-UA for pgsql-general@arkaria.postgresql.org; Wed, 09 Oct 2019 19:11:32 +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 1iIHMy-000452-Jw for pgsql-general@lists.postgresql.org; Wed, 09 Oct 2019 19:11:32 +0000 Received: from mailbackend.panix.com ([166.84.1.89]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iIHMo-0005Ve-Gh for pgsql-general@lists.postgresql.org; Wed, 09 Oct 2019 19:11:30 +0000 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 46pP2c0bMrz1jJB; Wed, 9 Oct 2019 15:11:20 -0400 (EDT) Received: by panix2.panix.com (Postfix, from userid 17622) id 46pP2b6hLnz1ZSR; Wed, 9 Oct 2019 15:11:19 -0400 (EDT) Date: Wed, 9 Oct 2019 15:11:19 -0400 From: stan To: melvin6925 Cc: pgsql-general@lists.postgresql.org Subject: Re: I messed up and my disk utlization is HUGE Message-ID: <20191009191119.GB8034@panix.com> References: <20191009185455.GB1435@panix.com> <5d9e2e05.1c69fb81.9d70c.aeef@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <5d9e2e05.1c69fb81.9d70c.aeef@mx.google.com> X-Editor: gVim User-Agent: Mutt/1.12.1 (2019-06-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Oct 09, 2019 at 02:59:17PM -0400, melvin6925 wrote: > Have you tried a VACUUM FULL of the db?Sent via the Samsung Galaxy S?? 6,= an AT&T 4G LTE smartphone > -------- Original message --------From: stan Date: 10/9= /19 14:54 (GMT-05:00) To: melvin6925 Subject: Re: = I messed up and my disk utlization is HUGE On Wed, Oct 09, 2019 at 01:30:33= PM -0400, melvin6925 wrote:> >How can I shrink this back to a>reasonable si= ze???Have you tried a vacuum full of the db?Sent via the Samsung Galaxy S??= 6, an AT&T 4G LTE smartphone> -------- Original message --------From: stan= Date: 10/9/19?? 13:21?? (GMT-05:00) To: pgsql-general@li= sts.postgresql.org Subject: I messed up and my disk utlization is HUGE I wa= s going to try to do some testing on very large databases, and I tried tolo= ad the Mouse Gerome DB. It failed, and now I know why :-) I filled thedisk = up. Presently, with virtually nothing in any database the postgresstorage l= ocation has 43G allocated. The DB was also crashed but i did freeup some sp= ace and get it started again. How can I shrink this back to areasonable siz= e? The WAL also seems pretty large.-- "They that would give up essential li= berty for temporary safety deserveneither liberty nor safety." -- Benj= amin FranklinSorry your reply was garbled.-- "They that would give up essen= tial liberty for temporary safety deserveneither liberty nor safety." = -- Benjamin Franklin I ran vacuumdb from the comand line as postgres =7F, which I beleive does this. Did not take very long to run BTW. --=20 "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin