Re:

From: "Chad Wagner" <chad(dot)wagner(at)gmail(dot)com>
To: "Laurent Manchon" <lmanchon(at)univ-montp2(dot)fr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re:
Date: 2007-01-22 23:04:29
Message-ID: 81961ff50701221504rcb6ad2i6810b603d39c713@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/22/07, Laurent Manchon <lmanchon(at)univ-montp2(dot)fr> wrote:
>
> I have a slow response of my PostgreSQL database 7.4 using this query
> below
> on a table with 800000 rows:
>
> select count(*)from tbl;
>
> PostgreSQL return result in 28 sec every time.
> although MS-SQL return result in 0.02 sec every time.
>

Here is a few links discussing the issue:

http://sql-info.de/postgresql/postgres-gotchas.html#1_7
http://archives.postgresql.org/pgsql-hackers/2005-01/msg00247.php

--
Chad
http://www.postgresqlforums.com/

In response to

  • at 2007-01-22 09:28:01 from Laurent Manchon

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2007-01-22 23:11:03 Re: [GENERAL] Autovacuum Improvements
Previous Message Chad Wagner 2007-01-22 22:58:39 Re: show all record between two date after group by and aggrigation...