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 1l02FZ-0001s8-Rq for pgsql-general@arkaria.postgresql.org; Thu, 14 Jan 2021 13:01:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l02FY-0005uk-Pv for pgsql-general@arkaria.postgresql.org; Thu, 14 Jan 2021 13:01:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l02CO-0001DK-JM for pgsql-general@lists.postgresql.org; Thu, 14 Jan 2021 12:58:00 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l02CH-00052W-Pm for pgsql-general@postgresql.org; Thu, 14 Jan 2021 12:57:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Og4VG8LMoWTJEOjDLWHvoEbguQuckX3+3ZOj9XdsmfQ=; b=IKl2WDZfgKfGjrOhX3tIiUwxV4 qUAD++IYgSZDF1RVPFaxwhXaX4ulh1Ff5vaPj0u5X7fpjZNwNh46K3jFAJQx7Yior6dZiJKpZW5tz 2tYawAIJ6KWikXDAkAQvCE+7c23jbA3DLy9LnJ8BUlQXI7vXgTYeuuz92huaTSHV8Aqo=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1l02CF-00087c-0e; Thu, 14 Jan 2021 13:57:51 +0100 Date: Thu, 14 Jan 2021 13:57:50 +0100 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Atul Kumar Cc: Postgres General Subject: Re: postgres optimization Message-ID: <20210114125750.GA20498@depesz.com> Reply-To: depesz@depesz.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Jan 14, 2021 at 04:58:32PM +0530, Atul Kumar wrote: > I will be grateful if you can help me in understanding the basics and > slowly in depth optimization, by understanding explain plan. Consider reading https://www.depesz.com/tag/unexplainable/ depesz