Re: init_sequence spill to hash table

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: init_sequence spill to hash table
Date: 2013-11-15 05:47:18
Message-ID: CAApHDvoCgp70vOuQYKTfguMED__Qg7YYpGnzHSN0i2sUuBtjRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 15, 2013 at 3:03 AM, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com
> wrote
>
> I think that means that we should just completely replace the list with
> the hash table. The difference with a small N is lost in noise, so there's
> no point in keeping the list as a fast path for small N. That'll make the
> patch somewhat simpler.
> - Heikki
>

Attached is a much more simple patch which gets rid of the initial linked
list.

Attachment Content-Type Size
hashtab_seq_v0.2.patch application/octet-stream 4.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2013-11-15 05:47:32 Re: [PATCH] SQL assertions prototype
Previous Message Nigel Heron 2013-11-15 05:29:04 Re: stats for network traffic WIP