pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Perdue <tim@perdue.net>
To: MaurĂ­cio Sessue Otta <mauricio@cristorei.com.br>
To: pgsql-sql@postgresql.org
Subject: Re: Different size in the DATA directory
Date: Fri, 01 Nov 2002 10:02:00 -0600
Message-ID: <3DC2A578.6040605@perdue.net> (raw)
In-Reply-To: <004901c281b0$411de2a0$cba0a2c8@cristorei.com.br>
References: <004901c281b0$411de2a0$cba0a2c8@cristorei.com.br>

MaurĂ­cio Sessue Otta wrote:

> Hi, in my production server a "du -hs" in the DATA directory
> returns 21GB
> in a newly installed server, after I restored the dumps from the
> production server, the "du -hs" gives me just 8GB
>
> why is there such a diference???
>
> what should I do (besides buying bigger and bigger HDs) ???
>
> []'s Mauricio


I had this same problem with 7.1.x, even doing full vacuums on 
SourceForge.net last year.

I assumed after a while that there was some hidden bug where file bloat 
occurred, despite the vacuum. After 3 months or so, you'd have to 
dump/restore the entire db and you'd be golden for a while again. After 
the dump/restore process things seemed much snappier too, and vacuum ran 
almost instantly.

I haven't verified if this problem still occurs in 7.2.x, using vacuum full.

Tim




view thread (9+ messages)  latest in thread

Message-ID: <3DC2A578.6040605@perdue.net>
Permalink:  ../3DC2A578.6040605@perdue.net/
Also on:    postgresql.org/message-id/3DC2A578.6040605@perdue.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tim@perdue.net, mauricio@cristorei.com.br
  Subject: Re: Different size in the DATA directory
  In-Reply-To: <3DC2A578.6040605@perdue.net>

* 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