Re: Noobie: Problems with a query - Mailing list pgsql-novice

From Chris Boget
Subject Re: Noobie: Problems with a query
Date
Msg-id 011f01c33f02$fc3a9cd0$8c01a8c0@ENTROPY
Whole thread Raw
In response to Noobie: Problems with a query  ("Chris Boget" <chris@wild.net>)
Responses Re: Noobie: Problems with a query  (Bruno Wolff III <bruno@wolff.to>)
Re: Noobie: Problems with a query  (Nabil Sayegh <postgresql@e-trolley.de>)
List pgsql-novice
> Am Mon, 2003-06-30 um 13.56 schrieb Chris Boget:
> > which, sadly, is greek to me.  The problem is that the above query
> > takes very close to 12 seconds to execute.  Is there a better way I
> > could write the query?  The number of rows in each table are as
> > follows:
> First of all you should try: VACUUM ANALYZE;

What was that supposed to tell me?

As (problem) db owner:

=> vacuum analyze;
WARNING:  Skipping "pg_group" --- only table or database owner can VACUUM it
WARNING:  Skipping "pg_shadow" --- only table or database owner can VACUUM it
WARNING:  Skipping "pg_database" --- only table or database owner can VACUUM it
VACUUM
=>

As root:

=# vacuum analyze;
VACUUM
=#

What am I missing?

Christoph



pgsql-novice by date:

Previous
From: Nabil Sayegh
Date:
Subject: Re: Noobie: Problems with a query
Next
From: Bruno Wolff III
Date:
Subject: Re: Noobie: Problems with a query