Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jGXgm-0000HB-N3 for pgsql-general@arkaria.postgresql.org; Tue, 24 Mar 2020 00:45:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jGXgl-00074X-Id for pgsql-general@arkaria.postgresql.org; Tue, 24 Mar 2020 00:45:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jGXgk-00074Q-BA for pgsql-general@lists.postgresql.org; Tue, 24 Mar 2020 00:45:03 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGXgh-0006a1-E3 for pgsql-general@postgresql.org; Tue, 24 Mar 2020 00:45:01 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3E3BF5C01F5; Mon, 23 Mar 2020 20:44:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 23 Mar 2020 20:44:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=5 qIHwQRtEvTp+klR5+xxYnS4BKqOFgOrGde6Uk8h1VU=; b=VP9gJJh6mPPxnfKZj FRMj5hdj8UbwBGeMTFGsme7kMME596tmTzGX1NhFcxygXoNKEwk6FjTYupVsDUSA +K1n2N1Kbk4h5zEIu60bKGFZMcyYo0OKIaqtepLNjNM638sI+b4wB2cRI0zU49ME heC9Yz0mS83u7MNJTv8Km94OIsrY0XY5Q/fiNA740C0lJtILYUnqWNdg19uvkN3g EGVQOa1whQuPvFq23JDYu6GDaFIjz35N7eXC+A/Da9VADFdcCOIzMYyugxSaUDiG VQMhcemjee58Ba1mfhLPXpLS+Ej4DxORold5ToEgETv551e7HJVzqYsLhAmfsPOf twSEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=5qIHwQRtEvTp+klR5+xxYnS4BKqOFgOrGde6Uk8h1 VU=; b=4a+KK+Y2RfwBWdLub45TBDUNpJQSXn6zYNvz2KUagL9KLdIY6pd0TtOIA ZT6S5slyz2N+7JG2ehDHoq6UcqzbNv/TD+TKxRWMqTZhK9hwxufKrt6S/2KnbQ2L wnFPT9B80OKUfp1PZsXeyFpOo2zWwptVM2Lwgp4//nktZfIgb7K5imq+Tl9x68wS KbZX7W1NVB3mcilnLezo3chXtfRgJ2Lf/jcfE3mkS/LkBSsA5WB6OTDVGjjP8mIL 2YUUC1r5mUp8U4ZW6KdVle6wU2AjZG5yc11sb1OIlMj5IidgU+ewmEgIgL+fpLpU +0sfOfDs9IAGp8YePc1fQRP9fdurg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudegledgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuffhomhgrihhnpehpohhsthhgrhgvsh hqlhdqrghrtghhihhvvgdrohhrghenucfkphepjedurddvuddvrdduvdelrdduleefnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirg hnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id 3016F3280067; Mon, 23 Mar 2020 20:44:57 -0400 (EDT) Subject: Re: Loading 500m json files to database To: pinker , pgsql-general@postgresql.org References: <1584959088557-0.post@n3.nabble.com> <1585009593934-0.post@n3.nabble.com> From: Adrian Klaver Message-ID: <2e9da260-54a7-0da1-f3e8-ef8a53aa9470@aklaver.com> Date: Mon, 23 Mar 2020 17:44:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <1585009593934-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/23/20 5:26 PM, pinker wrote: > Hi, > json_parts it's just single table with 2 column: Well I misread that. > > Table "public.json_parts" > Column | Type | Collation | Nullable | Default > | Storage | Stats target | Description > -----------+---------+-----------+----------+----------------------------------------+----------+--------------+------------- > id | integer | | not null | > nextval('json_parts_id_seq'::regclass) | plain | | > json_data | jsonb | | | > > no indexes, constraints or anything else > > > > -- > Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html > > -- Adrian Klaver adrian.klaver@aklaver.com