From: | paladine <yasinmalli(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: reducing postgresql disk space |
Date: | 2010-05-26 14:50:43 |
Message-ID: | 28681867.post@talk.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
It is default value ( #checkpoint_segments = 3 # in logfile segments, min
1, 16MB each )
Many of my database configurations are default values. (plain TOAST etc)
my database is a log database so, some tables of db grow everytime.
My ' /base ' directory contains a lot of compressed object (1GB size)
These are maybe normal operations but I don't understand that
although I delete many rows from my db and regularly vacuum , reindexing
operations,
how doesn't postgresql give back that deleted areas for reusing.
Thom Brown wrote:
>
> On 26 May 2010 15:16, paladine <yasinmalli(at)gmail(dot)com> wrote:
>>
>> Hi all,
>>
>> How can I reduce disk space postgresql used ?
>> I tried to delete many rows from my database and
>> I am running ' vacuum analyze reindexdb ' commands regularly
>> but my disk space on my linux machine didn't reduce.
>>
>> I know that ' vacuum full ' command can do that but I don't want to use
>> that command because of the disadvantages.
>>
>> Anyone know another method ?
>>
>> Thanks in advance.
>> --
>> View this message in context:
>> http://old.nabble.com/reducing-postgresql-disk-space-tp28681415p28681415.html
>> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>>
>
> What have you got checkpoint_segments set to in your postgresql.conf
> file? And how big is your database cluster?
>
> Thom
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
--
View this message in context: http://old.nabble.com/reducing-postgresql-disk-space-tp28681415p28681867.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Thom Brown | 2010-05-26 15:05:22 | Re: reducing postgresql disk space |
Previous Message | Vick Khera | 2010-05-26 14:48:05 | Re: reducing postgresql disk space |