Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ry17l-00E2Fl-UK for pgsql-admin@arkaria.postgresql.org; Sat, 20 Apr 2024 03:10:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ry17j-007Kyg-NE for pgsql-admin@arkaria.postgresql.org; Sat, 20 Apr 2024 03:10:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ry17j-007KyY-9H for pgsql-admin@lists.postgresql.org; Sat, 20 Apr 2024 03:10:43 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ry17c-001ubJ-GR for pgsql-admin@postgresql.org; Sat, 20 Apr 2024 03:10:42 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id ABB7B6EA92; Sat, 20 Apr 2024 03:10:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1713582633; bh=nGKtlTPWLR2tSk8V0N5IE00+f7yBxtP1YfP563Y5zjU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=EMX3osrLTi7PkE3j3ZoUgkMX0ZXZut/ShA4DXWXT3SU0kTIhmT/8nl6DHDP3Reprl IlIVymvpV19tIVA60fqfHk/9hzjQiYpSzhRXICR2pckuPyTYhDKvJYE2+1yShYQb4l jw6cswz1gqFj+DVWlcV/FKRZeQks3J0FJsKbJXrAjjgac6nJ2/7+9/RNYylUpP+YEp oYnsVcT7t9rNQB9xlzgAZVZtjduRNmidAxpSCk3h0wgoVlkVdUuyhRPIKySs/BGo8+ Wt3OgF5LDJ6+pWiUWbFMPp4mYedebZcVvpH7+FifZv7sJbDaKA+VCNAacvrvcle+tS TL+WmAww8OLhA== X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ae1VgB52RH_3; Sat, 20 Apr 2024 03:10:33 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 3F2C16E6DA; Sat, 20 Apr 2024 03:10:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1713582633; bh=nGKtlTPWLR2tSk8V0N5IE00+f7yBxtP1YfP563Y5zjU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=EMX3osrLTi7PkE3j3ZoUgkMX0ZXZut/ShA4DXWXT3SU0kTIhmT/8nl6DHDP3Reprl IlIVymvpV19tIVA60fqfHk/9hzjQiYpSzhRXICR2pckuPyTYhDKvJYE2+1yShYQb4l jw6cswz1gqFj+DVWlcV/FKRZeQks3J0FJsKbJXrAjjgac6nJ2/7+9/RNYylUpP+YEp oYnsVcT7t9rNQB9xlzgAZVZtjduRNmidAxpSCk3h0wgoVlkVdUuyhRPIKySs/BGo8+ Wt3OgF5LDJ6+pWiUWbFMPp4mYedebZcVvpH7+FifZv7sJbDaKA+VCNAacvrvcle+tS TL+WmAww8OLhA== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: Intermittent Query Performance Issue From: Scott Ribe In-Reply-To: Date: Fri, 19 Apr 2024 21:10:22 -0600 Cc: "pgsql-admin@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0573591A-B0F2-461D-9F3E-6DF303D9DB62@elevated-dev.com> References: To: Murthy Nunna X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wonder if it could be cache eviction? You query runs fast when = relevant parts of the table are in cache, and other times, other queries = (or system activity) have forced that data out of cache.=