Re: Queries take long long(10 sec.) time running - Mailing list pgsql-general

From Tomas Vondra
Subject Re: Queries take long long(10 sec.) time running
Date
Msg-id de4d3de15b518b927a5ff248c752cb1a.squirrel@sq.gransy.com
Whole thread Raw
In response to Re: Queries take long long(10 sec.) time running  (Andre Lopes <lopes80andre@gmail.com>)
List pgsql-general
On 7 Prosinec 2011, 11:28, Andre Lopes wrote:
> Thanks for the replies.
>
> Seems my problem is SWAP/IO... I can only solve this putting more RAM
> on the machine or it is possible to put down this values only
> adjusting some settings?

You can set PostgreSQL, MySQL etc. to use less memory - so that it fits
into the RAM. What are the basic config parameters, i.e. shared_buffers,
work_mem etc.?

The question is why it worked fine for 45 days and then it started to slow
down. My bet is that the database grew for some reason (users entering
data, bloat ...). This often triggers sudden performance degradation.

Tomas


pgsql-general by date:

Previous
From: Andre Lopes
Date:
Subject: Re: Queries take long long(10 sec.) time running
Next
From: Craig Ringer
Date:
Subject: Re: [pgadmin-support] Help for Migration