Re: Will Postgres ever lock with read only queries?

From: Chris <dmagick(at)gmail(dot)com>
To: Robert James <srobertjames(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Will Postgres ever lock with read only queries?
Date: 2009-07-28 22:36:12
Message-ID: 4A6F7D5C.9050301@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Robert James wrote:
> Thanks for the replies. I'm running Postgres 8.2 on Windows XP, Intel
> Core Duo (though Postgres seems to use only one 1 core).

A single query can only use one core, but it will use both if multiple
queries come in.

> The queries are self joins on very large tables, with lots of nested loops.

If you want help optimizing them, you'll need to send through
- explain analyze
- table definitions
and of course
- the query itself

--
Postgresql & php tutorials
http://www.designmagick.com/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Carey 2009-07-28 22:46:44 Re: hyperthreaded cpu still an issue in 8.4?
Previous Message Jon Nelson 2009-07-28 21:45:51 Re: hyperthreaded cpu still an issue in 8.4?