Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5vRb-00016D-Tc for pgsql-general@arkaria.postgresql.org; Fri, 28 Sep 2018 16:16:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g5vRX-0003tE-LY for pgsql-general@arkaria.postgresql.org; Fri, 28 Sep 2018 16:16:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5vRX-0003t6-DJ for pgsql-general@lists.postgresql.org; Fri, 28 Sep 2018 16:16:39 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5vRR-0001BQ-8i for pgsql-general@lists.postgresql.org; Fri, 28 Sep 2018 16:16:39 +0000 Received: from [192.168.178.20] (unknown [185.38.49.17]) by mail.i-mark.de (Postfix) with ESMTPSA id 8B8DB15802FC; Fri, 28 Sep 2018 18:16:27 +0200 (CEST) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.17) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: Why my query not using index to sort? To: Arup Rakshit Cc: pgsql-general@lists.postgresql.org References: <20311.1538141875@sss.pgh.pa.us> <97DDEE09-FE33-43DB-A451-665F3535B5BA@zeit.io> <40D9D4B8-7D62-4E6E-B6E9-3F83DACA2D45@zeit.io> From: Andreas Kretschmer Message-ID: <61708e66-dcc6-6490-b876-979eff8c3efd@a-kretschmer.de> Date: Fri, 28 Sep 2018 18:16:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <40D9D4B8-7D62-4E6E-B6E9-3F83DACA2D45@zeit.io> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 28.09.2018 um 18:03 schrieb Arup Rakshit: > Also I meatn the execution time is less than I had before with > enable_sort = off. yeah, but not that much. different plan. Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com