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 ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings