Re: Creating objects manually and repack
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Aug 4, 2006, 17:29 UTC
- Message-ID
- <Pine.LNX.4.64.0608041027530.5167@g5.osdl.org>
- In-Reply-To
- <9e4733910608041017v235da03ocd3eeeb0ba0e259b@mail.gmail.com>
On Fri, 4 Aug 2006, Jon Smirl wrote:
> > I'll end up with 110,000 pack files. I suspect when I run repack over > that it is going to take 24hrs or more, but maybe not since everything > may be small enough to run in RAM.
You may definitely want to pack the pack-files together every once in a while. Doing so is not that hard: just list all the objects in all the pack-files you want to merge, which in turn is trivial from reading the index of the pack-files (and then you do want to do the filename, although you can just use the pack-file name if you want to).
But yeah, it's going to be expensive whatever you do. It's a big repo.
Linus