| From: | Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Subject: | Re: Cache Hash Index meta page. |
| Date: | 2017-01-13 04:41:54 |
| Message-ID: | CAD__OujdMO7WqhrNTZYk3XF7+jRi6JtQuLNFKDMpVPgm0oVvtw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Jan 11, 2017 at 12:46 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> Can we adapt the ad-hoc caching logic in hashbulkdelete() to work with
> this new logic? Or at least update the comments?
I have introduced a new function _hash_getcachedmetap in patch 11 [1] with
this hashbulkdelete() can use metapage cache instead of saving it locally.
[1] cache_hash_index_meta_page_11.patch
<https://www.postgresql.org/message-id/CAD__OuguwKqKeGFXLqs6D3fshTR83Zo6FrKd79DGVR17gJY+Tg@mail.gmail.com>
--
Thanks and Regards
Mithun C Y
EnterpriseDB: http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rushabh Lathia | 2017-01-13 05:22:48 | Re: Gather Merge |
| Previous Message | Mithun Cy | 2017-01-13 04:28:16 | Re: Cache Hash Index meta page. |