Re: [Pgbuildfarm-members] log archiving and copmpression

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgbuildfarm-members(at)pgfoundry(dot)org
Subject: Re: [Pgbuildfarm-members] log archiving and copmpression
Date: 2005-07-23 22:12:28
Message-ID: 20050723221228.GA27705@gp.word-to-the-wise.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: buildfarm-members

On Sat, Jul 23, 2005 at 05:34:05PM -0400, Andrew Dunstan wrote:
> I am looking at archiving and compressing the collected logs, in
> preparation for uploading the entire set to the server, to meet Tom
> Lane's request.
>
> A single uncompressed log set is nearly 700Kb on my test box, but
> collected and compressed using 'tar -z' it comes to about 56Kb. However,
> I don't know if every machine will have GNU tar with zlib compression
> available. Should I just go ahead and send individual files and not
> worry about bandwidth? Or is there a better portable solution?

gtar isn't necessarily available. I know some of my boxes (not in the
buildfarm now, but they may be soon) don't have it.

"tar cf - files | gzip >foo.tar.gz" is likely to be much more portable. There's
probably a machine out there that only has compress, but...

On the other hand, 700k is a little less than 4 seconds on a T1 or about
45 seconds on the lowest of low end DSL lines. I always try and save
bandwidth, but if this looks like it'll be a problem it's not a big deal.

Cheers,
Steve

In response to

Browse buildfarm-members by date

  From Date Subject
Next Message Jim C. Nasby 2005-07-23 22:14:26 Re: [Pgbuildfarm-members] log archiving and copmpression
Previous Message Andrew Dunstan 2005-07-23 21:53:34 Re: [Pgbuildfarm-members] log archiving and copmpression