Re: Disk Space issue - Mailing list pgsql-admin

From Michael Monnerie
Subject Re: Disk Space issue
Date
Msg-id 200806110954.59191@zmi.at
Whole thread Raw
In response to Re: Disk Space issue  (Devendra Singh Rawat <Devendra_Rawat@infosys.com>)
List pgsql-admin
On Mittwoch, 11. Juni 2008 Devendra Singh Rawat wrote:
> And in less than 8 hours it has bloated to additional 3.7GB (the disk
> size now is 7.2GB).
>
> There are quite a few DML operations which are happening on my DB.
>
> SELECT relname, relpages FROM pg_class ORDER BY relpages DESC;
>                      relname                              | relpages
> -------------------------------------------------------------+-------
>--- <   table1 >                             |   180676

And after VACUUM FULL, is it small again? Maybe you need to run it 2-3
times a day, for your specific workload.

mfg zmi
--
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: www.keyserver.net                   Key-ID: 1C1209B4

Attachment

pgsql-admin by date:

Previous
From: "Richard Broersma"
Date:
Subject: Re: [ODBC] what gives: SELECT INVALID SELECT STATEMENT TO FORCE ODBC DRIVER TO UNPREPARED STATE
Next
From: Michael Monnerie
Date:
Subject: Re: Postgres security issue - protecting datafiles