From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Performance of ByteA: ascii vs binary
Date: Thu, 21 Mar 2019 07:12:34 -0700
Message-ID: <e0ff1d45-2aff-4bbb-244e-358e8de65f5a@aklaver.com> (raw)
In-Reply-To: <9587.1553176173@sss.pgh.pa.us>
References: <c861b16d-29cb-47ee-6c22-e15f608928b6@thomas-guettler.de>
<20190319193727.34fgmdiipcxdgvn4@hjp.at>
<8edaa4a7-954d-61ad-9641-650ec5d7d643@thomas-guettler.de>
<20190321123536.rrhnfudjws3h5xny@hjp.at>
<9587.1553176173@sss.pgh.pa.us>
On 3/21/19 6:49 AM, Tom Lane wrote:
> "Peter J. Holzer" <hjp-pgsql@hjp.at> writes:
>> On 2019-03-20 13:20:57 +0100, Thomas Güttler wrote:
>>> Strange. I saw a big difference.
>>> What did you test?
>>> I tested inserts.
>
>> The graph with the quantiles was for selects.
>
> Hmm, so there are two different code paths being considered here
> -- the OP is apparently talking about the speed of bytea_in,
> while the rest of us have been thinking about bytea_out.
>
> The question about whether the text representation is hex or
> "escape" style still applies, though.
Yes, it would be nice to see the test code.
>
> regards, tom lane
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us, hjp-pgsql@hjp.at
Subject: Re: Performance of ByteA: ascii vs binary
In-Reply-To: <e0ff1d45-2aff-4bbb-244e-358e8de65f5a@aklaver.com>
References: <c861b16d-29cb-47ee-6c22-e15f608928b6@thomas-guettler.de> <20190319193727.34fgmdiipcxdgvn4@hjp.at> <8edaa4a7-954d-61ad-9641-650ec5d7d643@thomas-guettler.de> <20190321123536.rrhnfudjws3h5xny@hjp.at> <9587.1553176173@sss.pgh.pa.us> <e0ff1d45-2aff-4bbb-244e-358e8de65f5a@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox