Re: [NOVICE] WHERE clause not used when index is used

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Tobias Florek <postgres(at)ibotty(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [NOVICE] WHERE clause not used when index is used
Date: 2016-03-15 19:49:25
Message-ID: CAM3SWZRYVrcCvRv5hsoinwkkexRUvsXMp=WrZjkDiQ-FZt8Lsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

On Thu, Mar 3, 2016 at 2:07 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> Later, I will add the tests we discovered here to index scans, so that
> further optimization work is more easily possible.

Please do.

I would like to start testing the B-Tree code more exhaustively by
adding a test suite to amcheck. This test suite would indirectly test
external sorting, B-Tree page deletion, edge-cases with very large
IndexTuples, etc.

Ideas for good areas of the B-Tree code to add tests for are welcome.

--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2016-03-15 19:54:36 Re: [PATCH v6] GSSAPI encryption support
Previous Message Robbie Harwood 2016-03-15 19:41:14 Re: [PATCH v6] GSSAPI encryption support

Browse pgsql-novice by date

  From Date Subject
Next Message Peter Eisentraut 2016-03-15 20:33:30 Re: FW: [NOVICE] WHERE clause not used when index is used
Previous Message Lawrence Wetsel 2016-03-15 19:43:43 Initial performance tuning question