Re: Postgres 7.3.2 -> 8.1.2 upgrade performance issue

From: David Brain <dbrain(at)bandwidth(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres 7.3.2 -> 8.1.2 upgrade performance issue
Date: 2006-02-03 16:05:12
Message-ID: 43E37F38.8030308@bandwidth.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:

>
> Did you remember to VACUUM ANALYZE after loading the data? It sounds
> to me like bad choices of plans ...
>

Yes - although I have autovacuum off, partly to make an apples to apples
comparison with 7.3 and partly due to the nature of the app.

On the application side I'm connecting via npgsql from .Net - the
application is basically pumping large numbers of rows into a heavily
indexed db (used for analysis later). Performance went from 100-200
rows per-second (which was being capped by cpu usage on the client side)
to more like 10 rows per second.

I'm going to investigate what effect upgrading npgsql has too - as it
appears there is a new version available. I will report back with what
I find.

I just enabled autovacuum - with no apparent speed increase.

Odd.

David.

--
David Brain - bandwidth.com
dbrain(at)bandwidth(dot)com
919.297.1078

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Emi Lu 2006-02-03 16:11:39 performance about trigger (after insert, update, delete)
Previous Message Mott Leroy 2006-02-03 15:55:21 Re: logging settings