Changeset 25478 in project for release/4/ugarit/trunk/README.txt


Ignore:
Timestamp:
11/06/11 16:53:10 (10 years ago)
Author:
Alaric Snell-Pym
Message:

ugarit: Seemingly removed all the gdbm taint. Must remember to update the .meta to replace gdbm with sql-de-lite, though!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/ugarit/trunk/README.txt

    r25477 r25478  
    8282
    8383For most platforms, a max-logfile-size of 900000000 (900 MB) should suffice. For now, don't go much bigger than that on 32-bit systems until Chicken's `file-position` function is fixed to work with files >1GB in size.
    84 
    85 ### Old Logfile backend
    86 
    87 The old logfile backend works much like the original Venti system. It's append-only - you won't be able to delete old snapshots from a logfile archive, even when I implement deletion. It stores the archive in three files; one is a log of data blocks, one is a GDBM index that remembers where in the log each block resides, one is a GDBM of tags.
    88 
    89 This worked well, but exposed a bug in Chicken when dealing with files more than about a gigabyte on 32-bit platforms. I fixed that in short order, but it reminded me that some platforms don't like files larger than 2GB anyway, so I wrote a new logfile backend that splits the log file into chunks at a specified point. You probably want to use the new backend - the old backend is kept for compatability only.
    90 
    91 To set up an old logfile archive, just choose where to put the three files. It would be nice to put the index and tags on a different physical disk to the log, to reduce seeking.
    92 
    93 You can then refer to it using the following archive identifier:
    94 
    95       log "...logfile..." "...indexfile..." "...tagsfile..."
    96 
    97 Neither of the files need to exist in advance; Ugarit will create them.
    9884
    9985## Writing a ugarit.conf
Note: See TracChangeset for help on using the changeset viewer.