Re: [GENERAL] Table bloat in 8.3

2008-11-17 Thread pgsql-general
On Thu, 13 Nov 2008, Scott Marlowe wrote: > On Thu, Nov 13, 2008 at 1:09 PM, David Wilson <[EMAIL PROTECTED]> wrote: > > On Thu, Nov 13, 2008 at 2:03 PM, <[EMAIL PROTECTED]> wrote: > >> I have several tables that when I run VACUUM FULL on, they are under 200k, > >> but after a day of records getti

Re: [GENERAL] Table bloat in 8.3

2008-11-13 Thread Scott Marlowe
On Thu, Nov 13, 2008 at 1:09 PM, David Wilson <[EMAIL PROTECTED]> wrote: > On Thu, Nov 13, 2008 at 2:03 PM, <[EMAIL PROTECTED]> wrote: >> I have several tables that when I run VACUUM FULL on, they are under 200k, >> but after a day of records getting added they grow to 10 to 20 megabytes. >> They

Re: [GENERAL] Table bloat in 8.3

2008-11-13 Thread David Wilson
On Thu, Nov 13, 2008 at 2:03 PM, <[EMAIL PROTECTED]> wrote: > I have several tables that when I run VACUUM FULL on, they are under 200k, > but after a day of records getting added they grow to 10 to 20 megabytes. > They get new inserts and a small number of deletes and updates. > > seq_scan

Re: [GENERAL] Table bloat in 8.3

2008-11-13 Thread Nikolas Everett
That is the expected behavior. Postgres doesn't give back disk like Java doesn't give back memory. It keeps a map of where the free space is so it can use it again. It does all this so it doesn't have to lock the table to compact it when VACUUMing. VACUUM FULL does lock the table to compact it.

Re: [GENERAL] Table bloat in 8.3

2008-11-13 Thread Sam Mason
On Thu, Nov 13, 2008 at 02:03:22PM -0500, [EMAIL PROTECTED] wrote: > I have several tables that when I run VACUUM FULL on, they are under 200k, > but after a day of records getting added they grow to 10 to 20 megabytes. > They get new inserts and a small number of deletes and updates. > > A norma

[GENERAL] Table bloat in 8.3

2008-11-13 Thread pgsql-general
I am somewhat new to Postgresql and am trying to figure out if I have a problem here. I have several tables that when I run VACUUM FULL on, they are under 200k, but after a day of records getting added they grow to 10 to 20 megabytes. They get new inserts and a small number of deletes and update