From: | Aidan Van Dyk <aidan(at)highrise(dot)ca> |
---|---|
To: | David Fetter <david(at)fetter(dot)org> |
Cc: | marcin mank <marcin(dot)mank(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <magnus(at)hagander(dot)net>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Allowing multiple concurrent base backups |
Date: | 2011-01-12 15:22:32 |
Message-ID: | AANLkTi=7_CkbuMVGzkOyOqjyp90Pn2XkMk9_r4xM3-LM@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Jan 12, 2011 at 10:15 AM, David Fetter <david(at)fetter(dot)org> wrote:
>> Considering that parallell base backups would be io-bound (or
>> network-bound), there is little need to actually run them in parallell
>
> That's not actually true. Backups at the moment are CPU-bound, and
> running them in parallel is one way to make them closer to I/O-bound,
> which is what they *should* be.
Remember, we're talking about filesystem base backups here. If you're
CPU can't handle a stream from disk -> network, byte for byte (maybe
encrypting it), then you've spend *WAAAAY* to much on your storage
sub-system, and way to little on CPU.
I can see trying to "parallize" the base backup such that each
table-space could be run concurrently, but that's about it.
> There are other proposals out there, and some work being done, to make
> backups less dependent on CPU, among them:
>
> - Making the on-disk representation smaller
> - Making COPY more efficient
>
> As far as I know, none of this work is public yet.
pg_dump is another story. But it's not related to base backups for
PIT Recovery/Replication.
a.
--
Aidan Van Dyk Create like a god,
aidan(at)highrise(dot)ca command like a king,
http://www.highrise.ca/ work like a slave.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-01-12 15:24:31 | Re: Allowing multiple concurrent base backups |
Previous Message | David Fetter | 2011-01-12 15:21:08 | Re: Allowing multiple concurrent base backups |