pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Schmitz <schmitz@occamlabs.de>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: bytea performance tweak
Date: Thu, 23 Jun 2011 12:06:16 +0200
Message-ID: <20110623100616.GA14152@summalogicae.occamlabs.local> (raw)
In-Reply-To: <BANLkTimO_hQFR-5DwL5dZsMdS3XxD=WWQQ@mail.gmail.com>
References: <20110621130713.GB3919@summalogicae.occamlabs.local>
	<BANLkTimryw=Sm5q4v53PQNkdi+RjAfgJBA@mail.gmail.com>
	<20110622141711.GA2652@summalogicae.occamlabs.local>
	<BANLkTimO_hQFR-5DwL5dZsMdS3XxD=WWQQ@mail.gmail.com>

Oliver Jowett wrote:

Hi,

> On 23 June 2011 02:17, Andreas Schmitz <schmitz@occamlabs.de> wrote:
> 
> > I was wondering why the protocol uses such an encoding anyway. Wouldn't
> > it be a lot faster just sending the bytes as they are?
> 
> We can request binary-format data, which for bytea is indeed just the
> raw bytes, but the problem is that it's all or nothing: if we request
> binary data we have to handle binary results for all datatypes, not
> just bytea (because the request is per-column and generally the driver
> doesn't know the column type at the point it makes the request)
> Some progress has been made with that, but it's not production-ready
> yet I think.

ok, understood. Is there a timeline for fully supporting the binary
protocol?

Best regards, Andreas

Attachments:

  signature.asc (application/pgp-signature, 197B) download

view thread (17+ messages)  latest in thread

Message-ID: <20110623100616.GA14152@summalogicae.occamlabs.local>
Permalink:  ../20110623100616.GA14152@summalogicae.occamlabs.local/
Also on:    postgresql.org/message-id/20110623100616.GA14152@summalogicae.occamlabs.local

 · 

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-jdbc@postgresql.org
  Cc: schmitz@occamlabs.de, oliver@opencloud.com
  Subject: Re: bytea performance tweak
  In-Reply-To: <20110623100616.GA14152@summalogicae.occamlabs.local>
  References: <20110621130713.GB3919@summalogicae.occamlabs.local> <BANLkTimryw=Sm5q4v53PQNkdi+RjAfgJBA@mail.gmail.com> <20110622141711.GA2652@summalogicae.occamlabs.local> <BANLkTimO_hQFR-5DwL5dZsMdS3XxD=WWQQ@mail.gmail.com> <20110623100616.GA14152@summalogicae.occamlabs.local>

* 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