Re: Upgrade to dual processor machine?

From: "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Upgrade to dual processor machine?
Date: 2002-11-13 13:34:27
Message-ID: 3DD2A23B.9377.3D66EE@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On 13 Nov 2002 at 14:30, Björn Metzdorf wrote:

> Could you elaborate on what exactly is a query requiring sorting (and
> therefore is affected by sort_mem setting)?
> Is it a SELECT with WHERE-clause using seq scan? Is it rebuilding of an
> index? What else could it be?

I can think of an sql query with an order by clause on a non-indexed field and
say that field is not included in where condition e.g.

select name, addreess from users where id>1000 order by name;

with index on id.

Bye
Shridhar

--
You canna change the laws of physics, Captain; I've got to have thirty minutes!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Murali Mohan Kasetty 2002-11-13 13:44:19 Help..Help...
Previous Message Jules Alberts 2002-11-13 13:30:48 Re: Can not connect to the database

Browse pgsql-performance by date

  From Date Subject
Next Message Doug McNaught 2002-11-13 13:52:14 Re: Upgrade to dual processor machine?
Previous Message Björn Metzdorf 2002-11-13 13:30:01 Re: Upgrade to dual processor machine?