Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ekz2B-0006E7-R9 for pgsql-general@arkaria.postgresql.org; Sun, 11 Feb 2018 21:19:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekz2A-0004IW-E8 for pgsql-general@arkaria.postgresql.org; Sun, 11 Feb 2018 21:19:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ekz29-0004IL-Vc for pgsql-general@lists.postgresql.org; Sun, 11 Feb 2018 21:19:38 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ekz26-00035K-KJ for pgsql-general@postgresql.org; Sun, 11 Feb 2018 21:19:37 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0811020A70; Sun, 11 Feb 2018 16:19:33 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Sun, 11 Feb 2018 16:19:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=NMFZKanLzcqTa9rwXscddErR4aJXt AgE6R60+uXARiA=; b=KiV8ktsTkJG0PetijX8EMaIZwDvuvJ8P19OaQTBevDja+ 3f7MQWtDiGOPSpfIqeAbk7Vg6cX/Qkrx1GPdoNLrqr90b8RP1WAi1YSJOKXTBH46 SmDIkEa1mDdCyTWSWseYNiJ8Ro6hWjRBcIdC+5zg3siMN0C3KfPJNC87LZYLwsBy 9adq1+3/Sjsup1qCzZJvMaj+YRgtk92I0ysbG6pLvNHVyMMaMJ3snmwd2Kq1aW+3 3c4nwQMzccdev1bnU33i80WSHWbyaAcuoD1yJPGfgDIOed0G9LoGkdHgLBjziRIk 8ct1HDUGXPc/Lk8+t5nycVf/HeTdB97I0EaqMHPnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=NMFZKa nLzcqTa9rwXscddErR4aJXtAgE6R60+uXARiA=; b=B54loHBCG2EXhBBtcDicVj 91fCy2zma0Isl+UIBw1Tm1uYl/edPvv2bEslsRTeGMvO4XLS/1PN/6PkMMl8Po/2 LqXVaGok9DeaZp3tR0aTTudPDSbXM2lAdroB4LrhA6xbof4zvOffSD02gAK5YN0z vobh9leyKEZM6MGhf3d85hxKWH8hSfBaAeIGN9u8SHxAVlfIXVgGPCcDzGmX5vFz c+Pgpq0pJy/t2JWsJsJsBzohiJWvcN+g8AqOdFBtsLbM1/OZD8snxItY82m2qI9Z A3Xhs6lTyf/7lvIAJhgqBIKLO6a71WqoWI01taZftC31VJlqfF3WhNJbETkYb9Sg == X-ME-Sender: Received: from [192.168.1.3] (71-212-36-41.tukw.qwest.net [71.212.36.41]) by mail.messagingengine.com (Postfix) with ESMTPA id 4CACB7E5CA; Sun, 11 Feb 2018 16:19:32 -0500 (EST) Subject: Re: New Copy Formats - avro/orc/parquet To: Nicolas Paris , Andres Freund Cc: Tomas Vondra , pgsql-general@postgresql.org 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> <20180211204126.i3sbze3dor2llxty@gmail.com> <20180211205345.47yvrxxodbfeyxk6@alap3.anarazel.de> <20180211205735.nt6auxazit42qmcs@gmail.com> From: Adrian Klaver Message-ID: <69a4a33f-c63d-a614-8687-c746ae015fb3@aklaver.com> Date: Sun, 11 Feb 2018 13:19:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180211205735.nt6auxazit42qmcs@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 02/11/2018 12:57 PM, Nicolas Paris wrote: > Le 11 févr. 2018 à 21:53, Andres Freund écrivait : >> On 2018-02-11 21:41:26 +0100, Nicolas Paris wrote: >>> I have also the storage and network transfers overhead in mind: >>> All those new formats are compressed; this is not true for current >>> postgres BINARY format and obviously text based format. By experience, >>> the binary format is 10 to 30% larger than the text one. On the >>> contrary, an ORC file can be up to 10 times smaller than a text base >>> format. >> >> That seems largely irrelevant when arguing about using PROGRAM though, >> right? >> > > Indeed those storage and network transfers are only considered versus > CSV/BINARY format. No link with PROGRAM aspect. > Just wondering what your time frame is on this? Asking because this would be considered a new feature and so would need to be added to a major release of Postgres. Currently work is going on for Postgres version 11 to be released(just a guess) late Fall 2018/early Winter 2019. The CommitFest(https://commitfest.postgresql.org/) for this release is currently approximately 3/4 of the way through. Not sure that new code could make it in at this point. This means it would be bumped to version 12 for 2019/2020. -- Adrian Klaver adrian.klaver@aklaver.com