Re: Benchmark Data requested

Поиск
Список
Период
Сортировка
От Matthew
Тема Re: Benchmark Data requested
Дата
Msg-id Pine.LNX.4.64.0802051554010.20402@aragorn.flymine.org
обсуждение исходный текст
Ответ на Re: Benchmark Data requested  (Richard Huxton <dev@archonet.com>)
Ответы Re: Benchmark Data requested  (Richard Huxton <dev@archonet.com>)
Список pgsql-performance
On Tue, 5 Feb 2008, Richard Huxton wrote:
>> Why would you need to lock the table?
>
> Because you're not really writing the WAL, which means you can't let anyone
> else get their data into any of the blocks you are writing into. You'd
> basically want to write the disk blocks then "attach" them in some way.

So what's wrong with "reserving" the space using the WAL, then everyone
else will know. After all, when you write the data to the WAL, you must
have an idea of where it is meant to end up. My suggestion is that you go
through all the motions of writing the data to the WAL, just without the
data bit.

Matthew

--
Failure is not an option. It comes bundled with your Microsoft product.
                                                 -- Ferenc Mantfeld

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Benchmark Data requested
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Benchmark Data requested