Re: Hash Indexes

From: Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
Cc: Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hash Indexes
Date: 2016-09-13 12:11:01
Message-ID: cae97507-b285-b405-2af6-e2f0199d00d7@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/12/2016 10:42 PM, Amit Kapila wrote:
>>> The following script hangs on idx_val creation - just with v5, WAL patch
>>> not applied.
>>
>>
>> Are you sure it is actually hanging? I see 100% cpu for a few minutes but
>> the index eventually completes ok for me (v5 patch applied to today's
>> master).
>>
>
> It completed for me as well. The second index creation is taking more
> time and cpu, because it is just inserting duplicate values which need
> lot of overflow pages.
>

Yeah, sorry for the false alarm. It just took 3m45s to complete on my
machine.

Best regards,
Jesper

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-09-13 12:16:44 Re: Hash Indexes
Previous Message Amit Kapila 2016-09-13 11:41:53 Re: Write Ahead Logging for Hash Indexes