From: Nicolas Paris <niparisco@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@postgresql.org
Subject: Re: New Copy Formats - avro/orc/parquet
Date: Sun, 11 Feb 2018 21:00:12 +0100
Message-ID: <20180211200012.2agrfocyaf42td5v@gmail.com> (raw)
In-Reply-To: <20180211171653.nvb26tbu774tqgiy@alap3.anarazel.de>
References: <20180210151304.fonjztsynewldfba@gmail.com>
<78a8f0bd-4b6f-b791-b6ce-80b19e2b6d1b@aklaver.com>
<20180210153011.o2w3tdriqmwvahph@gmail.com>
<3274b427-fe3a-89fc-2302-52082bf817aa@2ndquadrant.com>
<20180211171653.nvb26tbu774tqgiy@alap3.anarazel.de>
> > That is true, but the question is how significant the overhead is. If
> > it's 50% then reducing it would make perfect sense. If it's 1% then no
> > one if going to be bothered by it.
>
> I think it's pretty clear that it's going to be way way much more than
> 1%.
Good news but not sure to anderstand why.
> It's trivial to construct cases where input parsing / output
> formatting takes the majority of the time.
Binary -> ORC
^
|
PROGRAM parsing/output formating on the fly> And a lot of that you're going to be able to avoid with binary formats.
Still the above diagram shows both parsing/formating step, isn't it ?
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: niparisco@gmail.com, andres@anarazel.de, tomas.vondra@2ndquadrant.com, adrian.klaver@aklaver.com
Subject: Re: New Copy Formats - avro/orc/parquet
In-Reply-To: <20180211200012.2agrfocyaf42td5v@gmail.com>
References: <20180210151304.fonjztsynewldfba@gmail.com> <78a8f0bd-4b6f-b791-b6ce-80b19e2b6d1b@aklaver.com> <20180210153011.o2w3tdriqmwvahph@gmail.com> <3274b427-fe3a-89fc-2302-52082bf817aa@2ndquadrant.com> <20180211171653.nvb26tbu774tqgiy@alap3.anarazel.de> <20180211200012.2agrfocyaf42td5v@gmail.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