From: | Divakar Singh <dpsmails(at)yahoo(dot)com> |
---|---|
To: | Marti Raudsepp <marti(at)juffo(dot)org> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Insert performance with composite index |
Date: | 2010-11-01 12:56:13 |
Message-ID: | 235610.98703.qm@web65413.mail.ac4.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Hi Marti,
Thanks for your tips. i will try those.
I am on Solaris Sparc 5.10
Best Regards,
Divakar
________________________________
From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Divakar Singh <dpsmails(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)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(at)yahoo(dot)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?
If it's 2.6.33 or later, see:
http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server#wal_sync_method_wal_buffers
http://archives.postgresql.org/pgsql-performance/2010-10/msg00602.php
Regards,
Marti
From | Date | Subject | |
---|---|---|---|
Next Message | Marti Raudsepp | 2010-11-01 13:04:46 | Re: Insert performance with composite index |
Previous Message | Marti Raudsepp | 2010-11-01 12:53:17 | Re: Insert performance with composite index |