Hi Marti, Thanks for your tips. i will try those. I am on Solaris Sparc 5.10
Best Regards, Divakar
From: Marti Raudsepp <marti@juffo.org> To: Divakar Singh <dpsmails@yahoo.com> Cc: pgsql-performance@postgresql.org Sent: Mon, November 1, 2010 6:23:17 PM Subject: Re: [PERFORM] Insert performance with composite index
On Mon, Nov 1, 2010 at 14:49, Divakar Singh <dpsmails@yahoo.com> wrote: > I am trying to tune my libpq program for insert performance. > When I tried inserting 1M rows into a table with a Primary Key, it took > almost 62 seconds. > After adding a composite index of 2 columns, the performance degrades to 125 > seconds.
This sounds a lot like the bottleneck I was hitting. What Linux kernel version are you running?