From: Josh Berkus <josh@agliodbs.com>
To: Ken Egervari <ken@upfactor.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Help with tuning this query
Date: Wed, 2 Mar 2005 21:36:23 -0800
Message-ID: <200503022136.23275.josh@agliodbs.com> (raw)
In-Reply-To: <001001c51ef4$3849eeb0$6a01a8c0@KEN>
References: <001001c51ef4$3849eeb0$6a01a8c0@KEN>
Ken,
> I've tried to use Dan Tow's tuning method and created all the right indexes
> from his diagraming method, but the query still performs quite slow both
> inside the application and just inside pgadmin III. Can anyone be kind
> enough to help me tune it so that it performs better in postgres? I don't
> think it's using the right indexes, or maybe postgres needs special
> treatment.
FWIW, I picked up Dan Tow's book to give it a read, and they guy isn't
qualified to author "SQL Tuning". You should chuck that book, it won't help
you -- not with Oracle or SQL Server, and certainly not with PostgreSQL.
O'Reilly continues to have trouble turning out quality database books.
Also, if you *were* using Dan's method, you'd be driving off Person, not
Shipment.
--
Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, ken@upfactor.com
Subject: Re: Help with tuning this query
In-Reply-To: <200503022136.23275.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