From: David Tweed <tweed314@yahoo.co.uk>
To: git@vger.kernel.org
Subject: Average size of git bookkeeping data (related to Using git as a general backup mechanism)
Date: Wed, 13 Dec 2006 19:31:49 +0000 (GMT) [thread overview]
Message-ID: <20061213193149.43284.qmail@web86909.mail.ukl.yahoo.com> (raw)
Hi,
This is in connection with the "Using git as a general backup mechanism" thread,
but on a different slant more along automatic versioning a subset of the files on the disc (to avoid
sucking in things like core files and particularly huge multimedia files). In this case I don't
want to discard old "backups" but just grow the chronological database. (Think a more selective version of
Plan 9's venti filesystem.)
How big is the "metadata" or "bookeeping data" in git related to a commit? (Eg, "around x bytes per changed file"
or "around x bytes per file being tracked (whether changed in the commit or not)" )
[I'm trying to get a feel for, if I switched to git, how much overhead would come from having a cron job automatically doing
a snapshot every hour (if anything has changed), plus manual snapshots at points where I want to feel "safeguarded".
I'm currently using my own simple, hacked together system for combined versioning/backups that does
this. Using naive tools that don't account for wastes space due to disk block size effects the data being
tracked is currently just under 9 months of acitvity on 2016 filenames with
17457599 bytes of data (ie, compressed version of their contents at various times) and 7838546 bytes
is "metadata", ie, 30 percent of the stored data is metadata. This is in a format using 6 bytes to associate a single blob of
contents to a filename (whether changed since last snapshot or not).]
Many thanks for any insight,
cheers, dave tweed
next reply other threads:[~2006-12-13 19:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-13 19:31 David Tweed [this message]
2006-12-14 0:02 ` Average size of git bookkeeping data (related to Using git as a general backup mechanism) Johannes Schindelin
2006-12-20 1:20 ` David Lang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061213193149.43284.qmail@web86909.mail.ukl.yahoo.com \
--to=tweed314@yahoo.co.uk \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox