Re: performance for high-volume log insertion

Поиск
Список
Период
Сортировка
От Glenn Maynard
Тема Re: performance for high-volume log insertion
Дата
Msg-id bd36f99e0904221404n1390e7f0y538b7a42d7fdd411@mail.gmail.com
обсуждение исходный текст
Ответ на Re: performance for high-volume log insertion  (david@lang.hm)
Список pgsql-performance
On Wed, Apr 22, 2009 at 4:07 PM,  <david@lang.hm> wrote:
> are these done as seperate round trips?
>
> i.e.
> begin <send>
> insert <send>
> insert <send>
> ..
> end <send>
>
> or as one round trip?

All tests were done by constructing a file and using "time psql -f ...".

>> 40 inserts, 100 rows/insert: 0.18s
>> one 40000-value insert: 0.16s
>> 40 prepared inserts, 100 rows/insert: 0.15s
>
> are one of these missing a 0?

Sorry, 400 * 100.  All cases inserted 40000 rows, and I deleted all
rows between tests (but did not recreate the table).

--
Glenn Maynard

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

Предыдущее
От: James Mansion
Дата:
Сообщение: Re: performance for high-volume log insertion
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: performance for high-volume log insertion