Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMM83-00040E-1P for pgsql-general@arkaria.postgresql.org; Tue, 05 Dec 2017 22:55:55 +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 1eMM82-0006G9-CZ for pgsql-general@arkaria.postgresql.org; Tue, 05 Dec 2017 22:55:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eMM82-0006G0-1r for pgsql-general@lists.postgresql.org; Tue, 05 Dec 2017 22:55:54 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eMM7y-0005Gc-Vy for pgsql-general@lists.postgresql.org; Tue, 05 Dec 2017 22:55:52 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id vB5Mtkl13259 for ; Tue, 5 Dec 2017 14:55:46 -0800 Subject: Re: a back up question To: pgsql-general@lists.postgresql.org References: <001039C7-15DF-4A44-B0B9-3E100C9D68D3@northwestern.edu> <6E6ED72C-BCC2-4F67-AEAC-C501DF2CAC58@northwestern.edu> From: John R Pierce Message-ID: <3ffd93e7-32e9-928e-18be-f4039e77d8c3@hogranch.com> Date: Tue, 5 Dec 2017 14:55:41 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <6E6ED72C-BCC2-4F67-AEAC-C501DF2CAC58@northwestern.edu> Content-Type: multipart/alternative; boundary="------------ADDC459FA680E52EA4944F74" Content-Language: en-US X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------ADDC459FA680E52EA4944F74 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 12/5/2017 2:09 PM, Martin Mueller wrote: > Time is not really a problem for me, if we talk about hours rather > than days.  On a roughly comparable machine I’ve made backups of > databases less than 10 GB, and it was a matter of minutes.  But I know > that there are scale problems. Sometimes programs just hang if the > data are beyond some size.  Is that likely in Postgres if you go from > ~ 10 GB to ~100 GB?  There isn’t any interdependence among my tables > beyond  queries I construct on the fly, because I use the database in > a single user environment another factor is restore time.    restores have to create indexes.   creating indexes on multi-million-row tables can take awhile.  (hint, be sure to set maintenance_work_mem to 1GB before doing this!) -- john r pierce, recycling bits in santa cruz --------------ADDC459FA680E52EA4944F74 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 12/5/2017 2:09 PM, Martin Mueller wrote:
Time is not really a problem for me, if we talk about hours rather than days.  On a roughly comparable machine I’ve made backups of databases less than 10 GB, and it was a matter of minutes.  But I know that there are scale problems. Sometimes programs just hang if the data are beyond some size.  Is that likely in Postgres if you go from ~ 10 GB to ~100 GB?  There isn’t any interdependence among my tables beyond  queries I construct on the fly, because I use the database in a single user environment

another factor is restore time.    restores have to create indexes.   creating indexes on multi-million-row tables can take awhile.  (hint, be sure to set maintenance_work_mem to 1GB before doing this!)



-- 
john r pierce, recycling bits in santa cruz
--------------ADDC459FA680E52EA4944F74--