Re: Disappointing performance in db migrated from MS SQL Server

From: Vivek Khera <khera(at)kcilink(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Disappointing performance in db migrated from MS SQL Server
Date: 2004-02-13 22:03:30
Message-ID: x7bro23adp.fsf@yertle.int.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

>>>>> "LO" == Leon Out <leon-lists(at)comvision(dot)com> writes:

LO> project. The results so far have been disappointing, with Postgres
LO> performing queries in about the same time as SQL Server even though
LO> Postgres is running on a dedicated box with about 4 times the clock
LO> speed of the SQL Server box. For a chart of my results, please see
LO> http://leonout.com/pggraph.pdf for a graph of some test results.

Are you using transactions liberally? If you have large groups of
inserts/updates, putting them inside transactions buys you a lot of
improvement by batching the writes to the WAL.

Also, increase your checkpoint_segments if you do a lot of writes.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com Rockville, MD +1-301-869-4449 x806
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2004-02-14 03:39:01 slow GIST index creation
Previous Message Vivek Khera 2004-02-13 22:01:42 Re: Disappointing performance in db migrated from MS SQL Server