|From:||Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>|
|To:||Dmitry Dolgov <9erthalion6(at)gmail(dot)com>|
|Cc:||Andres Freund <andres(at)anarazel(dot)de>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>|
|Subject:||Re: Pluggable Storage - Andres's take|
|Views:||Raw Message | Whole Thread | Download mbox|
On Wed, Oct 31, 2018 at 9:34 PM Dmitry Dolgov <9erthalion6(at)gmail(dot)com> wrote:
> > On Mon, 29 Oct 2018 at 05:56, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
> >> This problem couldn't be reproduced on the master branch, so I've tried
> >> investigate it. It comes from nodeModifyTable.c:1267, when we've got
> >> HeapTupleInvisible as a result, and this value in turn comes from
> >> table_lock_tuple. Everything points to the new way of handling
> >> result from heap_update, when table_lock_tuple call was introduced.
> Since I
> >> don't see anything similar in the master branch, can anyone clarify why
> is this
> >> lock necessary here?
> > In the master branch code also, there is a tuple lock that is happening
> > EvalPlanQual() function, but pluggable-storage code, the lock is kept
> > and also function call rearrangements, to make it easier for the table
> > methods to provide their own MVCC implementation.
> Yes, now I see it, thanks. Also I can confirm that the attached patch
> this issue.
Thanks for the testing and confirmation.
> FYI, alongside with reviewing the code changes I've ran few performance
> (that's why I hit this issue with pgbench in the first place). In case of
> concurrecy so far I see small performance degradation in comparison with
> master branch (about 2-5% of average latency, depending on the level of
> concurrency), but can't really say why exactly (perf just shows barely
> noticeable overhead there and there, maybe what I see is actually a
Thanks for sharing your observation, I will also analyze and try to find
bottlenecks that are causing the overhead.
Here I attached the cumulative fixes of the patches, new API additions for
basic outline of the documentation.
|Next Message||Michael Paquier||2018-11-02 00:27:39||Re: pg_promote not marked as parallel-restricted in pg_proc.dat|
|Previous Message||Michael Paquier||2018-11-02 00:02:02||Re: INSTALL file|