Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rqpfF-00EHlK-E9 for pgsql-general@arkaria.postgresql.org; Sun, 31 Mar 2024 07:31:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rqpfD-00Byh2-RS for pgsql-general@arkaria.postgresql.org; Sun, 31 Mar 2024 07:31:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rqpfD-00Bygu-Gr for pgsql-general@lists.postgresql.org; Sun, 31 Mar 2024 07:31:35 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rqpfA-007P0c-1d for pgsql-general@lists.postgresql.org; Sun, 31 Mar 2024 07:31:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description; bh=IjP5wT8prWp9DRPzy2U8DUU29rDeLR2ClViQ2EgVqYQ=; b=YOsZdlOgqZTMgMQIcpbMSJoZdH C/1OqvnzUJ8seA/c8/IK5WI5s4D4spJ48hrDqlkQ/1wy3r1GtcOg/pm3y/MwEX8/jM4o1F3coDr7z wkctEg3RWZZ4leA+E4GyIpgQmBqqtJcPGSi+FavL4uHi1H/hjnyTtpnpTaSsA1Icg498Sq9ELtnMa r8JQk8wPLLx3gSqrlJZhE03t6QnTU+GfUGovHDBKT3KYKvq5h5V0cgfsD0Rm9oSWUSBRdct90WNvy 8fgg8TIPukiavATAE3DEMSD3QMNEwnF6NPBIY4jpEKTeP3fiX6iQuuoqazDrULmwEJF29TPA56HTd QTVEm8AQ==; Received: from meldrar.postgresql.org ([87.238.57.231] helo=webmail.postgresql.org) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rqpf7-00HXsS-Je; Sun, 31 Mar 2024 07:31:31 +0000 MIME-Version: 1.0 Date: Sun, 31 Mar 2024 17:31:28 +1000 From: Justin Clift To: Alexander Farber Cc: pgsql-general@lists.postgresql.org Subject: Re: Please recommend postgresql.conf improvements for osm2pgsql loading Europe In-Reply-To: References: <98df75338710b3cb63817f3db532cdf6@postgresql.org> User-Agent: Roundcube Webmail/1.4.15 Message-ID: <6a4870642784586f6302605e677d0c03@postgresql.org> X-Sender: justin@postgresql.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-03-31 04:07, Alexander Farber wrote: > Turning fsync = off has resulted in no noticable build time reduction > for > my Dockerfile with OSM Europe data, but still thank you for the > suggestion! No worries. :) With this import you're doing, is it something that will be repeated a lot with the exact same data set, or is this a once off thing? If it's something that'll be repeated a lot (maybe part of some automated process?), then it might be worth making a backup / snapshot / something of the database after the import has completed. With a backup or snapshot in place (depends on the storage you're using), you could potentially load things from that backup / snapshot (etc) instead of having to do the import all over again each time. Regards and best wishes, Justin Clift