Re: [GENERAL] autovacuum running for a long time on a new table with 1 row

2012-06-01 Thread Tom Lane
Lonni J Friedman netll...@gmail.com writes: Running 9.1.3 on Linux-x86_64. I'm seeing autovacuum running for the past 6 hours on a newly created table that only has 1 row of data in it. This table did exist previously, but was dropped recreated. I'm not sure if that might explain this

Re: [GENERAL] autovacuum running for a long time on a new table with 1 row

2012-06-01 Thread Lonni J Friedman
On Fri, Jun 1, 2012 at 10:34 AM, Tom Lane t...@sss.pgh.pa.us wrote: Lonni J Friedman netll...@gmail.com writes: Running 9.1.3 on Linux-x86_64.  I'm seeing autovacuum running for the past 6 hours on a newly created table that only has 1 row of data in it.  This table did exist previously, but

Re: [GENERAL] autovacuum running for a long time on a new table with 1 row

2012-06-01 Thread Tom Lane
Lonni J Friedman netll...@gmail.com writes: On Fri, Jun 1, 2012 at 10:34 AM, Tom Lane t...@sss.pgh.pa.us wrote: This seems to have been noticed and fixed in HEAD: http://git.postgresql.org/gitweb/?p=postgresql.gita=commitdiffh=b4e0741727685443657b55932da0c06f028fbc00 I wonder whether that

Re: [GENERAL] autovacuum running for a long time on a new table with 1 row

2012-06-01 Thread Lonni J Friedman
On Fri, Jun 1, 2012 at 10:54 AM, Tom Lane t...@sss.pgh.pa.us wrote: Lonni J Friedman netll...@gmail.com writes: On Fri, Jun 1, 2012 at 10:34 AM, Tom Lane t...@sss.pgh.pa.us wrote: This seems to have been noticed and fixed in HEAD:

Re: [GENERAL] autovacuum running for a long time on a new table with 1 row

2012-06-01 Thread Tom Lane
Lonni J Friedman netll...@gmail.com writes: On Fri, Jun 1, 2012 at 10:54 AM, Tom Lane t...@sss.pgh.pa.us wrote: ... if you really did drop and recreate the table, then at this point it should only have a single page, I would think.  It might be worth checking the actual file size.  

[GENERAL] autovacuum running for a long time on a new table with 1 row

2012-05-31 Thread Lonni J Friedman
Running 9.1.3 on Linux-x86_64. I'm seeing autovacuum running for the past 6 hours on a newly created table that only has 1 row of data in it. This table did exist previously, but was dropped recreated. I'm not sure if that might explain this behavior. When I strace the autovacuum process, I