pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 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 09:49:33 -0400
Message-ID: <9587.1553176173@sss.pgh.pa.us> (raw)
In-Reply-To: <20190321123536.rrhnfudjws3h5xny@hjp.at>
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>

"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.

			regards, tom lane




view thread (9+ messages)  latest in thread

Message-ID: <9587.1553176173@sss.pgh.pa.us>
Permalink:  ../9587.1553176173@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9587.1553176173@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, hjp-pgsql@hjp.at
  Subject: Re: Performance of ByteA: ascii vs binary
  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>

* 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