Re: dependency between numbers keywords and parser speed

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: dependency between numbers keywords and parser speed
Дата
Msg-id AANLkTimKepxX08TknwiTfdAu6XU6maTFKJqUwrnmEJjX@mail.gmail.com
обсуждение исходный текст
Ответ на Re: dependency between numbers keywords and parser speed  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: dependency between numbers keywords and parser speed  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Mon, Mar 14, 2011 at 4:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> there was a discussion about impact of number of keyword for parser
>> speed. I did some synthetic tests and I didn't see any slowness on
>> pgbench when I increased a number of keywords.
>
> I don't see any particular reason to suppose that pgbench would be a
> good framework for stressing parsing speed.  The queries it issues
> are of trivial length.

I found that it was actually a fairly measurable component of the
select-only test when running with shared_buffers cranked up to a
reasonable value.  But it'd probably be a lot easier to measure on a
benchmark specifically targeted at the parser.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Better estimates of index correlation
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Better estimates of index correlation