From: | Claudio Freire <klaussfreire(at)gmail(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>, Leonardo Francalanci <m_lists(at)yahoo(dot)it>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fast insertion indexes: why no developments |
Date: | 2013-11-12 22:54:40 |
Message-ID: | CAGTBQpZLvAvm449ZfRULgXj3ExW3ffNwpYUZum0mv20YJrAm3w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Nov 12, 2013 at 6:41 PM, Nicolas Barbier
<nicolas(dot)barbier(at)gmail(dot)com> wrote:
> (Note that K B-trees can be merged by simply scanning all of them
> concurrently, and merging them just like a merge sort merges runs.
> Also, all B-trees except for the first level (of size S) can be
> compacted 100% as there is no need to reserve space for further
> insertions in them.)
Unless you can guarantee strong correlation of index-order vs
physical-order, scanning multiple indexes in index-order will be quite
slow (random I/O).
On Tue, Nov 12, 2013 at 7:14 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> I still think we need to look at this from a query perspective though.
> We need to check whether there is a class of real world queries that
> are not well optimised by minmax indexes, or cannot be made to be in
> future releases. For example, large DELETEs from a table are almost
> trivially optimised for min max.
Only if you don't have a PK (or other index).
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2013-11-12 23:04:22 | Re: Clang 3.3 Analyzer Results |
Previous Message | Rohit Goyal | 2013-11-12 22:36:10 | Re: Information about Access methods |