Skip site navigation (1) Skip section navigation (2)

Re: Performance of pg_basebackup

From: Shaun Thomas <sthomas(at)optionshouse(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Performance of pg_basebackup
Date: 2012-06-12 15:00:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On 06/12/2012 09:57 AM, Magnus Hagander wrote:

> If you have a single tablespace you can have pg_basebackup write the
> output to stdout and then pipe that through pigz.

Yeah, I saw that. Unfortunately we have tiered storage and hence two 
tablespaces. :(

To be fair, my current process cheats by following symlinks. I haven't 
yet modified it to explicitly handle tablespaces. I'll probably just 
steal the directory method pg_basebackup uses until it can natively call 
an external compression program.

Thanks, Magnus!

Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604


See for terms and conditions related to this email

In response to

pgsql-performance by date

Next:From: Jeff JanesDate: 2012-06-12 15:33:12
Subject: Re: pg_dump and thousands of schemas
Previous:From: Magnus HaganderDate: 2012-06-12 14:57:38
Subject: Re: Performance of pg_basebackup

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group