Re: pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to
Date: 2017-09-19 20:25:31
Message-ID: 32707.1505852731@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andres Freund <andres(at)anarazel(dot)de> writes:
> Speedup pgstat_report_activity by moving mb-aware truncation to read side.

Looks like you're going to need to not depend on strnlen().

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-09-19 20:32:39 Re: pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to
Previous Message Andres Freund 2017-09-19 20:25:18 Re: pgsql: Make new crash restart test a bit more robust.