From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Mike Charnoky <noky(at)nextbus(dot)com> |
Cc: | Gregory Stark <stark(at)enterprisedb(dot)com>, Alban Hertroys <a(dot)hertroys(at)magproductions(dot)nl>, "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: more problems with count(*) on large table |
Date: | 2007-10-01 17:33:53 |
Message-ID: | 20071001173353.GA20792@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Mike Charnoky wrote:
> This is strange... count(*) operations over a period of one day's worth
> of data now take ~1-2 minutes to run or ~40 minutes. It seems that the
> first time the data is queried it takes about 40 minutes. If I try the
> query again, it finishes in 1-2 minutes!
This is just cache effect.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Moran | 2007-10-01 17:34:32 | Re: more problems with count(*) on large table |
Previous Message | Andrej Ricnik-Bay | 2007-10-01 17:27:33 | Re: using COPY, .CSV and ¿catalog? |