Re: count() in 9.2

From: Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: count() in 9.2
Date: 2012-10-18 10:37:40
Message-ID: 5f210f18a949981339ed3d24a718d04c@frank.uvena.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Am 2012-10-17 21:03, schrieb Steve Horn:
> Thanks for the replies. I think I need to re-evaluate based on what
> you are
> saying. From earlier tests I was finding that Postgres was slow to
> count
> records with any WHERE clause. Maybe my perception was incorrect
> because my
> samples were not controlled.

I really think its the first step: Define a good set of data and a
couple of
typical queries using the data to compare systems. Also keep care to
bring up
valid indexing and -- I assuming you already did that -- a good layout
of data.
E.g. splitting tables if you have 0 either 1 conditions.

Cheers,
Frank

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Peter Wintoft 2012-10-18 12:38:30 Re: Latex formatting
Previous Message George Roberge 2012-10-18 01:56:53 Re: Beginner's question about ODBC and/or foreign data sources