Re: Disappointing performance in db migrated from MS SQL Server

Поиск
Список
Период
Сортировка
Искать
От
Vivek Khera
Тема
Re: Disappointing performance in db migrated from MS SQL Server
Дата
Msg-id
x7bro23adp.fsf@yertle.int.kciLink.com
Список
Дерево обсуждения
Re: Disappointing performance in db migrated from MS SQL Server Vivek Khera <khera@kcilink.com>
>>>>> "LO" == Leon Out  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@kciLink.com       Rockville, MD  +1-301-869-4449 x806
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
В списке pgsql-performance по дате отправления
От: Vivek Khera
Дата:
От: Rajesh Kumar Mallah
Дата:
Сообщение: slow GIST index creation
FAQ