Re: slow query performance

From: "Dave Weaver" <davew(at)wsieurope(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: slow query performance
Date: 2003-10-30 15:21:03
Message-ID: 200310301521.h9UFL3415022@server-2.twdl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Wrote:
> "Dave Weaver" <davew(at)wsieurope(dot)com> wrote:
> >
> > "explain analyze" doesn't seem to be part of this postgres version (or
> > I misunderstood something).
> > That particular query returned 24 rows.
> >
> You run explain analyze [insert query here]
>
> Post that output

The output is probably not what you were expecting! :-)

obs=> explain analyze select * from obs where station = 'EGBB'
obs-> and valid_time > '28/8/03 00:00' and valid_time < '28/10/03 00:00';
ERROR: parser: parse error at or near "analyze"
obs=> \h explain
Command: EXPLAIN
Description: Shows statement execution plan
Syntax:
EXPLAIN [ VERBOSE ] query

As I said, "explain analyze" doesn't seem to be part of this postgres
version.

Dave.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff MacDonald 2003-10-30 15:29:02 regular backups - super user
Previous Message Scott Chapman 2003-10-30 15:20:08 Re: Automatic auditing suggestion