pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-admin@lists.postgresql.org
Subject: Re: PostgreSQL local connection is taking 4 seconds
Date: Tue, 2 Jan 2024 16:55:00 +0100
Message-ID: <006c932a-d986-d0d1-61cd-065ffbe71fb3@gmx.net> (raw)
In-Reply-To: <CAHkcXnyVu3HJSrzRu9KA0T9cLgJxSkHfW2tYJdBg+ozYxZy_qw@mail.gmail.com>
References: <CAHkcXnyVu3HJSrzRu9KA0T9cLgJxSkHfW2tYJdBg+ozYxZy_qw@mail.gmail.com>


pramod kg schrieb am 02.01.2024 um 14:58:
> Hi Experts,
>
> We have upgraded the OS from RHEL7 to RHEL8 in our testbed machines. After upgrading, PostgrSQL local connection is taking ~4 seconds (Both TLS and non TLS connection). Please advise on what to be verified? There is no change in postgresql.conf or pg_hba.conf.
>
> PostgreSQL version is 13.12.
> RHEL Version: Red Hat Enterprise Linux release 8.8 (Ootpa)

Did you enable log_hostname?

That does a revers DNS lookup which could be a reason for the connection suddenly taking longer.







view thread (10+ messages)  latest in thread

Message-ID: <006c932a-d986-d0d1-61cd-065ffbe71fb3@gmx.net>
Permalink:  ../006c932a-d986-d0d1-61cd-065ffbe71fb3@gmx.net/
Also on:    postgresql.org/message-id/006c932a-d986-d0d1-61cd-065ffbe71fb3@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: shammat@gmx.net, pgsql-admin@lists.postgresql.org
  Subject: Re: PostgreSQL local connection is taking 4 seconds
  In-Reply-To: <006c932a-d986-d0d1-61cd-065ffbe71fb3@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox