Re: Help with tuning this query

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Help with tuning this query
Дата
Msg-id 200503022136.23275.josh@agliodbs.com
обсуждение исходный текст
Ответ на Help with tuning this query  ("Ken Egervari" <ken@upfactor.com>)
Список pgsql-performance
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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Performance tradeoff
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Help with tuning this query (with explain analyze finally)