Re: Optimize querry sql

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Stanislas de Larocque <dllstan(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Optimize querry sql
Date: 2007-09-17 07:25:41
Message-ID: 20070917072541.GA13991@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Sep 17, 2007 at 09:17:58AM +0200, Stanislas de Larocque wrote:
> Have you advices to optimize the query please ?

for some many rows the 400ms looks quite reasonable.

the best thing you can make to speed things up is to calculate the
counts with triggers.

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA. here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Oliver Elphick 2007-09-17 12:13:35 Re: Format interval as hours/minutes etc
Previous Message Stanislas de Larocque 2007-09-17 07:17:58 Re: Optimize querry sql