From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | Jenish <jenishvyas(at)gmail(dot)com> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Performance issue with Insert |
Date: | 2011-06-27 16:12:02 |
Message-ID: | BANLkTi=Ghv4nap5PZat9GrLNjKM9dX8EuA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Mon, Jun 27, 2011 at 9:22 AM, Jenish <jenishvyas(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Klemme | 2011-06-27 19:29:21 | Re: Long Running Update - My Solution |
Previous Message | Jenish | 2011-06-27 15:58:26 | Re: Performance issue with Insert |