Re: poor performance on 7.1 vs 7.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: poor performance on 7.1 vs 7.0
Дата
Msg-id 26818.989290084@sss.pgh.pa.us
обсуждение исходный текст
Ответ на poor performance on 7.1 vs 7.0  (Kyle <kaf@nwlink.com>)
Ответы Re: poor performance on 7.1 vs 7.0  (Kyle <kaf@nwlink.com>)
Список pgsql-general
Kyle <kaf@nwlink.com> writes:
> I'm getting poor performance on 7.1 as compared to 7.0.

Hm.  I don't know why 7.1 might be slower for plain SELECTs (the WAL
changes would certainly not affect that).  Could you compile 7.1 for
profiling ("make clean; make PROFILE=-pg all" in the src/backend
subdirectory should do it) and send along a gprof table for your
test run?

> I've got a btree index on the first 16 of the data elements, and
> explain verifies that the index is used.

Simple explain doesn't prove that the index is being fully used ---
the display doesn't distinguish how many index columns are actually
being looked at.  EXPLAIN VERBOSE output would resolve that doubt.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: select off of a view going slowly
Следующее
От: "John Clark L. Naldoza"
Дата:
Сообщение: Re: Re: PostgreSQL - PHP insert deleted from database immediately?