Re: Question about PG on OSX

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Question about PG on OSX
Дата
Msg-id 200409161405.28778.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Article about PostgreSQL and RAID in Brazil  (Qing Zhao <qzhao@supplyfx.com>)
Ответы indexes make other queries slow!  (Qing Zhao <qzhao@supplyfx.com>)
Список pgsql-performance
Qing,

Please don't start a new question by replying to someone else's e-mail.   It
confuses people and makes it unlikely for you to get help.

> My suspicion is that since  now a few indexes are added, every ops are
> run by PostgreSQL with the indexes being used when calculating cost.
> This leads to the downgrade of performance.

That seems rather unlikely to me.    Unless you've *really* complex queries
and some unusual settings, you can't swamp the CPU through query planning.

On the other hand, your mention of REINDEX indicates that the table is being
updated very frequently.   If that's the case, then the solution is probably
for you to cut back on the number of indexes.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Article about PostgreSQL and RAID in Brazil
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Article about PostgreSQL and RAID in Brazil