Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group