pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rose Zhou <rose@anatec.com>
To: 'Ben Chobot' <bench@silentmedia.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: disk space usage unexpected
Date: Wed, 17 Feb 2010 13:43:46 -0500
Message-ID: <8FCC635F9E0B4F618FFCA91388EAB4B1@Cicero> (raw)
In-Reply-To: <FA4CF95F-B531-4373-9A41-0EFBACFD7548@silentmedia.com>
References: <4891A2E2CDEF4CE6B6D7F7A4BD4F4D66@Cicero>
	<903012AD-0E8E-4FC0-BDE5-4DEB28C1D38C@silentmedia.com>
	<E7C81E4831384DD6BFD53C85E304EBE1@Cicero>
	<FA4CF95F-B531-4373-9A41-0EFBACFD7548@silentmedia.com>

Vacuum Full Verbose did not get the disk space back to OS, it did bloat my
indexes, also got out of memory error. I dumped the suspicious table,
deleted it, re-created it, then restored the data and re-indexed the data,
so I got the disk space back.
 
To avoid the database eating up the disk space again, I have adjusted the
autovacuum parameters, to make it keep up with the updates.
 
Not sure if this is the right way to solve this kind of problem.
 



Best Regards

Rose Zhou 

 


  _____  

From: Ben Chobot [mailto:bench@silentmedia.com] 
Sent: 17 February 2010 13:34
To: Rose Zhou
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] disk space usage unexpected


On Feb 15, 2010, at 1:25 PM, Rose Zhou wrote:


Thanks Ben:
 
I will adjust the auto vacuum parameters. It is on now, maybe not frequently
enough.
How to get the disk space back to OS? Will a Vacuum Full Verbose get the
disk space back to OS?
 
 


Yes, but it might bloat your indexes. Do you actually need to get your disk
space back? If you did, would the database just eat it up again after more
activity?

view thread (6+ messages)

Message-ID: <8FCC635F9E0B4F618FFCA91388EAB4B1@Cicero>
Permalink:  ../8FCC635F9E0B4F618FFCA91388EAB4B1@Cicero/
Also on:    postgresql.org/message-id/8FCC635F9E0B4F618FFCA91388EAB4B1@Cicero

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: rose@anatec.com, bench@silentmedia.com
  Subject: Re: disk space usage unexpected
  In-Reply-To: <8FCC635F9E0B4F618FFCA91388EAB4B1@Cicero>
  References: <4891A2E2CDEF4CE6B6D7F7A4BD4F4D66@Cicero> <903012AD-0E8E-4FC0-BDE5-4DEB28C1D38C@silentmedia.com> <E7C81E4831384DD6BFD53C85E304EBE1@Cicero> <FA4CF95F-B531-4373-9A41-0EFBACFD7548@silentmedia.com> <8FCC635F9E0B4F618FFCA91388EAB4B1@Cicero>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox