Re: Microvacuum support for Hash Index - Mailing list pgsql-hackers

From Ashutosh Sharma
Subject Re: Microvacuum support for Hash Index
Date
Msg-id CAE9k0PknWvdevLWHvbvVr6sxOSSB+7W0Ou35DMPuiHZAB-XiGA@mail.gmail.com
Whole thread Raw
In response to Re: Microvacuum support for Hash Index  (Jesper Pedersen <jesper.pedersen@redhat.com>)
Responses Re: Microvacuum support for Hash Index  (Jesper Pedersen <jesper.pedersen@redhat.com>)
Re: [HACKERS] Microvacuum support for Hash Index  (Jesper Pedersen <jesper.pedersen@redhat.com>)
List pgsql-hackers
Hi Jesper,

> Some initial comments.
>
> _hash_vacuum_one_page:
>
> +               END_CRIT_SECTION();
> +               _hash_chgbufaccess(rel, metabuf, HASH_READ, HASH_NOLOCK);
>
> The _hash_chgbufaccess() needs a comment.
>
> You also need a place where you call pfree for so->killedItems - maybe in
> hashkillitems().

Thanks for reviewing this patch. I would like to update you that this
patch has got dependency on a patch for concurrent hash index and WAL
log in hash index. So, till these two patches for hash index are not
stable I won't be able to share you a next version of patch for
supporting microvacuum in hash index.

With Regards,
Ashutosh Sharma
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: leoaaryan
Date:
Subject: Re: Shared memory estimation for postgres
Next
From: Craig Ringer
Date:
Subject: Re: [PATCH] Send catalog_xmin separately in hot standby feedback