Re: Working around, or with, bitmap heap scan?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Working around, or with, bitmap heap scan?
Дата
Msg-id 44fa6ec751eb8473583edfbf56d51fb7c229bab9.camel@cybertec.at
обсуждение исходный текст
Ответ на Working around, or with, bitmap heap scan?  ("James A. Robinson" <jim.robinson@gmail.com>)
Ответы Re: Working around, or with, bitmap heap scan?  ("James A. Robinson" <jim.robinson@gmail.com>)
Список pgsql-general
James A. Robinson wrote:
> I'm newly exposed to a Postgres 9.4 database system, and am
> trying to understand how I might optimize a query that is taking
> a long time to return.
> 
> What I'm observing is an uncached query that takes much much
> longer to complete, sometimes minutes longer, when
> enable_bitmapscan is true.  Even after the query result is
> cached, it seems to consistently be 300 ms slower when
> enable_bitmapscan is true (so taking 900 ms to return instead of
> 600 ms).

It would be helpful to have EXPLAIN (ANALYZE, BUFFERS) output for
both queries.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



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

Предыдущее
От: GPT
Дата:
Сообщение: Re: rw_redis_fdw: SQL Errors when statement is within a function
Следующее
От: "James A. Robinson"
Дата:
Сообщение: Re: Working around, or with, bitmap heap scan?