On Mon, Jan 17, 2011 at 8:23 AM, Tim Uckun <timuc...@gmail.com> wrote:
>> Hmm.  What do you get for:
>>
>> SELECT relname, pg_relation_size(oid), reltuples, relpages FROM
>> pg_class WHERE relname IN ('consolidated_urls',
>> 'consolidated_urls_pkey');
>
>        relname         | pg_relation_size |  reltuples  | relpages
> ------------------------+------------------+-------------+----------
>  consolidated_urls      |       1303060480 | 1.80192e+06 |   159065
>  consolidated_urls_pkey |        114745344 | 1.80192e+06 |    14007
> (2 rows)

Hmm, I was thinking that the table might be bloated but it's not
obvious from this.

I think you might have the same general kind of problem reported here:

http://archives.postgresql.org/pgsql-bugs/2009-09/msg00259.php

and here:

http://archives.postgresql.org/pgsql-performance/2010-04/msg00139.php

...and there are other reports as well.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to