Re: POC: Cache data in GetSnapshotData() - Mailing list pgsql-hackers

From Mithun Cy
Subject Re: POC: Cache data in GetSnapshotData()
Date
Msg-id CAD__Oui+d__xahR47DxMrDRBe_jebzdR1_O2hzcwnoF_xdqOkg@mail.gmail.com
Whole thread Raw
In response to Re: POC: Cache data in GetSnapshotData()  (Mithun Cy <mithun.cy@enterprisedb.com>)
Responses Re: POC: Cache data in GetSnapshotData()  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers


On Thu, Dec 17, 2015 at 3:15 AM, Mithun Cy <mithun.cy@enterprisedb.com> wrote:

> I have rebased the patch and tried to run pgbench.

> I see memory corruptions, attaching the valgrind report for the same.Sorry forgot to add re-based patch, adding the same now.

After some analysis I saw writing to shared memory to store shared snapshot
is not protected under exclusive write lock, this leads to memory corruptions.
I think until this is fixed measuring the performance will not be much useful.
--
Thanks and Regards
Mithun C Y

Attachment

pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: WIP: bloom filter in Hash Joins with batches
Next
From: David Rowley
Date:
Subject: Re: [PATCH] Equivalence Class Filters