pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Mark Stosberg <mark@summersault.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Most effective tuning choices for busy website?
Date: Mon, 06 Jun 2005 12:04:29 +1000
Message-ID: <42A3AF2D.4000802@samurai.com> (raw)
In-Reply-To: <slrnd9s2n5.ca0.mark@simba.summersault.com>
References: <slrnd9s2n5.ca0.mark@simba.summersault.com>

Mark Stosberg wrote:
> I've used PQA to analyze my queries and happy overall with how they are
> running. About 55% of the query time is going to variations of the pet
> searching query, which seems like where it should be going. The query is
> frequent and complex. It has already been combed over for appropriate
> indexing.

It might be worth posting the EXPLAIN ANALYZE and relevant schema 
definitions for this query, in case there is additional room for 
optimization.

>    Our hardware: Dual 3 Ghz processors 3 GB RAM, running on FreeBSD.

Disk?

You are presumably using Xeon processors, right? If so, check the list 
archives for information on the infamous "context switching storm" that 
causes performance problems for some people using SMP Xeons.

-Neil



view thread (4+ messages)  latest in thread

Message-ID: <42A3AF2D.4000802@samurai.com>
Permalink:  ../42A3AF2D.4000802@samurai.com/
Also on:    postgresql.org/message-id/42A3AF2D.4000802@samurai.com

 · 

reply

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-performance@postgresql.org
  Cc: neilc@samurai.com, mark@summersault.com
  Subject: Re: Most effective tuning choices for busy website?
  In-Reply-To: <42A3AF2D.4000802@samurai.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