Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism
Date
Msg-id CAM3SWZSuHVBywAxMS7o3hHCu-fPFQ=6t6Nf4M0nwc-Xeksp-Og@mail.gmail.com
Whole thread Raw
In response to Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism  (Andres Freund <andres@anarazel.de>)
Responses Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Wed, Aug 17, 2016 at 4:16 PM, Andres Freund <andres@anarazel.de> wrote:
>> Does anyone have any ideas on how to:
>>
>> 1). Directly address the reform_and_rewrite_tuple() bottleneck.
>
> What part of is actually the expensive bit? It does a whole lot of
> things. Forming/Deforming tuples, the hash lookups in
> rewrite_heap_tuple(), ...?

Perhaps the attached svg "flamegraph" will give you some idea. This is
based on the "perf cache-misses" event type.

--
Peter Geoghegan

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism
Next
From: Ian Barwick
Date:
Subject: Re: psql: tab completion for \l