Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHwwt-0001aD-Og for pgsql-general@arkaria.postgresql.org; Thu, 10 Feb 2022 00:04:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nHwws-0003jX-7d for pgsql-general@arkaria.postgresql.org; Thu, 10 Feb 2022 00:04:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHwwr-0003jO-TP for pgsql-general@lists.postgresql.org; Thu, 10 Feb 2022 00:04:33 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHwwn-0005Bn-SY for pgsql-general@postgresql.org; Thu, 10 Feb 2022 00:04:33 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1nHwwm-004eID-8V; Wed, 09 Feb 2022 19:04:28 -0500 Date: Wed, 9 Feb 2022 19:04:28 -0500 From: Bruce Momjian To: Rama Krishnan Cc: Postgres General Subject: Re: Performance issue questions Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Feb 10, 2022 at 05:11:07AM +0530, Rama Krishnan wrote: > Hi all,  > > It was a famous interview question > > If the table contains multiple indexes what kind of performance issue or impact > will be there. Sure: https://momjian.us/main/blogs/pgblog/2012.html#July_9_2012 https://momjian.us/main/presentations/performance.html#optimizer -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.