Re: huge difference in performance between MS SQL and pg 8.3 on UPDATE with full text search

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: huge difference in performance between MS SQL and pg 8.3 on UPDATE with full text search
Date: 2010-09-28 18:56:24
Message-ID: 20100928185624.GM7862@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Sep 28, 2010 at 02:35:09PM +0300, Allan Kamau wrote:
> I have access
> to a server running PG 8.4 on Ubuntu and I have noticed that after a
> day of intense use the PG slows down significantly, "free -g" reports
> almost no free memory available (something seems to leak memory on
> this Ubuntu box).

I'm not sure which values you're looking at in "free", but you generally
want there to be very little free memory--you want the memory to be used
for caching the disk. As long as the cached data isn't "dirty" (i.e.
unwritten data) then it can be released very quickly and made available
for whatever is needed, or better serve as a useful cache.

Rebooting normally just hides other issues.

--
Sam http://samason.me.uk/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Neyman 2010-09-28 19:13:34 Re: Scaling PostgreSQL-9
Previous Message Scott Ribe 2010-09-28 18:46:36 Re: PostgreSQL 9 Mac OS X one-click install - PL/perl broken