Re: PostgresSQL 9.5.21 very slow to connect and perform basic queries

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: bruno da silva <brunogiovs(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: PostgresSQL 9.5.21 very slow to connect and perform basic queries
Date: 2022-07-21 20:18:32
Message-ID: e4d532f6-b3d2-a053-8c18-ce1d4ac3f72b@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On 2022-07-21 Th 14:37, bruno da silva wrote:
> Hello.
>
> I'm investigating an issue on a PostgresSql 9.5.21 installation that
> becomes unusable in an intermittent way. Simple queries like "select
> now();" could take 20s. commits take 2s. and all gets fixed after an
> engine restart.
>
> I look into the pg logs and no signs of errors. and checkpoints are
> always timed. The machine is well provisioned, load isn't too high,
> and cpu io wait is under 1%.
>
> any suggestions on what I should check more?
>
>
>

9.5 has been out of support for nearly 2 years. You should be looking to
upgrade.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Justin Pryzby 2022-07-21 20:21:46 Re: PostgresSQL 9.5.21 very slow to connect and perform basic queries
Previous Message bruno da silva 2022-07-21 20:01:10 Re: PostgresSQL 9.5.21 very slow to connect and perform basic queries