Re: Abnormal performance difference between Postgres and MySQL

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Farhan Husain <russoue(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Abnormal performance difference between Postgres and MySQL
Date: 2009-02-25 19:52:50
Message-ID: 603c8f070902251152s67ed8353v29f41f8e413e259d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> Please note that this (1792MB) is the highest that I could set for work_mem.

Yeah, that's almost certainly part of your problem.

You need to make that number MUCH smaller. You probably want a value
like 1MB or 5MB or maybe if you have really a lot of memory 20MB.

That's insanely high.

...Robert

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2009-02-25 20:28:10 Re: Abnormal performance difference between Postgres and MySQL
Previous Message Scott Carey 2009-02-25 19:23:07 Re: PostgreSQL block size for SSD RAID setup?