From: | "Daniel Schuchardt" <daniel_schuchardt(at)web(dot)de> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Vacuum Question |
Date: | 2003-02-23 12:19:16 |
Message-ID: | b3bceb$n95$1@news.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Do a VACUUM FULL on your database. This should be the solution.
Daniel
""Pascal PEYRE"" <peyre(at)cir(dot)fr> schrieb im Newsbeitrag
news:000001c2d97d$b11814c0$e3026b83(at)intranet(dot)cir(dot)fr(dot)(dot)(dot)
> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Prather | 2003-02-23 13:55:41 | PostgreSQL User On Mac OS X |
Previous Message | Martin Guy | 2003-02-23 02:27:34 | Running postgresql/initdb on linux/parisc problem |