Re: Performance issue with Insert - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: Performance issue with Insert
Date
Msg-id BANLkTi=Ghv4nap5PZat9GrLNjKM9dX8EuA@mail.gmail.com
Whole thread Raw
In response to Performance issue with Insert  (Jenish <jenishvyas@gmail.com>)
List pgsql-performance
On Mon, Jun 27, 2011 at 9:22 AM, Jenish <jenishvyas@gmail.com> wrote:
> Hi All,
>
> I am facing some performance issue with insert into some table.
>
> I am using postgres 8.4.x
>
> Table is having 3 before insert trigger and one after insert trigger.
>
> With all triggers enable it is inserting only 4-5 record per second.
>
> But if I disable after insert trigger it is able to insert 667 records per
> second.
>
> After insert trigger is recursive trigger.
>
> My question.
>
> How to avoid the bottleneck?
>
> Parallel processing is possible in Postgres? How?
>
> Please give you suggestion.

this sounds like a coding issue -- to get to the bottom of this we are
going to need to see the table and the triggers.

merlin

pgsql-performance by date:

Previous
From: Jenish
Date:
Subject: Re: Performance issue with Insert
Next
From: Robert Klemme
Date:
Subject: Re: Long Running Update - My Solution