X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 78F1B9FB206 for ; Thu, 27 Jul 2006 17:00:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 48695-03 for ; Thu, 27 Jul 2006 17:00:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from myemma.com (db1.e2ma.net [66.179.147.163]) by postgresql.org (Postfix) with ESMTP id B49749FB209 for ; Thu, 27 Jul 2006 17:00:16 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by myemma.com (Postfix) with ESMTP id 1B08B24289; Thu, 27 Jul 2006 15:03:45 -0500 (CDT) Received: from myemma.com ([127.0.0.1]) by localhost (velma [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11008-02; Thu, 27 Jul 2006 15:03:45 -0500 (CDT) Received: from [10.0.23.15] (65.107.156.170.ptr.us.xo.net [65.107.156.170]) by myemma.com (Postfix) with ESMTP id A88DC24287; Thu, 27 Jul 2006 15:03:44 -0500 (CDT) Message-ID: <44C91B43.3080901@myemma.com> Date: Thu, 27 Jul 2006 15:00:03 -0500 From: Erik Jones User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Jeff Frost Cc: Scott Marlowe , General Postgresql List Subject: Re: Disk is full, what's cool to get rid of? References: <44C8E7EB.3040608@myemma.com> <1154025714.31664.95.camel@state.g2switchworks.com> <44C91390.7030206@myemma.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at myemma.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.319 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200607/339 X-Sequence-Number: 25913 Awesome. Makes sense as 5% is exactly the amount of space that appeared after running it. Thanks! Jeff Frost wrote: > Depends what the default is on your system. The default is 5% with > the version of mke2fs that I have here, so you would just: > > tune2fs -m 5 > > to put it back. > > On Thu, 27 Jul 2006, Erik Jones wrote: > >> Awesome. Do I need to reset that to any magic # after the vacuum? >> I'm not all that up on filesystem maintenance/tweaking... >> >> Scott Marlowe wrote: >>> I can't tell you the number of times that little trick has saved my >>> life. >>> >>> On Thu, 2006-07-27 at 11:32, Jeff Frost wrote: >>> >>>> You can probably just "tune2fs -m 0 " to give yourself >>>> enough space to get out of the jam before you go deleting things. >>>> Then you might want to vacuum full afterwards. >>>> >>>> On Thu, 27 Jul 2006, Erik Jones wrote: >>>> >>>> >>>>> Hello, quick question. I've run into an issue with the disk that >>>>> my development box is on filling up and preventing pretty much any >>>>> writing (inserts, updates, deletes, etc...) from happening. Other >>>>> than some piddly text logs the db is pretty much the only thing on >>>>> the box. So, my question is: what can I do to free space and run >>>>> a full vacuum? (I was not the one who set up this box and there >>>>> has been virtually no administration or maintenance on it that I >>>>> know of...) How about the WAL files in pg_xlog? How critical are >>>>> they when no data on the system is critical in and of itself? Any >>>>> suggestions would be greatly appreciated... >>>>> >>>>> >>>>> >>> >>> ---------------------------(end of >>> broadcast)--------------------------- >>> TIP 6: explain analyze is your friend >>> >> >> >> > -- erik jones software development emma(r)