Re: Unacceptable postgres performance vs. Microsoft sqlserver

From: Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Unacceptable postgres performance vs. Microsoft sqlserver
Date: 2008-04-14 20:04:24
Message-ID: 20080414220424.78d4ff0b@iridium.wars-nicht.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 14 Apr 2008 13:34:36 -0400 Chris Browne wrote:

> If the entire purpose of your application is to run COUNT(*) against
> the entireties of a table with 180M rows, then PostgreSQL may not be
> the right database for your application.

For running a COUNT(*) without WHERE you could even add a trigger and a
second table which contains statistics. With this simple workaround you
have the answer for the COUNT(*) question in almost no time.

Getting results for a COUNT(*) with WHERE is more complicated.

Kind regards

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2008-04-14 20:30:15 Re: Unacceptable postgres performance vs. Microsoft sqlserver
Previous Message Bruce Momjian 2008-04-14 19:43:23 Re: Verifying SSL Certificate on the Client Side