Re: Most effective tuning choices for busy website? - Mailing list pgsql-performance

From Neil Conway
Subject Re: Most effective tuning choices for busy website?
Date
Msg-id 42A3AF2D.4000802@samurai.com
Whole thread Raw
In response to Most effective tuning choices for busy website?  (Mark Stosberg <mark@summersault.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Need help to decide Mysql vs Postgres
Next
From: Andrew McMillan
Date:
Subject: Re: Postgresql and Software RAID/LVM