Re: Maximum insert per second

Поиск
Список
Период
Сортировка
Искать
От
Kevin Grittner
Тема
Re: Maximum insert per second
Дата
Msg-id
4E1C0C9C020000250003F225@gw.wicourts.gov
Ответ на
Список
Дерево обсуждения
Maximum insert per second Jenish Vyas <jenishvyas@gmail.com>
Re: Maximum insert per second "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Maximum insert per second lst_hoe02@kwsoft.de
Re: Maximum insert per second Scott Marlowe <scott.marlowe@gmail.com>
Re: Maximum insert per second Scott Marlowe <scott.marlowe@gmail.com>
Re: Maximum insert per second lst_hoe02@kwsoft.de
Jenish Vyas  wrote:
 
> I am able to insert 1190- 1210 records per seconds.
> 
> Now I just want to know by what extend I could stretch it.
> 
> What is the maximum insert I can achieve in one second?  What is
> the maximum number of insert postgresql achieved so far?
 
I don't have hard numbers handy, and I know I don't have the fastest
hardware out there, but for bulk loads of narrow tables we typically
see tens of thousands of rows per second.  Of course that's with
"running with scissors" settings.  We turn off archiving,
autovacuum, fsync, full_page_writes, and synchronous_commit; and
COPY rows within the same transaction which creates the table,
before creating any indexes.  Then we build the indexes, VACUUM
FREEZE ANALYZE, and change back to a configuration which actually
preserves the data on a crash.
 
From memory, I would say on our larger servers we've probably seen
a max of something on the order of 50,000 rows per second on
relatively narrow tables, without factoring the index build and
vacuum times.
 
-Kevin
В списке pgsql-admin по дате отправления
От: Jenish Vyas
Дата:
Сообщение: Maximum insert per second
От: francescoboccacci@libero.it
Дата:
Сообщение: Too many IDLE in current_query
FAQ