Re: Backend memory dump analysis

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Backend memory dump analysis
Date: 2018-03-27 16:47:12
Message-ID: 21225.1522169232@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here's an updated patch that adjusts the output format per discussion:

- context identifier at the end of the line, so it's easier to see the
numbers

- identifiers truncated at 100 bytes, control characters replaced by
spaces

Also, I hacked things so that dynahash hash tables continue to print
the way they did before, since the hash table name is really what
you want to see there.

Sample output is same test case as last time (dump at end of plpgsql.sql
regression test script).

Barring objection I plan to push this shortly.

regards, tom lane

Attachment Content-Type Size
add-context-identifiers-2.patch text/x-diff 42.4 KB
sample-stats-output-2.txt text/plain 223.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2018-03-27 17:03:18 Re: [HACKERS] PATCH: multivariate histograms and MCV lists
Previous Message Damir Simunic 2018-03-27 16:42:12 Re: Proposal: http2 wire format