Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hyceU-0003my-0L for pgsql-general@arkaria.postgresql.org; Fri, 16 Aug 2019 13:52:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hyceS-0006MK-T5 for pgsql-general@arkaria.postgresql.org; Fri, 16 Aug 2019 13:52:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hyceS-0006L8-Go for pgsql-general@lists.postgresql.org; Fri, 16 Aug 2019 13:52:20 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1hyceP-0000CZ-OY for pgsql-general@postgresql.org; Fri, 16 Aug 2019 13:52:19 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id A111116628A34 for ; Fri, 16 Aug 2019 06:52:16 -0700 (MST) Date: Fri, 16 Aug 2019 06:52:16 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1565963536657-0.post@n3.nabble.com> In-Reply-To: <88609b1c-1653-6d4c-c1b4-883e109f5b93@aklaver.com> References: <1565879436637-0.post@n3.nabble.com> <1565896167022-0.post@n3.nabble.com> <88609b1c-1653-6d4c-c1b4-883e109f5b93@aklaver.com> Subject: Re: slow queries on system tables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Well, not exactly. Values for autovacuum and autoanalyse are Null because I did not configured them for system tables yet, but I=C2=B4m doing vacuum manually once a week.= My question now is why those selects varies that way.=20 Almost all times it spend 20ms but 2 o 3% of the times it spend 500ms, why = ?=20 System tables are not cached ? What is Postgres doing on that time to get that response times ? Can I help Postgres on any way ? -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.h= tml