Re: Anyone got time to review an article? - Mailing list pgsql-advocacy

From Josh Berkus
Subject Re: Anyone got time to review an article?
Date
Msg-id web-6703557@davinci.ethosmedia.com
Whole thread Raw
In response to Re: Anyone got time to review an article?  (Tom Copeland <tom@infoether.com>)
Responses Re: Anyone got time to review an article?  (Tom Copeland <tom@infoether.com>)
List pgsql-advocacy
Tom,

> > I've got one in the works for http://databasejournal.com/, and I
was
> > hoping someone could look it over for me to catch any egregious
errors.

I'm on vacation, so I don't have the ability to test the actual SQL.
  The
article text is fine.    You might want to, in future articles, suggest
that
people run EXPLAIN ANALYZE and not just EXPLAIN in order to see when
the
query planner is estimating wrong.

BTW, the queries that GForge uses to generate the category counts for
the
trove map are egregiously bad and generate wrong counts to boot.
 They're
basically a loop of queries, one *per category*, when the whole thing
could
be done in a single query.    I've been meaning to fix this for some
time,
but I got hung up on getting GForge installed on my dev machine.  Maybe

later ...

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-advocacy by date:

Previous
From: Tom Copeland
Date:
Subject: Re: Anyone got time to review an article?
Next
From: Anton de Wet
Date:
Subject: Anyone willing to chat to someone as a postgresql reference?