Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFsMD-0000ey-6X for pgsql-performance@arkaria.postgresql.org; Sun, 11 Dec 2016 00:51:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cFsMC-00039d-Pd for pgsql-performance@arkaria.postgresql.org; Sun, 11 Dec 2016 00:51:12 +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.84_2) (envelope-from ) id 1cFsKY-0001E0-9s for pgsql-performance@postgresql.org; Sun, 11 Dec 2016 00:49:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cFsKU-0000x9-LH for pgsql-performance@postgresql.org; Sun, 11 Dec 2016 00:49:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uBB0nNgm014685; Sat, 10 Dec 2016 19:49:23 -0500 From: Tom Lane To: Eric Jiang cc: Daniel Blanch Bataller , pgsql-performance@postgresql.org, Eric Clark Subject: Re: Querying with multicolumn index In-reply-to: References: <3AE2FE1F-58FB-4E71-803A-1CE9206D1615@gmail.com> Comments: In-reply-to Eric Jiang message dated "Sat, 10 Dec 2016 12:15:35 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14683.1481417363.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 10 Dec 2016 19:49:23 -0500 Message-ID: <14684.1481417363@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Eric Jiang writes: > We aren't using any special planner settings - all enable_* options are "= on". No, I'm asking about the cost settings (random_page_cost etc). The cost estimates you're showing seem impossible with the default settings. regards, tom lane --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance