agora inbox for pgsql-admin@postgresql.org  
help / color / mirror / Atom feed
From: Daniel Schuchardt <daniel_schuchardt@web.de>
To: pgsql-admin@postgresql.org
Subject: Re: Vacuum Question
Date: Sun, 23 Feb 2003 13:19:16 +0100
Message-ID: <b3bceb$n95$1@news.hub.org> (raw)
References: <000001c2d97d$b11814c0$e3026b83@intranet.cir.fr>

Do a VACUUM FULL on your database. This should be the solution.

Daniel


""Pascal PEYRE"" <peyre@cir.fr> schrieb im Newsbeitrag
news:000001c2d97d$b11814c0$e3026b83@intranet.cir.fr...
> Hi,
>
> I use postgresql 7.2.x on Linux 2.4.18-6mdksmp #1 SMP i686
>
> I have some big postgreSQL databases (4/5 GB at start) on this server.
> Every night I erase data and I import a lot of new data.
>
> For optimize my database I operate a vacuum "all" every night.
>
> The problem is that the size of database is growing every day whereas
> the volume of data stay remains stable. After six month my postgreSQL
> databases size is approximately  (40/50 Gb).  Yesterday I suppress the
> database and I restore it by pg_dump. By this way my database size is
> gone down again to 4/5 Gb.
>
> Is there any solution to reduce the size of the database without restore
> a SQL backup ?
>
> Thanks to your help
>
> Pascal PEYRE
>
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster





view thread (11+ messages)  latest in thread

Message-ID: <b3bceb$n95$1@news.hub.org>
Permalink:  ../b3bceb$n95$1@news.hub.org/
Also on:    postgresql.org/message-id/b3bceb$n95$1@news.hub.org

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-admin@postgresql.org
  Cc: daniel_schuchardt@web.de
  Subject: Re: Vacuum Question
  In-Reply-To: <b3bceb$n95$1@news.hub.org>

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

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