Re: postgresql recommendation memory

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Евгений Селявка <evg(dot)selyavka(at)gmail(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: postgresql recommendation memory
Date: 2013-11-11 00:20:35
Message-ID: CAL_0b1vPc788dsyMaFfdj7daqc+DHvvf_mCgCd=Pmy0ksB_iZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sat, Nov 2, 2013 at 11:54 AM, Евгений Селявка <evg(dot)selyavka(at)gmail(dot)com> wrote:
> DB size is about 20GB. There is no high write activity on DB. But
> periodically in postgresql log i see for example: "select 1" duration is
> about 500-1000 ms.
>
> In this period of time response time from db terribly. This period of time
> not bound with high traffic. It is not other app on the server. There is not
> specific cron job on server.

Have you shown all the modified kernel settings? Don't you use huge
pages accidentally? It might be a transparent huge pages
defragmentation issue, the symptoms look similar.

Another thing that might cause it is network. Try to monitor it at the
time of these stalls.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Евгений Селявка 2013-11-11 08:09:14 Re: postgresql recommendation memory
Previous Message monalee_dba 2013-11-10 07:40:24 Order By Clause, Slows Query Performance?