From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Inherited an 18TB DB & need to backup
Date: Sat, 16 May 2020 23:05:37 -0500
Message-ID: <26c4b31e-063d-40c5-d74d-6b13918845c6@gmail.com> (raw)
In-Reply-To: <686bfa77-069f-e65a-8fab-d982d7284c88@archidevsys.co.nz>
References: <cd2b1610-5656-7a43-14eb-48386fb50416@gmail.com>
<3E78DA08-175B-4D3D-B61F-8AF65786E155@gmail.com>
<777f67e9-1abe-3acd-e204-dce4371e8081@gmail.com>
<686bfa77-069f-e65a-8fab-d982d7284c88@archidevsys.co.nz>
On 5/16/20 3:30 PM, Gavin Flower wrote:
> On 17/05/2020 08:12, Ron wrote:
>> On 5/16/20 7:18 AM, Rob Sargent wrote:
>>>> O
>>>>> Another problem is storage devices fail. S3 storage lakes _should_ be
>>>>> checking your data integrity on a regular basis and possibly
>>>>> maintaining copies of it iin multiple locations so you're not
>>>>> vulnerable to a site disaster.
>>>> Tape FTW!!
>>> Or WTF Tape?? :)
>>
>> Tape is durable, long-lasting, high-density, under your control, can be
>> taken off-site (don't underestimate the bandwidth of a station wagon full
>> of tapes hurtling down the highway!) and -- with the proper software --
>> is multi-threaded.
>>
> Don't you mean multi-spooled??? :-)
That's a superset of multi-threaded IO.
> Fascinating problem. If the dump & load programs are designed to take a
> parameter for N drives for effective parallel operation, and N > 2, then
> things will run a lot faster.
>
> I can think of several ways the the data can be dumped in parallel, with
> various trade-offs. Would love to know how it's implemented in practice.
An OS with asynchronous, queued, non-blocking IO, and a programming language
with callbacks. OpenVMS has had it since since *at least* the early 1990s,
and probably mid-1980s. I remember backing up an Rdb/VMS database to 10
tape drives at the same time. Typically, though, we "only" used six tape
drives for that database, because we simultaneously backed up multiple
databases.
--
Angular momentum makes the world go 'round.
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: ronljohnsonjr@gmail.com
Subject: Re: Inherited an 18TB DB & need to backup
In-Reply-To: <26c4b31e-063d-40c5-d74d-6b13918845c6@gmail.com>
References: <cd2b1610-5656-7a43-14eb-48386fb50416@gmail.com> <3E78DA08-175B-4D3D-B61F-8AF65786E155@gmail.com> <777f67e9-1abe-3acd-e204-dce4371e8081@gmail.com> <686bfa77-069f-e65a-8fab-d982d7284c88@archidevsys.co.nz> <26c4b31e-063d-40c5-d74d-6b13918845c6@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