Re: Impact of checkpoint_segments under continual load conditions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Impact of checkpoint_segments under continual load conditions
Дата
Msg-id 16794.1121718743@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Impact of checkpoint_segments under continual load conditions  (Christopher Petrilli <petrilli@gmail.com>)
Ответы Re: Impact of checkpoint_segments under continual load conditions  (Christopher Petrilli <petrilli@gmail.com>)
Re: Impact of checkpoint_segments under continual load conditions  (Christopher Petrilli <petrilli@gmail.com>)
Список pgsql-performance
Christopher Petrilli <petrilli@gmail.com> writes:
> On 7/18/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I have no idea at all what's causing the sudden falloff in performance
>> after about 10000 iterations.  COPY per se ought to be about a
>> constant-time operation, since APPEND is (or should be) constant-time.
>> What indexes, foreign keys, etc do you have on this table?  What else
>> was going on at the time?

> The table has 15 columns, 5 indexes (character, inet and timestamp).
> No foreign keys. The only other thing running on the machine was the
> application actually DOING the benchmarking, written in Python
> (psycopg), but it was, according to top, using less than 1% of the
> CPU.  It was just talking through a pipe to a psql prompt to do the
> COPY.

Sounds pretty plain-vanilla all right.

Are you in a position to try the same benchmark against CVS tip?
(The nightly snapshot tarball would be plenty close enough.)  I'm
just wondering if the old bgwriter behavior of locking down the
bufmgr while it examined the ARC/2Q data structures is causing this...

            regards, tom lane

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

Предыдущее
От: Christopher Petrilli
Дата:
Сообщение: Re: Impact of checkpoint_segments under continual load conditions
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: join and query planner