Re: Very Poor Insert Performance - Mailing list pgsql-performance

From Greg Stark
Subject Re: Very Poor Insert Performance
Date
Msg-id 871xsyy2zb.fsf@stark.dyndns.tv
Whole thread Raw
In response to Very Poor Insert Performance  (Damien Dougan <damien.dougan@mobilecohesion.com>)
List 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 by date:

Previous
From: Greg Stark
Date:
Subject: Re: Various performance questions
Next
From: Neil Conway
Date:
Subject: Re: Various performance questions