Re: Sustained inserts per sec ... ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sustained inserts per sec ... ?
Дата
Msg-id 28353.1112388128@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sustained inserts per sec ... ?  (Christopher Petrilli <petrilli@gmail.com>)
Ответы Re: Sustained inserts per sec ... ?  (Christopher Petrilli <petrilli@gmail.com>)
Список pgsql-performance
Christopher Petrilli <petrilli@gmail.com> writes:
> I can start at about 4,000 rows/second, but at about 1M rows, it
> plummets, and by 4M it's taking 6-15 seconds to insert 1000 rows.
> That's only about 15 rows/second, which is quite pathetic.   The
> problem seems to be related to my indexes, since I have to keep them
> online (the system in continually querying, as well).

I doubt it has anything to do with your indexes.  I'm wondering about
foreign key checks, myself.  What FKs exist on these tables?  Is the
"start" condition zero rows in every table?  Which PG version exactly?

            regards, tom lane

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

Предыдущее
От: Christopher Petrilli
Дата:
Сообщение: Re: Sustained inserts per sec ... ?
Следующее
От: Christopher Petrilli
Дата:
Сообщение: Re: Sustained inserts per sec ... ?