Re: Performance (was: The New Slashdot Setup (includes MySql server))

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performance (was: The New Slashdot Setup (includes MySql server))
Дата
Msg-id 10033.958775006@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Performance (was: The New Slashdot Setup (includes MySql server))  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Ответы Re: Performance (was: The New Slashdot Setup (includes MySql server))  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
>> More generally, someone should examine the other places where
>> heap_getnext() loops occur, and see if any of them look like performance
>> bottlenecks...

> Please don't lose sequential scan stuff even when changes to
> index scan is needed because -P option of standalone postgres
> needs sequential scan for system tables.

Good point.  I'd still like not to clutter the code with deciding
which kind of scan to invoke, though.  Maybe we could put the
begin_xxx routine in charge of ignoring a request for an indexscan
when -P is used.  (AFAIR there's no real difference for the calling
code, it sets up scankeys and so forth just the same either way, no?
We should just need a switching layer in front of heap_beginscan/
index_beginscan and heap_getnext/index_getnext...)
        regards, tom lane


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

Предыдущее
От: Chris
Дата:
Сообщение: Re: OO Patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance (was: The New Slashdot Setup (includes MySql server))