Re: Index Skip Scan

From: Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>
To: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>
Cc: Floris Van Nee <florisvannee(at)optiver(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, James Coleman <jtc331(at)gmail(dot)com>, Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, "bhushan(dot)uparkar(at)gmail(dot)com" <bhushan(dot)uparkar(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
Subject: Re: Index Skip Scan
Date: 2020-06-02 23:17:59
Message-ID: CAKU4AWq=wWkAo-CDOQ5Ea6UwYvZCgb501w6iqU0rtnTT-zg6bQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 2, 2020 at 9:38 PM Dmitry Dolgov <9erthalion6(at)gmail(dot)com> wrote:

> > On Tue, Jun 02, 2020 at 08:36:31PM +0800, Andy Fan wrote:
> >
> > > Other than that to summarize current open points for future readers
> > > (this thread somehow became quite big):
> > >
> > > * Making UniqueKeys usage more generic to allow using skip scan for
> more
> > > use cases (hopefully it was covered by the v33, but I still need a
> > > confirmation from David, like blinking twice or something).
> > >
> > > * Suspicious performance difference between different type of workload,
> > > mentioned by Tomas (unfortunately I had no chance yet to
> investigate).
> > >
> > > * Thinking about supporting conditions, that are not covered by the
> index,
> > > to make skipping more flexible (one of the potential next steps in
> the
> > > future, as suggested by Floris).
> > >
> >
> > Looks this is the latest patch, which commit it is based on? Thanks
>
> I have a rebased version, if you're about it. Didn't posted it yet
> mostly since I'm in the middle of adapting it to the UniqueKeys from
> other thread. Would it be ok for you to wait a bit until I'll post
> finished version?
>

Sure, that's OK. The discussion on UniqueKey thread looks more complex
than what I expected, that's why I want to check the code here, but that's
fine,
you can work on your schedule.

--
Best Regards
Andy Fan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Cary Huang 2020-06-02 23:30:28 Re: Internal key management system
Previous Message Thomas Munro 2020-06-02 22:56:13 Re: race condition when writing pg_control