Re: repository size differences

From: Abhijit Menon-Sen <ams(at)toroid(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: repository size differences
Date: 2010-09-22 02:32:57
Message-ID: 20100922023257.GA15743@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2010-09-21 17:53:22 -0400, tgl(at)sss(dot)pgh(dot)pa(dot)us wrote:
>
> > Does anyone know offhand why the sizes are so different?
>
> Magnus did
> git gc --aggressive --prune
> during the conversion. I imagine it's the --aggressive that does it.

That's not it. I ran the same git gc command on my old repository, and
it didn't make any difference to the size. (I didn't try with a larger
window size, though.)

Oh well, it's probably just some problem with the older conversion, and
doesn't matter now. The number of commits ("git rev-list --all|wc -l")
is broadly similar (36848 old, 35978 new), as is the number of packed
objects (~383k old, ~387k new).

I'm certainly not complaining about git clone being twice as fast. :-)

-- ams

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2010-09-22 02:33:47 Re: Make tuples_per_page pr. table configureable.
Previous Message Hitoshi Harada 2010-09-22 02:21:01 Re: wip: functions median and percentile