From: Josh Berkus <josh@agliodbs.com>
To: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: Jeff Self <jself@nngov.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL performance issue with PostgreSQL compared to
Date: Thu, 20 Jun 2002 17:00:26 -0700
Message-ID: <200206201700.26725.josh@agliodbs.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0206201014100.12927-100000@matrix.gatewaynet.com>
References: <Pine.LNX.4.44.0206201014100.12927-100000@matrix.gatewaynet.com>
Achilleus,
> > > The pgsql db is indexed on the
> > > 'authuser' field, and I've run 'analyze logfile'.
> >
> > He also needs to index the bytes field and the traffic field. And run
> ^^^^^^^
>
> Index on an aggregate function???
>
> I though we could only index plain normal column iscachable functions.
No, you're correct. I meant just to index on the bytes field.
--
-Josh Berkus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, achill@matrix.gatewaynet.com, jself@nngov.com
Subject: Re: SQL performance issue with PostgreSQL compared to
In-Reply-To: <200206201700.26725.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox