From: | Jinbao Chen <cjinbao(at)vmware(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Add table AM 'tid_visible' |
Date: | 2020-11-03 07:29:38 |
Message-ID: | 107F5954-F720-4D39-9071-2C8AB1B1CF7C@vmware.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Andres,
> Yea, it's something we should improve. Have you checked if this has
> performance impact for heap? Should we also consider planning costs?
Since the visibility map is very small, all pages of the visibility map will
usually reside in memory. The IO cost of accessing the visibility map can
be ignored. We should add the CPU cost of accessing visibility map. The
CPU cost of accessing visibility map is usually smaller than cpu_tuple_cost.
But Postgres does not have a Macro to describe such a small cost. Should
We add one?
> As far as I can tell you have not acually attached the patch.
Ah, forgot to upload the patch. Attach it below.
Attachment | Content-Type | Size |
---|---|---|
tid_visible-1.patch | application/octet-stream | 9.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2020-11-03 07:38:36 | Re: Split copy.c |
Previous Message | vignesh C | 2020-11-03 07:18:50 | Re: Log message for GSS connection is missing once connection authorization is successful. |