Re: Very Poor Insert Performance

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Very Poor Insert Performance
Дата
Msg-id 871xsyy2zb.fsf@stark.dyndns.tv
обсуждение исходный текст
Ответ на Very Poor Insert Performance  (Damien Dougan <damien.dougan@mobilecohesion.com>)
Список pgsql-performance
Damien Dougan <damien.dougan@mobilecohesion.com> writes:

> Our batch upload is performing a number of stored procedures to insert data on
> the database. Initially, this results in quite good performance, but rapidly
> spirals down to approximately 1 per second after some minutes.

It's fairly unlikely anyone will be able to help without you saying what
you're doing. What are these procedures doing? What do the tables look like?
What indexes exist?

At a guess the foreign key relationships you're enforcing don't have indexes
to help them. If they do perhaps postgres isn't using them.

--
greg

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Various performance questions
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Various performance questions