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: 4FD75993.5020803@optionshouse.com (view raw or flat)
Thread:
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
312-444-8534
sthomas(at)optionshouse(dot)com

______________________________________________

See http://www.peak6.com/email_disclaimer/ 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-2014 The PostgreSQL Global Development Group