Re: Why do I need more time with partition table?

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Why do I need more time with partition table?
Дата
Msg-id CAMkU=1xBxA16on2WqDGhUgSvm3b7+hf92d1+VZTw3qu-nJWnZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why do I need more time with partition table?  (AI Rumman <rummandba@gmail.com>)
Список pgsql-performance
On Wed, Jul 25, 2012 at 1:40 AM, AI Rumman <rummandba@gmail.com> wrote:
> Thanks. I missed to add the trigger.
> Now I added it, but still without partition taking less time compared to
> with partition query.

Based on the different times on "Seq Scan on table2", it looks like
one query has better caching than the other.

Did you try running the queries in alternating order, to average out
caching effects?

Could you run the "explain (analyze, buffers)" on those to get a
better picture of the buffer effects?

Cheers,

Jeff

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

Предыдущее
От: Jan Otto
Дата:
Сообщение: Re: Why do I need more time with partition table?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: transactions start time