| From: | Peter Geoghegan <pg(at)heroku(dot)com> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism |
| Date: | 2016-08-17 23:23:29 |
| Message-ID: | CAM3SWZSuHVBywAxMS7o3hHCu-fPFQ=6t6Nf4M0nwc-Xeksp-Og@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Aug 17, 2016 at 4:16 PM, Andres Freund <andres(at)anarazel(dot)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 | Content-Type | Size |
|---|---|---|
| cache-misses-cluster-presorted-flamegraph.svg.gz | application/x-gzip | 73.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ian Barwick | 2016-08-17 23:24:17 | Re: psql: tab completion for \l |
| Previous Message | Andres Freund | 2016-08-17 23:16:35 | Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism |