Re: SeqScans on boolen values / How to speed this up?

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: SeqScans on boolen values / How to speed this up?
Дата
Msg-id 4C32981C.2070406@postnewspapers.com.au
обсуждение исходный текст
Ответ на SeqScans on boolen values / How to speed this up?  (Jens Hoffrichter <jens.hoffrichter@gmail.com>)
Список pgsql-performance
On 05/07/10 19:36, Jens Hoffrichter wrote:
> Hello everyone,
>
> We've recently finished developing a bigger webapplication, and we are
> about to put it online.
>
> I ran some load tests yesterday, and configured 'slow query' logging
> beforehand, so I could see if there might be a performance bottleneck
> in the PG. While I discovered no real problems, the log file analysis
> using pgFouine revealed two queries, which are executed often, and
> take quite a bit some time.

It might be worth looking at what queries have results that change
infrequently or don't have to be up to the minute accurate, so they're
candidates for caching. Memcached is an incredibly handy tool for taking
load off your database.

--
Craig Ringer

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Performance issues with postgresql-8.4.0: Query gets stuck sometimes
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: SeqScans on boolen values / How to speed this up?